mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-10 13:28:06 +00:00
nikugogoi
aabf9f8e15
* Implement data source templates * Remove optional param from wasm instantiate * Add all types for solidity to typescript mapping * Set contract address in context for data source templates * Implement block handlers for data source templates
149 lines
3.7 KiB
JSON
149 lines
3.7 KiB
JSON
[
|
|
{ "inputs": [], "stateMutability": "nonpayable", "type": "constructor" },
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint24",
|
|
"name": "fee",
|
|
"type": "uint24"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "int24",
|
|
"name": "tickSpacing",
|
|
"type": "int24"
|
|
}
|
|
],
|
|
"name": "FeeAmountEnabled",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "oldOwner",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "newOwner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "OwnerChanged",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "token0",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "address",
|
|
"name": "token1",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": true,
|
|
"internalType": "uint24",
|
|
"name": "fee",
|
|
"type": "uint24"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "int24",
|
|
"name": "tickSpacing",
|
|
"type": "int24"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"internalType": "address",
|
|
"name": "pool",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "PoolCreated",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "address", "name": "tokenA", "type": "address" },
|
|
{ "internalType": "address", "name": "tokenB", "type": "address" },
|
|
{ "internalType": "uint24", "name": "fee", "type": "uint24" }
|
|
],
|
|
"name": "createPool",
|
|
"outputs": [
|
|
{ "internalType": "address", "name": "pool", "type": "address" }
|
|
],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "uint24", "name": "fee", "type": "uint24" },
|
|
{ "internalType": "int24", "name": "tickSpacing", "type": "int24" }
|
|
],
|
|
"name": "enableFeeAmount",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [{ "internalType": "uint24", "name": "", "type": "uint24" }],
|
|
"name": "feeAmountTickSpacing",
|
|
"outputs": [{ "internalType": "int24", "name": "", "type": "int24" }],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "address", "name": "", "type": "address" },
|
|
{ "internalType": "address", "name": "", "type": "address" },
|
|
{ "internalType": "uint24", "name": "", "type": "uint24" }
|
|
],
|
|
"name": "getPool",
|
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "owner",
|
|
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [],
|
|
"name": "parameters",
|
|
"outputs": [
|
|
{ "internalType": "address", "name": "factory", "type": "address" },
|
|
{ "internalType": "address", "name": "token0", "type": "address" },
|
|
{ "internalType": "address", "name": "token1", "type": "address" },
|
|
{ "internalType": "uint24", "name": "fee", "type": "uint24" },
|
|
{ "internalType": "int24", "name": "tickSpacing", "type": "int24" }
|
|
],
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{ "internalType": "address", "name": "_owner", "type": "address" }
|
|
],
|
|
"name": "setOwner",
|
|
"outputs": [],
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
}
|
|
]
|