Skip to content

Commit d2fccaa

Browse files
committed
update interface
1 parent 9189c82 commit d2fccaa

File tree

1 file changed

+31
-26
lines changed

1 file changed

+31
-26
lines changed

packages/indexer/abis/AsyncSwapCSMM.ts

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ export const AsyncSwapCSMMAbi = [
436436
},
437437
{
438438
type: "function",
439-
name: "asyncOrders",
439+
name: "asyncOrder",
440440
inputs: [
441441
{
442442
name: "poolId",
@@ -463,6 +463,30 @@ export const AsyncSwapCSMMAbi = [
463463
],
464464
stateMutability: "view",
465465
},
466+
{
467+
type: "function",
468+
name: "asyncOrders",
469+
inputs: [
470+
{
471+
name: "poolId",
472+
type: "bytes32",
473+
internalType: "PoolId",
474+
},
475+
],
476+
outputs: [
477+
{
478+
name: "poolManager",
479+
type: "address",
480+
internalType: "contract IPoolManager",
481+
},
482+
{
483+
name: "algorithm",
484+
type: "address",
485+
internalType: "contract IAlgorithm",
486+
},
487+
],
488+
stateMutability: "view",
489+
},
466490
{
467491
type: "function",
468492
name: "beforeAddLiquidity",
@@ -1116,7 +1140,12 @@ export const AsyncSwapCSMMAbi = [
11161140
name: "isExecutor",
11171141
inputs: [
11181142
{
1119-
name: "owner",
1143+
name: "poolId",
1144+
type: "bytes32",
1145+
internalType: "PoolId",
1146+
},
1147+
{
1148+
name: "user",
11201149
type: "address",
11211150
internalType: "address",
11221151
},
@@ -1148,30 +1177,6 @@ export const AsyncSwapCSMMAbi = [
11481177
],
11491178
stateMutability: "view",
11501179
},
1151-
{
1152-
type: "function",
1153-
name: "setExecutor",
1154-
inputs: [
1155-
{
1156-
name: "owner",
1157-
type: "address",
1158-
internalType: "address",
1159-
},
1160-
{
1161-
name: "executor",
1162-
type: "address",
1163-
internalType: "address",
1164-
},
1165-
],
1166-
outputs: [
1167-
{
1168-
name: "",
1169-
type: "bool",
1170-
internalType: "bool",
1171-
},
1172-
],
1173-
stateMutability: "view",
1174-
},
11751180
{
11761181
type: "event",
11771182
name: "AsyncOrderFilled",

0 commit comments

Comments
 (0)