Skip to content
Verified contractPartial

Vyper_contract

Address0xeb21209ae4c2c9ff2a86aca31e123764a3b6bc06
Balance

0 ETH

 

Transactions

10,331

 

Compiler

vyper 0.1.0-beta.17

 

Same code

Only this contract

 

Details

Compiler
vyper 0.1.0-beta.17+commit.0671b7b
Language
vyper
EVM version
petersburg
License
Not stated
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
9,832,215
Creation transaction
0xf448941d16…7228f88ee4

Read5

  • calc_withdraw_one_coin(uint256,int128) → (uint256)
  • coins(int128) → (address)
  • underlying_coins(int128) → (address)
  • curve() → (address)
  • token() → (address)

Write6

  • add_liquidity(uint256[2],uint256)
  • remove_liquidity(uint256,uint256[2])
  • remove_liquidity_imbalance(uint256[2],uint256)
  • remove_liquidity_one_coin(uint256,int128,uint256)
  • remove_liquidity_one_coin(uint256,int128,uint256,bool)
  • withdraw_donated_dust()

ABI as JSON

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_coins",
        "type": "address[2]"
      },
      {
        "name": "_underlying_coins",
        "type": "address[2]"
      },
      {
        "name": "_curve",
        "type": "address"
      },
      {
        "name": "_token",
        "type": "address"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "gas": 90883,
    "name": "add_liquidity",
    "type": "function",
    "inputs": [
      {
        "name": "uamounts",
        "type": "uint256[2]"
      },
      {
        "name": "min_mint_amount",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "gas": 77006,
    "name": "remove_liquidity",
    "type": "function",
    "inputs": [
      {
        "name": "_amount",
        "type": "uint256"
      },
      {
        "name": "min_uamounts",
        "type": "uint256[2]"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "gas": 87829,
    "name": "remove_liquidity_imbalance",
    "type": "function",
    "inputs": [
      {
        "name": "uamounts",
        "type": "uint256[2]"
      },
      {
        "name": "max_burn_amount",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "gas": 2939630,
    "name": "calc_withdraw_one_coin",
    "type": "function",
    "inputs": [
      {
        "name": "_token_amount",
        "type": "uint256"
      },
      {
        "name": "i",
        "type": "int128"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "name": "remove_liquidity_one_coin",
    "type": "function",
    "inputs": [
      {
        "name": "_token_amount",
        "type": "uint256"
      },
      {
        "name": "i",
        "type": "int128"
      },
      {
        "name": "min_uamount",
        "type": "uint256"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "name": "remove_liquidity_one_coin",
    "type": "function",
    "inputs": [
      {
        "name": "_token_amount",
        "type": "uint256"
      },
      {
        "name": "i",
        "type": "int128"
      },
      {
        "name": "min_uamount",
        "type": "uint256"
      },
      {
        "name": "donate_dust",
        "type": "bool"
      }
    ],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "gas": 60973,
    "name": "withdraw_donated_dust",
    "type": "function",
    "inputs": [],
    "outputs": [],
    "payable": false,
    "constant": false
  },
  {
    "gas": 1080,
    "name": "coins",
    "type": "function",
    "inputs": [
      {
        "name": "arg0",
        "type": "int128"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "gas": 1110,
    "name": "underlying_coins",
    "type": "function",
    "inputs": [
      {
        "name": "arg0",
        "type": "int128"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "gas": 941,
    "name": "curve",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true
  },
  {
    "gas": 971,
    "name": "token",
    "type": "function",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address"
      }
    ],
    "payable": false,
    "constant": true
  }
]

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.