Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feat/1245-balancer-…
Browse files Browse the repository at this point in the history
…v2-multihop
  • Loading branch information
Verisana committed Sep 15, 2023
2 parents 5e21e5f + ca6167c commit fc05b1c
Show file tree
Hide file tree
Showing 41 changed files with 7,155 additions and 124 deletions.
250 changes: 250 additions & 0 deletions src/abi/algebra/AlgebraFactory-v1_1.abi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,250 @@
[
{
"inputs": [
{ "internalType": "address", "name": "_poolDeployer", "type": "address" },
{ "internalType": "address", "name": "_vaultAddress", "type": "address" }
],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "newFarmingAddress",
"type": "address"
}
],
"name": "FarmingAddress",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "uint16",
"name": "alpha1",
"type": "uint16"
},
{
"indexed": false,
"internalType": "uint16",
"name": "alpha2",
"type": "uint16"
},
{
"indexed": false,
"internalType": "uint32",
"name": "beta1",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint32",
"name": "beta2",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint16",
"name": "gamma1",
"type": "uint16"
},
{
"indexed": false,
"internalType": "uint16",
"name": "gamma2",
"type": "uint16"
},
{
"indexed": false,
"internalType": "uint32",
"name": "volumeBeta",
"type": "uint32"
},
{
"indexed": false,
"internalType": "uint16",
"name": "volumeGamma",
"type": "uint16"
},
{
"indexed": false,
"internalType": "uint16",
"name": "baseFee",
"type": "uint16"
}
],
"name": "FeeConfiguration",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "Owner",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "token0",
"type": "address"
},
{
"indexed": true,
"internalType": "address",
"name": "token1",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "pool",
"type": "address"
}
],
"name": "Pool",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "newVaultAddress",
"type": "address"
}
],
"name": "VaultAddress",
"type": "event"
},
{
"inputs": [],
"name": "baseFeeConfiguration",
"outputs": [
{ "internalType": "uint16", "name": "alpha1", "type": "uint16" },
{ "internalType": "uint16", "name": "alpha2", "type": "uint16" },
{ "internalType": "uint32", "name": "beta1", "type": "uint32" },
{ "internalType": "uint32", "name": "beta2", "type": "uint32" },
{ "internalType": "uint16", "name": "gamma1", "type": "uint16" },
{ "internalType": "uint16", "name": "gamma2", "type": "uint16" },
{ "internalType": "uint32", "name": "volumeBeta", "type": "uint32" },
{ "internalType": "uint16", "name": "volumeGamma", "type": "uint16" },
{ "internalType": "uint16", "name": "baseFee", "type": "uint16" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "tokenA", "type": "address" },
{ "internalType": "address", "name": "tokenB", "type": "address" }
],
"name": "createPool",
"outputs": [
{ "internalType": "address", "name": "pool", "type": "address" }
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "farmingAddress",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "owner",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "", "type": "address" },
{ "internalType": "address", "name": "", "type": "address" }
],
"name": "poolByPair",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "poolDeployer",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint16", "name": "alpha1", "type": "uint16" },
{ "internalType": "uint16", "name": "alpha2", "type": "uint16" },
{ "internalType": "uint32", "name": "beta1", "type": "uint32" },
{ "internalType": "uint32", "name": "beta2", "type": "uint32" },
{ "internalType": "uint16", "name": "gamma1", "type": "uint16" },
{ "internalType": "uint16", "name": "gamma2", "type": "uint16" },
{ "internalType": "uint32", "name": "volumeBeta", "type": "uint32" },
{ "internalType": "uint16", "name": "volumeGamma", "type": "uint16" },
{ "internalType": "uint16", "name": "baseFee", "type": "uint16" }
],
"name": "setBaseFeeConfiguration",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_farmingAddress",
"type": "address"
}
],
"name": "setFarmingAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "_owner", "type": "address" }
],
"name": "setOwner",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "_vaultAddress", "type": "address" }
],
"name": "setVaultAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "vaultAddress",
"outputs": [{ "internalType": "address", "name": "", "type": "address" }],
"stateMutability": "view",
"type": "function"
}
]
46 changes: 46 additions & 0 deletions src/abi/api3-proxy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[
{
"inputs": [],
"name": "api3ServerV1",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "dataFeedId",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "read",
"outputs": [
{
"internalType": "int224",
"name": "value",
"type": "int224"
},
{
"internalType": "uint32",
"name": "timestamp",
"type": "uint32"
}
],
"stateMutability": "view",
"type": "function"
}
]
Loading

0 comments on commit fc05b1c

Please sign in to comment.