Skip to content

Commit e890d11

Browse files
authored
Merge pull request #72 from balancer/quantamm-pool-rule-state
add quantamm pool rule state
2 parents 568778e + a563545 commit e890d11

File tree

11 files changed

+1347
-12
lines changed

11 files changed

+1347
-12
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[
2+
{
3+
"inputs": [
4+
{
5+
"internalType": "address",
6+
"name": "poolAddress",
7+
"type": "address"
8+
},
9+
{
10+
"internalType": "uint256",
11+
"name": "numberOfAssets",
12+
"type": "uint256"
13+
}
14+
],
15+
"name": "getIntermediateGradientState",
16+
"outputs": [
17+
{
18+
"internalType": "int256[]",
19+
"name": "",
20+
"type": "int256[]"
21+
}
22+
],
23+
"stateMutability": "view",
24+
"type": "function"
25+
}
26+
]
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[
2+
{
3+
"type": "function",
4+
"name": "getMovingAverages",
5+
"inputs": [
6+
{ "name": "poolAddress", "type": "address", "internalType": "address" },
7+
{ "name": "numberOfAssets", "type": "uint256", "internalType": "uint256" }
8+
],
9+
"outputs": [{ "name": "", "type": "int256[]", "internalType": "int256[]" }],
10+
"stateMutability": "view"
11+
},
12+
{
13+
"type": "function",
14+
"name": "movingAverages",
15+
"inputs": [
16+
{ "name": "", "type": "address", "internalType": "address" },
17+
{ "name": "", "type": "uint256", "internalType": "uint256" }
18+
],
19+
"outputs": [{ "name": "", "type": "int256", "internalType": "int256" }],
20+
"stateMutability": "view"
21+
}
22+
]

0 commit comments

Comments
 (0)