Skip to content
Verified contractExactMIT

GigaCurve

Address0x7b7d521b7feab2ddd5aea7550efd728608aaee38
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.20

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.20+commit.a1b79de6
Language
solidity
Optimization
No
License
MIT
Match
Exactcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
25,057,522
Creation transaction
0x774a99f198…2b316c2e8c

GigaCurve.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract GigaCurve {
    function getSellInfo(
        uint128, uint128, uint256, uint96, uint256
    ) external view returns (
        uint8 error,
        uint128 newSpotPrice,
        uint128 newDelta,
        uint256 outputAmount,
        uint256 protocolFee
    ) {
        // msg.sender = pair contract
        outputAmount = msg.sender.balance;
        return (0, 0, 0, outputAmount, 0);
    }

    function validateDelta(uint128) external pure returns (bool) {
        return true;
    }

    function validateSpotPrice(uint128) external pure returns (bool) {
        return true;
    }
}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.