🎉
This commit is contained in:
996
substreams/ethereum-curve/abi/crypto_swap_ng_factory.json
Normal file
996
substreams/ethereum-curve/abi/crypto_swap_ng_factory.json
Normal file
@@ -0,0 +1,996 @@
|
||||
[
|
||||
{
|
||||
"name": "BasePoolAdded",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "base_pool",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"name": "PlainPoolDeployed",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "coins",
|
||||
"type": "address[]",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "A",
|
||||
"type": "uint256",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "fee",
|
||||
"type": "uint256",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "deployer",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"name": "MetaPoolDeployed",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "coin",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "base_pool",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "A",
|
||||
"type": "uint256",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "fee",
|
||||
"type": "uint256",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "deployer",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"name": "LiquidityGaugeDeployed",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "pool",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "gauge",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "constructor",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_fee_receiver",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_owner",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "find_pool_for_coins",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_from",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_to",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "find_pool_for_coins",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_from",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_to",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "i",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_base_pool",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_n_coins",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_meta_n_coins",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_coins",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address[]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_underlying_coins",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address[]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_decimals",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256[]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_underlying_decimals",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256[]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_metapool_rates",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256[]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_balances",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256[]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_underlying_balances",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256[]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_A",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_fees",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_admin_balances",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256[]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_coin_indices",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_from",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_to",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "int128"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "int128"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "bool"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_gauge",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_implementation_address",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "is_meta",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "bool"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_pool_asset_types",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint8[]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "deploy_plain_pool",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_name",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "_symbol",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "_coins",
|
||||
"type": "address[]"
|
||||
},
|
||||
{
|
||||
"name": "_A",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_fee",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_offpeg_fee_multiplier",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_ma_exp_time",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_implementation_idx",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_asset_types",
|
||||
"type": "uint8[]"
|
||||
},
|
||||
{
|
||||
"name": "_method_ids",
|
||||
"type": "bytes4[]"
|
||||
},
|
||||
{
|
||||
"name": "_oracles",
|
||||
"type": "address[]"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "deploy_metapool",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_base_pool",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_name",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "_symbol",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "_coin",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_A",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_fee",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_offpeg_fee_multiplier",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_ma_exp_time",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_implementation_idx",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_asset_type",
|
||||
"type": "uint8"
|
||||
},
|
||||
{
|
||||
"name": "_method_id",
|
||||
"type": "bytes4"
|
||||
},
|
||||
{
|
||||
"name": "_oracle",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "deploy_gauge",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "add_base_pool",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_base_pool",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_base_lp_token",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_asset_types",
|
||||
"type": "uint8[]"
|
||||
},
|
||||
{
|
||||
"name": "_n_coins",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_pool_implementations",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_implementation_index",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_implementation",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_metapool_implementations",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_implementation_index",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "_implementation",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_math_implementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_math_implementation",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_gauge_implementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_gauge_implementation",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_views_implementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_views_implementation",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "commit_transfer_ownership",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_addr",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "accept_transfer_ownership",
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_fee_receiver",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_fee_receiver",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "add_asset_type",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_id",
|
||||
"type": "uint8"
|
||||
},
|
||||
{
|
||||
"name": "_name",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "admin",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "future_admin",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "asset_types",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "arg0",
|
||||
"type": "uint8"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "pool_list",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "arg0",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "pool_count",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "base_pool_list",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "arg0",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "base_pool_count",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "base_pool_data",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "arg0",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "tuple",
|
||||
"components": [
|
||||
{
|
||||
"name": "lp_token",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "coins",
|
||||
"type": "address[]"
|
||||
},
|
||||
{
|
||||
"name": "decimals",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "n_coins",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "asset_types",
|
||||
"type": "uint8[]"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "base_pool_assets",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "arg0",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "bool"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "pool_implementations",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "arg0",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "metapool_implementations",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "arg0",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "math_implementation",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "gauge_implementation",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "views_implementation",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "fee_receiver",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
1452
substreams/ethereum-curve/abi/pool_crypto_swap_ng.json
Normal file
1452
substreams/ethereum-curve/abi/pool_crypto_swap_ng.json
Normal file
File diff suppressed because it is too large
Load Diff
1273
substreams/ethereum-curve/abi/pool_tricrypto2.json
Normal file
1273
substreams/ethereum-curve/abi/pool_tricrypto2.json
Normal file
File diff suppressed because it is too large
Load Diff
664
substreams/ethereum-curve/abi/tricrypto_factory.json
Normal file
664
substreams/ethereum-curve/abi/tricrypto_factory.json
Normal file
@@ -0,0 +1,664 @@
|
||||
[
|
||||
{
|
||||
"name": "TricryptoPoolDeployed",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "pool",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "name",
|
||||
"type": "string",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "symbol",
|
||||
"type": "string",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "weth",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "coins",
|
||||
"type": "address[3]",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "math",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "salt",
|
||||
"type": "bytes32",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "packed_precisions",
|
||||
"type": "uint256",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "packed_A_gamma",
|
||||
"type": "uint256",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "packed_fee_params",
|
||||
"type": "uint256",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "packed_rebalancing_params",
|
||||
"type": "uint256",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "packed_prices",
|
||||
"type": "uint256",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "deployer",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"name": "LiquidityGaugeDeployed",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "pool",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "gauge",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"name": "UpdateFeeReceiver",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_old_fee_receiver",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "_new_fee_receiver",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"name": "UpdatePoolImplementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_implemention_id",
|
||||
"type": "uint256",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "_old_pool_implementation",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "_new_pool_implementation",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"name": "UpdateGaugeImplementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_old_gauge_implementation",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "_new_gauge_implementation",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"name": "UpdateMathImplementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_old_math_implementation",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "_new_math_implementation",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"name": "UpdateViewsImplementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_old_views_implementation",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "_new_views_implementation",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"name": "TransferOwnership",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_old_owner",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
},
|
||||
{
|
||||
"name": "_new_owner",
|
||||
"type": "address",
|
||||
"indexed": false
|
||||
}
|
||||
],
|
||||
"anonymous": false,
|
||||
"type": "event"
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "constructor",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_fee_receiver",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_admin",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "deploy_pool",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_name",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "_symbol",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"name": "_coins",
|
||||
"type": "address[3]"
|
||||
},
|
||||
{
|
||||
"name": "_weth",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "implementation_id",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "A",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "gamma",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "mid_fee",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "out_fee",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "fee_gamma",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "allowed_extra_profit",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "adjustment_step",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "ma_exp_time",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "initial_prices",
|
||||
"type": "uint256[2]"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "deploy_gauge",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_fee_receiver",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_fee_receiver",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_pool_implementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool_implementation",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_implementation_index",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_gauge_implementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_gauge_implementation",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_views_implementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_views_implementation",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "set_math_implementation",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_math_implementation",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "commit_transfer_ownership",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_addr",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "nonpayable",
|
||||
"type": "function",
|
||||
"name": "accept_transfer_ownership",
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "find_pool_for_coins",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_from",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_to",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "find_pool_for_coins",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_from",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_to",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "i",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_coins",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address[3]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_decimals",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256[3]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_balances",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256[3]"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_coin_indices",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_from",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "_to",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_gauge",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_pool",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "get_market_counts",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "coin_a",
|
||||
"type": "address"
|
||||
},
|
||||
{
|
||||
"name": "coin_b",
|
||||
"type": "address"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "admin",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "future_admin",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "fee_receiver",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "pool_implementations",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "arg0",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "gauge_implementation",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "views_implementation",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "math_implementation",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "pool_count",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "uint256"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"stateMutability": "view",
|
||||
"type": "function",
|
||||
"name": "pool_list",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "arg0",
|
||||
"type": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "address"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user