Git Product home page Git Product logo

okx-dex-aggregator-abi's Introduction

ABI interface files for the OKX DEX aggregator

ETH Contract Address

dexRouter: "0x3b3ae790Df4F312e745D270119c6052904FB6790",
tokenApprove: "0x40aA958dd87FC8305b97f2BA922CDdCa374bcD7f",

Adapters:

balancer: "0x2fa31d2ac017869998F9574bAC76094a8110cf7C",
balancerV2: "0x43c9361709bE9cE6B1E33ac31426b08dbC09e58a",
bancor: "0x7C443F4088c0a3a5DaEDA316762BcC389bD63b4D",
curve: "0x47B5BC2C49aD25dFa6d7363c5e9B28eF804e1185",
curveV2: "0xB2DC2da9684DfEF77CFa5c6bb07e733023715292",
kyber: "0x1c8875B6A9Df43256b244a7Ba4790F6A7185d8c9",
uniV2: "0xc837BbEa8C7b0caC0e8928f797ceB04A34c9c06e",
uniV3: "0x03F911AeDc25c770e701B8F563E8102CfACd62c0",
marketMaker: "0x55b35bF627944396f9950dD6BDdaDb5218110c76",
pmmAdapter: "0x19440199101Fb45882d06Ee432437eC89f406248",
DODOV1Adapter: "0x1d0524ad45399FD03f602666f1076C96608EfD28",
DODOV2Adapter: "0x56bd269DB96A089295D742351BA459FB0c279fe2",
SynapseAdapter: "0x073a34b3A50aC1C068390f5A03c827f8265E241d",
SaddleAdapter: "0x9631d2f87DD05500c3542D0ebc6E69fA94e6733D",
MstableAdapter: "0x92470640a2904467adc88a0b026DBc876a2160a4",
ShellAdapter: "0x6F9813c927C8bD794cC45E8eCd1DcB169691D9c3",
smoothyV1Adapter: "0x2b226DFA5cd9BEd2F3a171E8Df549d59588B52D0"
fraxswapAdapter: "0x3E3A17996BE66d9C011Be274f8E102cFED83B60E"
dnyAdapter: "0x031F1aD10547b8dEB43A36e5491c06A93812023a"
HashflowAdapter: "0xeEAF37958CE59aA12a2fa828cF618AA4f6778e47"
BalancerV2ComposableAdapter: "0xEB28E951bCDd01B8ea6Db2FF56797eAC96Abd804"
KyberElasticAdapter: "0xce1F9F9229F33B569D1d9bcE64FBA6D9788eF95A"
CurveAdapter(support nativetoken):  "0xade1E3B40B58E51df923cFBffCfb3502A5b07d1A"
NomiswapAdapter: "0x53eBB22Ef52f9Dde9d839739E60706e3ce5492eE"
psmAdapter: "0x0EabE3520c639F919876A6bE9A64859Dba15c437" (提案版本)
MultichainAdapter: "0xc0584164dD4Ebf73E703827B546275185D433573"
Curve3poolLPAdapter: "0x5b5Fbf91aFf1e10E829d8AEB5373767C20d736c5"
ClipperAdapter: "0x9aA3bA80352b47f133fbf1105aB583c71Cc74CFA"
LidoAdapter: "0x6452Be03441d71813e28c2eb244c44EEB494d3F7"
pancakeV3Adapter: 0xCBD78F8fb96baE40826A601F8B9ba17782d62527
aaveV2Adapter: 0xE91D8ADED9D832D1D20293645eCe3Ed44C0f080B
rocketpoolsAdapter: 0xD0B2a7c5f9321e038eEC9D9d9e0623923c1c02a7
1inchV1_1Adapter: 0xdc15db93aeb4f1655123e1823ee334f78754b90e
MaverickAdapter: 0x57df6092665eb6058DE53939612413ff4B09114E
CompoundV2Adapter: 0xEdBaB5dfAA165919Dfa94101c266e48c4e82D8Fd
MooniswapAdapter: 0xb1e4e25b1938c78ec0b21ccb2d6a0be60aa7e63f
CurveTNGAdapter: 0xbf71EBcfd56DcbAbb21d5da693F6dfecc9BDAe5E
integralAdapter: 0x09a191DE731c61a9fcc1E9c6759a7355B61AA2A3
XSigmaAdapter: 0x4ecED2f6Bf29c519f9410056bC9B6309c71992A7

ETHW Contract Address

tokenApprove: "0x40aA958dd87FC8305b97f2BA922CDdCa374bcD7f",
dexRouter: "0x3b3ae790Df4F312e745D270119c6052904FB6790",

Adapters:

dexRouter(Dev): "0x75cDBdD09B5c9e1D785e66A785918Cf0725F9b56",
balancer: "0x2fa31d2ac017869998F9574bAC76094a8110cf7C",
balancerV2: "0x43c9361709bE9cE6B1E33ac31426b08dbC09e58a",
bancor: "0x7C443F4088c0a3a5DaEDA316762BcC389bD63b4D",
curve: "0x47B5BC2C49aD25dFa6d7363c5e9B28eF804e1185",
curveV2: "0xB2DC2da9684DfEF77CFa5c6bb07e733023715292",
kyber: "0x1c8875B6A9Df43256b244a7Ba4790F6A7185d8c9",
uniV2: "0xc837BbEa8C7b0caC0e8928f797ceB04A34c9c06e",
uniV3: "0x03F911AeDc25c770e701B8F563E8102CfACd62c0",
marketMaker: "0x55b35bF627944396f9950dD6BDdaDb5218110c76",
pmmAdapter: "0x19440199101Fb45882d06Ee432437eC89f406248",
DODOV1Adapter: "0x1d0524ad45399FD03f602666f1076C96608EfD28",
DODOV2Adapter: "0x56bd269DB96A089295D742351BA459FB0c279fe2",
SynapseAdapter: "0x073a34b3A50aC1C068390f5A03c827f8265E241d",
SaddleAdapter: "0x9631d2f87DD05500c3542D0ebc6E69fA94e6733D",
MstableAdapter: "0x92470640a2904467adc88a0b026DBc876a2160a4",
ShellAdapter: "0x6F9813c927C8bD794cC45E8eCd1DcB169691D9c3",
smoothyV1Adapter: "0x2b226DFA5cd9BEd2F3a171E8Df549d59588B52D0"
fraxswapAdapter: "0x3E3A17996BE66d9C011Be274f8E102cFED83B60E"
dnyAdapter: "0xb3Df02AF5FbC5579D6D7eBfC4F0F70e7Ef126E52"

TRON Contract Address

dexrouter:
TDKG6QZLSWx416pb8PHmAMRyLr3JXTPvbC
0x24B3471FF199D4E23F286A541E9DDE82DFA5C5AB

TokenApprove:
THRAE2VhGNAcvPKtT96AqyXtSQwhiU1XL8
0x51b160bb02261c822b33e61c6b947f275144545e

Adapters:

WTRX:
TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR
0x891CDB91D149F23B1A45D9C5CA78A88D0CB44C18

uniV2Adapter:
TQBBr9Juw7MKDw7fthA3MNDkGzUEsbT7yb

POLYGON Contract Address

dexRouter: "0xA748D6573acA135aF68F2635BE60CB80278bd855",
tokenApprove: "0x3B86917369B83a6892f553609F3c2F439C184e31",

Adapters:

uniV2Adapter: "0x0112bc6fDB78345e612B862a6B388FfeB00E2320"
uniV3Adapter: "0x7a8f557916d99945eaF2f8763935A70BDc81f650"
balancerV2Adapter: "0xF956D032564530adb94a3ff9E60aAC87e7F3eB8D"
CurveAdapter: "0x15861a82BC25df2Ed7D4FC0E41Ca03bb4930472c"
CurveV2Adapter: "0x5C9e126D741938a3f37341160F20a982ea584e30"
MultichainAdapter: "0xa9ED3b2cF413C4f8988fE95A923B17cdDB4f432d"
quickswapv3Adapter: "0x67f1E92Ef101A78AA1229B24bc302d2ddAAbd26B"
dodoV1Adapter: "0x6aCb9be65CabbCCaf5a16722f0Aa75B2CC6Ad138"
dodoV2Adapter: "0x3BDa631e2cCA4c926790157AF7C4b0599d22618A"
WoofiAdapter:  "0xaE1aD15277E971d33aDf8172cb05dF5cFcbCbfa6"
IZumiAdapter: "0xA98DF73fA93B6dD994C83D661772d14d393dd87B"
solidlyseriesAdapter: "0x961C3Cf7229D84b5c61eE7c1037D0F851B7261D2"
tridentAdapter: "0x34f23C0d2427fB153dADA7F284bbD2a98Acaf632"
synapseAdapter: 0x41F1aA2Aa3F9A4d610E3C58609b67BEb96b09326
meshswapAdapter: 0x339e63b4CA123b6D5baD97057119c58e7EE7637b
mstableAdapter: 0xea55C34248aE508Da14aCfce96BE10cC32dC51D9
aavev2Adapter: 0xaf17d84ebaaed18fecf62299e3478a887c083e3d
IronswapAdapter: 0x515637B20F3E09d57a8258dd1756a51924F60118
clipperAdapter: 0xC6B66E0ada19eE59a18B91ea937e2351F45C8a58
CompoundAdapter: 0xABC7f0BEf82C4BF6A131758bbd92bdAFa63797DB
doppleAdapter: 0x56e6983D59bF472Ced0E63966A14d94A3A291589
DfxAdapter: 0x6667C8dC9fBFeC411E7C1EE2b24DE960149f930f

AVAX Contract Address

tokenApprove: "0x40aA958dd87FC8305b97f2BA922CDdCa374bcD7f",
dexRouter: "0x1daC23e41Fc8ce857E86fD8C1AE5b6121C67D96d",

Adapters:

uniV2: "0x078b9259b4dc543eCa8F85A70d4635F403238D21"
GMXAdapter: "0xbF1840d0dB54357287Cf0736A1426Ea93321B0F7"
dnyFeeAdapter: "0x47B5BC2C49aD25dFa6d7363c5e9B28eF804e1185"
CurveAdapter: "0xB2DC2da9684DfEF77CFa5c6bb07e733023715292"
CurveV2Adapter: "0x1c8875B6A9Df43256b244a7Ba4790F6A7185d8c9"
KyberAdapter: "0x03F911AeDc25c770e701B8F563E8102CfACd62c0"
KyberElasticAdapter: "0xc837BbEa8C7b0caC0e8928f797ceB04A34c9c06e"
MultichainAdapter: "0xd57d71A16D850038e7266E3885140A7E7d1Ba3fD"
TraderJoeV2Adapter: "0x785fa2f73989d9a3E09476b948ED4268A7A2BB79"
dodoV1Adapter: "0xe605574Eaba16dEf557188E3b5cb435F2578fCa5"
dodoV2Adapter: "0x1a738e2abfb3013cF9Cb4652aCC2d01F7932284d"
WoofiAdapter: "0x8009858707810928CCe2c3526B78A4Eb8043888c"
SynapseAdapter: 0xFb78AfF8B1744533db49cdE2Faea5B944bfC6D79
PlatypusAdapter: 0x777d501b0Cc4497ac2BDDB66a3D222e190DF509f
aaveV2Adapter: 0x0b30db38f7eAd65Aba0aaF746dC285233117836a
IronswapAdapter: 0x8CDaE78B840Ec9a79e1252e8A3ddf97fa109134A
axialAdapter: 0xABC7f0BEf82C4BF6A131758bbd92bdAFa63797DB
NerveFinanceAdapter: 0x56e6983D59bF472Ced0E63966A14d94A3A291589
TraderJoeV2P1Adapter: 0x6667C8dC9fBFeC411E7C1EE2b24DE960149f930f

FTM Contract Address

dexRouter: "0xf332761c673b59B21fF6dfa8adA44d78c12dEF09",
tokenApprove: "0x70cBb871E8f30Fc8Ce23609E9E0Ea87B6b222F58",

Adapters:

uniV2: "0x808ca026D4c45d6A41c1e807c41044480b7699eF"
dnyAdapter: "0xEb81787477b4f29b1989538589e9D11b9043Ab59"
CurveAdapter: "0x98b7597F02CC38E8aF02fBE8E68f2D15D33214bB"
CurveV2Adapter: "0x8E6fC20A0570da9204A7a87bE8e5f848040Dc0B4"
KyberAdapter: "0x298E0197e36aE199a7cbc40fdAed8289e7128038"
KyberElasticAdapter: "0x172FfEB0AE118fA500fa6b4ceBAbfD72f4CdD84F"
MultichainAdapter: "0x2fa31d2ac017869998F9574bAC76094a8110cf7C"
WoofiAdapter: "0x8cBf17E3c9084809e1786E5a52834699B67C8038"
SolidlySeriesAdapter: "0xe605574Eaba16dEf557188E3b5cb435F2578fCa5"
mummyAdapter: "0x504795369308903e773eB5AB684847512Aa2Ad77"
saddleAdapter: "0xFc1387e7AF2f476BFF03BdBe8562eE4A0d955200"
synapseAdapter: 0xC48814169C7AC574579D680F49c3784A657CA493
beethovenAdapter: 0x1ed4ae8Dce02A398465BB276aBF114Ce06f424eB
IronswapAdapter: 0x82b0EC4A17520C56C8dB9887532f92e924507989

ARB Contract Address

dexRouter: "0xf332761c673b59B21fF6dfa8adA44d78c12dEF09",
tokenApprove: "0x70cBb871E8f30Fc8Ce23609E9E0Ea87B6b222F58",

Adapters:

uniV2Adapter: "0x808ca026D4c45d6A41c1e807c41044480b7699eF",
uniV3Adapter: "0x443EF018e182d409bcf7f794d409bCea4C73C2C7"
CameplotAdapter: "0xBbfeB05E692ac508f0338733AbEccb1a5a4d91C1"
ZyberStableAdapter: "0xDE325eE6ee194EE899C016df583dCc061c7443Fd"
GMXAdapter: "0xBD3C2295907f9EA3EA6E8C79cCba52b2dB70ED05"
dnyFeeAdapter: "0x0D203Ec3fE6F521cf923C6D399b02b3010B44d5D"
balancerV2Adapter: "0xEb81787477b4f29b1989538589e9D11b9043Ab59"
CurveAdapter: "0x98b7597F02CC38E8aF02fBE8E68f2D15D33214bB"
CurveV2Adapter: "0x8E6fC20A0570da9204A7a87bE8e5f848040Dc0B4"
ZyberV3Adapter: "0x2fa31d2ac017869998F9574bAC76094a8110cf7C"
MultichainAdapter: "0x43c9361709bE9cE6B1E33ac31426b08dbC09e58a"
TraderJoeV2Adapter: "0xbF1840d0dB54357287Cf0736A1426Ea93321B0F7"
dodoV1Adapter: "0x1c8875B6A9Df43256b244a7Ba4790F6A7185d8c9"
dodoV2Adapter: "0x47B5BC2C49aD25dFa6d7363c5e9B28eF804e1185"
WoofiAdapter:  "0xb0CB12D5783617728b2dC79b8A75f99c1fcbe618"
IZumiAdapter: "0xbC1258cE5FE29d2Cd76F686F3A2Ac92bf1c6EbF0"
SolidlyseriesAdapter: "0xb06a44aA660537fB3f6482d65FF5b0c7d58Dc1Eb"
tridentAdapter: "0xE297672b8E3d4DA732e3DA7e4cE2265177633fFb"
saddleAdapter: "0x81d6C243be48d907324D7b954870419887fD4183"
SynapseAdapter: 0x363FB85314c5d7BAF27e9e5AC3b6E8bDa9ae9b85
wombatAdapter:  0xFd3C5EB7BE94a5bCBDe477528f036D8dAbfa46B9
clipperAdapter: 0xa4fE4186A4fec7Fbc1Af332e2F4e10beb96d011B
DfxAdapter: 0xabc7f0bef82c4bf6a131758bbd92bdafa63797db
HashFlowAdapter: 0xf3964a4Ba7371E4C44aADFAc679cE9ba8B6AdC66
TraderJoeV2P1Adapter: 0x6667C8dC9fBFeC411E7C1EE2b24DE960149f930f
ChronosAdapter: 0x21fD4D4e056E8022Eb13898D75F75670e16DfDC4

OP Contract Address

dexRouter: "0xf332761c673b59B21fF6dfa8adA44d78c12dEF09",
tokenApprove: "0x68D6B739D2020067D1e2F713b999dA97E4d54812",

uniV2: "0x808ca026D4c45d6A41c1e807c41044480b7699eF",
uniV3: "0x443EF018e182d409bcf7f794d409bCea4C73C2C7"
dnyAdapter: "0x98b7597F02CC38E8aF02fBE8E68f2D15D33214bB"
CurveAdapter: "0x298E0197e36aE199a7cbc40fdAed8289e7128038"
CurveV2Adapter: "0x2fa31d2ac017869998F9574bAC76094a8110cf7C"
balancerV2Adapter: "0x43c9361709bE9cE6B1E33ac31426b08dbC09e58a"
MultichainAdapter: "0xbF1840d0dB54357287Cf0736A1426Ea93321B0F7"
WoofiAdapter: "0x81E3d4a5826a34f06065FAf16a532bA2D471CB8E"
SolidlyseriesAdapter: "0x7e736b913275702991e5859Bd5A75D0A8F317C90"
tridentAdapter: "0x781ed5B8233394eAa56bFA7233C1aDFeA3C93FCC"
mummyAdapter: "0x02ee3c51b000FD07AF5643244d0DB4e2b2Ac3d9f"
SynapseAdapter: 0xFd3C5EB7BE94a5bCBDe477528f036D8dAbfa46B9
clipperAdapter: 0xD35f165c03A27d21da5D7F5096Fd66668D5dFFA0
saddleAdapter: 0xABC7f0BEf82C4BF6A131758bbd92bdAFa63797DB

CRO Contract Address

tokenApprove: "0x70cbb871e8f30fc8ce23609e9e0ea87b6b222f58",
dexRouter: "0xf332761c673b59B21fF6dfa8adA44d78c12dEF09",

uniV2Adapter: "0x443EF018e182d409bcf7f794d409bCea4C73C2C7"
IZumiAdapter: 0x9EA2d43A55F4E6674FBf8DEe75e3C1506c4C3c83

BNBChain Contract Address

tokenApprove: "0x2c34A2Fb1d0b4f55de51E1d0bDEfaDDce6b7cDD6",
dexRouter: "0x9333C74BDd1E118634fE5664ACA7a9710b108Bab",

Adapters:

uniV2Adapter: "0x363FB85314c5d7BAF27e9e5AC3b6E8bDa9ae9b85",
uniV3Adapter: "0xAe7fCEf300495de4aFDa82c1A369fa312b0ED9b8"
bakeryAdapter: "0xeB1426f967D9642317148b401EbB6a687E1a174a",
kyberAdapter: "0x595Da5C1b445493f5C5dB7fb8813de594c760bee",
pancakeAdapter: "0x1cB017EC34cCD9B808e4F125163807885AB70338",
marketMaker:  "0x478c2F5B9b7a4C24b5F7D4c4f727dBC67D2f8382",
pmmAdapter:  "0x51A66d4ec8Df5eF8Fc7915fe64c4cb070FA8e8a7",
DODOV1Adapter: "0x1d0524ad45399FD03f602666f1076C96608EfD28",
DODOV2Adapter: "0x9631d2f87DD05500c3542D0ebc6E69fA94e6733D",
SynapseAdapter: "0x92470640a2904467adc88a0b026DBc876a2160a4",
EllipsisAdapter: "0x6F9813c927C8bD794cC45E8eCd1DcB169691D9c3",
WombatAdapter: "0xd4Bbd03e18A6102D267B003e7CCad6BD78669248"
smoothyV1Adapter: "0x471418aA966f5ef906A319D2ceF14b81a181cCfA"
KyberAdapter: "0x4D8d82F269A2704867b6cAf58d6e8389e3066eC9"
KyberElasticAdapter: "0xe3bBF2FBdc2D4C1a9F9012294ddc6ADDe36C6C83"
nomiswapAdapter: "0x40B7c771c78B50D5bb4D191F9B1D58D12a201C0d"
MultichainAdapter: "0xC6703c539A76447cB8BF8B9210e91f7e474Eb68f"
PancakestableAdapter: "0xAA2F2CFb5439330AF9412698d1f232db3DB8A49B"
TraderJoeV2Adapter: "0x4EAFD2C510405151f284afeB4aC7Dd7602C92768"
WoofiAdapter: "0x781ed5B8233394eAa56bFA7233C1aDFeA3C93FCC"
IZumiAdapter "0xD35f165c03A27d21da5D7F5096Fd66668D5dFFA0"
solidlyseriesAdapter: "0x52f00F202A941f9B969690460f09A8853b889ea9"
tridentAdapter: "0xbC097C638094092C71daA5932C3df192283af1Ba"
NerveFinanceAdapter: "0x049C560cC466C2f74828A9c5b9338f9760493773"
doppleAdapter: 0x451723F4905E88348180D43366f1c817fcc39Aec
pancakeV3Adapter: 0xCa9326C4c307dc84e676E6c9C7095BDe2eFA981D
dnyAdapter: 0xA96A96669295e85aF046026bf714A26E84096889
acsiFinance: 0xa95E6797B0045dF37D13ea36F0FEa848dcb3a217
HashFlowAdapter: 0xABC7f0BEf82C4BF6A131758bbd92bdAFa63797DB
TraderJoeV2P1Adapter: 0x56e6983D59bF472Ced0E63966A14d94A3A291589
XSigmaAdapter: 0x6667C8dC9fBFeC411E7C1EE2b24DE960149f930f

OKC Contract Address

dexRouter: "0xf6Aab105CB9e66e03CAD2c2F3f8558242593385c",
tokenApprove: "0x70cBb871E8f30Fc8Ce23609E9E0Ea87B6b222F58",

Adapters:

uniV2: "0x5eAe840294c757e6fffE462e9C989944386613d4",
marketMaker:  "0x031F1aD10547b8dEB43A36e5491c06A93812023a",
pmmAdapter:  "0x4D8d82F269A2704867b6cAf58d6e8389e3066eC9",
MultichainAdapter: "0x6452Be03441d71813e28c2eb244c44EEB494d3F7"
dodoV2Adapter: "0xE3863f6A2E5144954d17b6A782407D441ADF4345"

Solana Contract Address

dexRouter: "4itxBe4qBAwhB9zpEAw31d7w8o7gTQscYpxhRtUemjF9",

Solana 系统 Contract Address

SystemProgram: "11111111111111111111111111111111",
TokenProgram: "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
AssociatedTokenAccountProgram: "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",
WrappedSOL: "So11111111111111111111111111111111111111112",

Aptos Contract Address

unxswap: f5254f476f8fd704b6051fcb85c43a84c4d13fb92c22b7cd3b8bd79d3b3b24bd

Adapters

pancake adapter: 2a74a848503cb5d979f4691b3b75cca324f6b87bf6aea2da0e4cc91281353994
pontem_adapter: 2a74a848503cb5d979f4691b3b75cca324f6b87bf6aea2da0e4cc91281353994

Flare Contract Address

TokenApprove:0x808ca026D4c45d6A41c1e807c41044480b7699eF
DexRouter:0x078b9259b4dc543eCa8F85A70d4635F403238D21

ZkSync Contract Address

DexRouter: 0xb9061E38FeE7d30134F56aEf7117E2F6d1580666
TokenApprove: 0xc67879F4065d3B9fe1C09EE990B891Aa8E3a4c2f

TokenApproveProxy: 0xE7483a8A506B20872e6F19852B85815cBa24e47d
wNativeRelayer: 0xD637B1C601Aa80456268707d172E7b141B404c6f
proxyAdmin: 0xB09458c6CEd50785e783334AfA6220fA5f3DC67E

Adapters:

SyncSwapAdapter: 0xE9aAf7cE1a72Aa2E0a8b5Cbd7ED1Fc40d2e35158
MuteAdapter: 0xD6e73577bFDE0C7A818459f6c1A708d95E031810
DnyAdapter: 0x313EDdC6143Bd44A2a38f306CdceE5D164610093
MultichainAdapter: 0x15366227A6470B4c1b5cC82f191BcbA2c78e4658
SolidlyseriesAdapter: 0x6F3D9712dc86476a6B15d0B61F90F0Ed5DD31aA5
IZumiAdapter: 0xa49DD01Cefe9919c600235272Bc3277F4073572F
MaverickAdapter: 0x6b57a2Ce047D04BeE9E1137d799Aa510608Fc73e
IntergralAdapter:

Conflux Contract Address

DexRouter: 0x0112bc6fDB78345e612B862a6B388FfeB00E2320
tokenApprove: 0x68D6B739D2020067D1e2F713b999dA97E4d54812

wNativeToken: 0x14b2d3bc65e74dae1030eafd8ac30c533c976a9b
wNativeRelayer: 0x8CDDE82cFB4555D6ca21B5b28F97630265DA94c4

Adapters:

IZumiAdapter: "0x022fBeFfA9B0422F0A2Eab63A75533c48a13cC38"

Sui Contract Address

dexrouter:0xd54a307333ab8d9cf284c544dcfc13e31b0e3d0469e98e7d1dfd2c616dbab7c7

PolygonZKEVM

DexRouter: 0x6b2C0c7be2048Daa9b5527982C29f48062B34D58
tokenApprove: 0x57df6092665eb6058DE53939612413ff4B09114E

wNativeToken: 0x4F9A0e7FD2Bf6067db6994CF12E4495Df938E6e9
wNativeRelayer: 0xd2F0aC2012C8433F235c8e5e97F2368197DD06C7

Adapters

quickswapv3Adapter: 0xf304C7323D9101cd90c05696c97a4cF984A9f6A5

Manta

tokenApprove: "0x57df6092665eb6058DE53939612413ff4B09114E",
dexRouter: "0x6b2C0c7be2048Daa9b5527982C29f48062B34D58",

ApertureAdapter: 0x2E3329902b725bd1Ae774fB3dacBAe0626820Db4
IzumiAdapter: 0x4913Dd426Da1fE64B2915528b31CE8e69d1BFd43
Quickswapv3Adapter: 0x81E3d4a5826a34f06065FAf16a532bA2D471CB8E
PacificAdapter: 0x596481aab99df416d8e363d33517e502c020a75b

Metis

tokenApprove: "0x57df6092665eb6058DE53939612413ff4B09114E"
dexRouter: "0x6b2C0c7be2048Daa9b5527982C29f48062B34D58"

dnyAdapter:0x02D0131E5Cc86766e234EbF1eBe33444443b98a3
uniswapV3 adapter:0x8CDDE82cFB4555D6ca21B5b28F97630265DA94c4
SolidlyAdapter:0xd37EaF7d751087cAF2f7e61CEB7620e748429168
netswap adapter: 0x1672bf6CeFEaD677b720ceC58d77aFC0C11349fC
HermesAdapter: 0xb0CB12D5783617728b2dC79b8A75f99c1fcbe618

Zeta

tokenApprove: "0x03B5ACdA01207824cc7Bc21783Ee5aa2B8d1D2fE",
dexRouter: "0x0DaB5A5294AfAae76Ce990993fC10b896A01DBd1",

IzumiAdapter: 0xFc1387e7AF2f476BFF03BdBe8562eE4A0d955200
dnyadapter : 0xd7C2f6FB7336f01F9E65CC5e15fDD5f5B1F770F0

Blast

dexRouter: "0x2E86f54943faFD2cB62958c3deed36C879e3E944",
wNativeToken: "0x4300000000000000000000000000000000000004",
tokenApprove: "0x5fD2Dc91FF1dE7FF4AEB1CACeF8E9911bAAECa68",

dny adapter: 0x327E641153fE9D193dDAF762DE39AC8531A4bA31
uniV3 adapter: 0x4d08a6FE192bc9059c9Db5d9e9b33B12711F7966
AmbientAdapter deployed: 0x32CAa9DaF57b3f704E78187e6732799Eb95fcfae
RingSwapAdapter deployed: 0x2a4ce73c30f068027edA945484E70C05808FA854

Scroll

tokenApprove: "0x57df6092665eb6058DE53939612413ff4B09114E",
dexRouter: "0x6b2C0c7be2048Daa9b5527982C29f48062B34D58",

uniV2 adapter: 0x03B5ACdA01207824cc7Bc21783Ee5aa2B8d1D2fE
KyberElasticAdapter: 0xd37EaF7d751087cAF2f7e61CEB7620e748429168
IZumiAdapter: 0x4CD5e737D1aD509573f6924465168e54417F013E
SolidlyseriesAdapter: 0xb0CB12D5783617728b2dC79b8A75f99c1fcbe618
SyncswapAdapter:0x56e6983D59bF472Ced0E63966A14d94A3A291589
dodoV2Adapter: 0x0DaB5A5294AfAae76Ce990993fC10b896A01DBd1

Kronos PMM RFQ Address

Require Kronos' EOA address to authorize pmmProtocol

kronos pmmProtocol: 0xbcd0fCD2CEF53B927F7FA75F57D08c28862Ed975
kronosAdapter:0x1f19D3B6067625aa8BBAEB1500e363ef851A2378
kronos Adapter: 0x6667C8dC9fBFeC411E7C1EE2b24DE960149f930f

General PMM RFQ Address

General pmmProtocol: 0xf534a8a1cad0543cd6438f7534ca3486c01998d4
General Adapter: 0x3f7B48d5acafBA9793B6384912f568a1aBF78E9f

Refer Fee

event CommissionRecord(uint256 commitssonAmount, address referrerAddress);

https://etherscan.io/address/0x838A5832eB19CfCe692809f5b2DE44b15380CDA2#events

abi

[
  {
    "inputs": [],
    "name": "BadPool",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "EmptyPools",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "ForceApproveFailed",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "InvaldFeeRate",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "InvalidCanceller",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "InvalidFeeReceiver",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "InvalidFromAmount",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "InvalidMsgValue",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "InvalidToToken",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "MinReturnNotReached",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "OrderFinalizedAlready",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "errorCode",
        "type": "uint256"
      }
    ],
    "name": "PMMErrorCode",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "SafeTransferFailed",
    "type": "error"
  },
  {
    "inputs": [],
    "name": "SwapExpired",
    "type": "error"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "newAdmin",
        "type": "address"
      }
    ],
    "name": "AdminChanged",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "approveProxy",
        "type": "address"
      }
    ],
    "name": "ApproveProxyChanged",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint8",
        "name": "version",
        "type": "uint8"
      }
    ],
    "name": "Initialized",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "payer",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "address",
        "name": "operator",
        "type": "address"
      }
    ],
    "name": "OperatorChanged",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "fromToken",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "address",
        "name": "toToken",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "fromAmount",
        "type": "uint256"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "name": "OrderRecord",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "previousOwner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "OwnershipTransferred",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "_sender",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "_feeRateAndReceiver",
        "type": "uint256"
      }
    ],
    "name": "PMMFeeConfigChanged",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "protectedAmount",
        "type": "uint256"
      }
    ],
    "name": "PriceProtected",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "priorityAddress",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "bool",
        "name": "valid",
        "type": "bool"
      }
    ],
    "name": "PriorityAddressChanged",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "ender",
        "type": "address"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "pathIndex",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "payer",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "fromToken",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "toTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "salt",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "isPushOrder",
            "type": "bool"
          },
          {
            "internalType": "bytes",
            "name": "extension",
            "type": "bytes"
          }
        ],
        "indexed": false,
        "internalType": "struct PMMLib.PMMSwapRequest[]",
        "name": "orders",
        "type": "tuple[]"
      },
      {
        "indexed": false,
        "internalType": "uint256[]",
        "name": "remainings",
        "type": "uint256[]"
      }
    ],
    "name": "QuotesCancelled",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "id",
        "type": "uint256"
      }
    ],
    "name": "SwapOrderId",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "wNativeRelayer",
        "type": "address"
      }
    ],
    "name": "WNativeRelayerChanged",
    "type": "event"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "orderId",
        "type": "uint256"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "fromTokenAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minReturnAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "fromNative",
            "type": "bool"
          },
          {
            "internalType": "bool",
            "name": "toNative",
            "type": "bool"
          }
        ],
        "internalType": "struct PMMLib.PMMBaseRequest",
        "name": "baseRequest",
        "type": "tuple"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "pathIndex",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "payer",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "fromToken",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "toTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "salt",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "isPushOrder",
            "type": "bool"
          },
          {
            "internalType": "bytes",
            "name": "extension",
            "type": "bytes"
          }
        ],
        "internalType": "struct PMMLib.PMMSwapRequest",
        "name": "request",
        "type": "tuple"
      }
    ],
    "name": "PMMV2Swap",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "receiver",
        "type": "address"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "fromTokenAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minReturnAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "fromNative",
            "type": "bool"
          },
          {
            "internalType": "bool",
            "name": "toNative",
            "type": "bool"
          }
        ],
        "internalType": "struct PMMLib.PMMBaseRequest",
        "name": "baseRequest",
        "type": "tuple"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "pathIndex",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "payer",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "fromToken",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "toTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "salt",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "isPushOrder",
            "type": "bool"
          },
          {
            "internalType": "bytes",
            "name": "extension",
            "type": "bytes"
          }
        ],
        "internalType": "struct PMMLib.PMMSwapRequest",
        "name": "request",
        "type": "tuple"
      }
    ],
    "name": "PMMV2SwapByInvest",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "orderId",
        "type": "uint256"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "fromTokenAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minReturnAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "fromNative",
            "type": "bool"
          },
          {
            "internalType": "bool",
            "name": "toNative",
            "type": "bool"
          }
        ],
        "internalType": "struct PMMLib.PMMBaseRequest",
        "name": "baseRequest",
        "type": "tuple"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "pathIndex",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "payer",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "fromToken",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "toTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "salt",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "isPushOrder",
            "type": "bool"
          },
          {
            "internalType": "bytes",
            "name": "extension",
            "type": "bytes"
          }
        ],
        "internalType": "struct PMMLib.PMMSwapRequest",
        "name": "request",
        "type": "tuple"
      }
    ],
    "name": "PMMV2SwapByXBridge",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_ADDRESS_MASK",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_APPROVE_PROXY",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_REVERSE_MASK",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_WETH",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "_WNATIVE_RELAY",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "admin",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "approveProxy",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "pathIndex",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "payer",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "fromToken",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "toTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "salt",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "isPushOrder",
            "type": "bool"
          },
          {
            "internalType": "bytes",
            "name": "extension",
            "type": "bytes"
          }
        ],
        "internalType": "struct PMMLib.PMMSwapRequest[]",
        "name": "orders",
        "type": "tuple[]"
      }
    ],
    "name": "cancelQuotes",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "feeRateAndReceiver",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "initialize",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_feeRateAndReceiver",
        "type": "uint256"
      }
    ],
    "name": "initializePMMRouter",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "operator",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "name": "orderRemaining",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "owner",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "priorityAddresses",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "renounceOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newApproveProxy",
        "type": "address"
      }
    ],
    "name": "setApproveProxy",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_operator",
        "type": "address"
      }
    ],
    "name": "setOperator",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "_feeRateAndReceiver",
        "type": "uint256"
      }
    ],
    "name": "setPMMFeeConfig",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_priorityAddress",
        "type": "address"
      },
      {
        "internalType": "bool",
        "name": "valid",
        "type": "bool"
      }
    ],
    "name": "setPriorityAddress",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_newAdmin",
        "type": "address"
      }
    ],
    "name": "setProtocolAdmin",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "relayer",
        "type": "address"
      }
    ],
    "name": "setWNativeRelayer",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "fromToken",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minReturnAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          }
        ],
        "internalType": "struct DexRouter.BaseRequest",
        "name": "baseRequest",
        "type": "tuple"
      },
      {
        "internalType": "uint256[]",
        "name": "batchesAmount",
        "type": "uint256[]"
      },
      {
        "components": [
          {
            "internalType": "address[]",
            "name": "mixAdapters",
            "type": "address[]"
          },
          {
            "internalType": "address[]",
            "name": "assetTo",
            "type": "address[]"
          },
          {
            "internalType": "uint256[]",
            "name": "rawData",
            "type": "uint256[]"
          },
          {
            "internalType": "bytes[]",
            "name": "extraData",
            "type": "bytes[]"
          },
          {
            "internalType": "uint256",
            "name": "fromToken",
            "type": "uint256"
          }
        ],
        "internalType": "struct DexRouter.RouterPath[][]",
        "name": "batches",
        "type": "tuple[][]"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "pathIndex",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "payer",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "fromToken",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "toTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "salt",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "isPushOrder",
            "type": "bool"
          },
          {
            "internalType": "bytes",
            "name": "extension",
            "type": "bytes"
          }
        ],
        "internalType": "struct PMMLib.PMMSwapRequest[]",
        "name": "extraData",
        "type": "tuple[]"
      },
      {
        "internalType": "address",
        "name": "to",
        "type": "address"
      }
    ],
    "name": "smartSwapByInvest",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "orderId",
        "type": "uint256"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "fromToken",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minReturnAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          }
        ],
        "internalType": "struct DexRouter.BaseRequest",
        "name": "baseRequest",
        "type": "tuple"
      },
      {
        "internalType": "uint256[]",
        "name": "batchesAmount",
        "type": "uint256[]"
      },
      {
        "components": [
          {
            "internalType": "address[]",
            "name": "mixAdapters",
            "type": "address[]"
          },
          {
            "internalType": "address[]",
            "name": "assetTo",
            "type": "address[]"
          },
          {
            "internalType": "uint256[]",
            "name": "rawData",
            "type": "uint256[]"
          },
          {
            "internalType": "bytes[]",
            "name": "extraData",
            "type": "bytes[]"
          },
          {
            "internalType": "uint256",
            "name": "fromToken",
            "type": "uint256"
          }
        ],
        "internalType": "struct DexRouter.RouterPath[][]",
        "name": "batches",
        "type": "tuple[][]"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "pathIndex",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "payer",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "fromToken",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "toTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "salt",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "isPushOrder",
            "type": "bool"
          },
          {
            "internalType": "bytes",
            "name": "extension",
            "type": "bytes"
          }
        ],
        "internalType": "struct PMMLib.PMMSwapRequest[]",
        "name": "extraData",
        "type": "tuple[]"
      }
    ],
    "name": "smartSwapByOrderId",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "orderId",
        "type": "uint256"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "fromToken",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "minReturnAmount",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          }
        ],
        "internalType": "struct DexRouter.BaseRequest",
        "name": "baseRequest",
        "type": "tuple"
      },
      {
        "internalType": "uint256[]",
        "name": "batchesAmount",
        "type": "uint256[]"
      },
      {
        "components": [
          {
            "internalType": "address[]",
            "name": "mixAdapters",
            "type": "address[]"
          },
          {
            "internalType": "address[]",
            "name": "assetTo",
            "type": "address[]"
          },
          {
            "internalType": "uint256[]",
            "name": "rawData",
            "type": "uint256[]"
          },
          {
            "internalType": "bytes[]",
            "name": "extraData",
            "type": "bytes[]"
          },
          {
            "internalType": "uint256",
            "name": "fromToken",
            "type": "uint256"
          }
        ],
        "internalType": "struct DexRouter.RouterPath[][]",
        "name": "batches",
        "type": "tuple[][]"
      },
      {
        "components": [
          {
            "internalType": "uint256",
            "name": "pathIndex",
            "type": "uint256"
          },
          {
            "internalType": "address",
            "name": "payer",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "fromToken",
            "type": "address"
          },
          {
            "internalType": "address",
            "name": "toToken",
            "type": "address"
          },
          {
            "internalType": "uint256",
            "name": "fromTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "toTokenAmountMax",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "salt",
            "type": "uint256"
          },
          {
            "internalType": "uint256",
            "name": "deadLine",
            "type": "uint256"
          },
          {
            "internalType": "bool",
            "name": "isPushOrder",
            "type": "bool"
          },
          {
            "internalType": "bytes",
            "name": "extension",
            "type": "bytes"
          }
        ],
        "internalType": "struct PMMLib.PMMSwapRequest[]",
        "name": "extraData",
        "type": "tuple[]"
      }
    ],
    "name": "smartSwapByOrderIdByXBridge",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "orderId",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "rawdata",
        "type": "uint256"
      }
    ],
    "name": "swapWrap",
    "outputs": [],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "tmpAdmin",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "newOwner",
        "type": "address"
      }
    ],
    "name": "transferOwnership",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "int256",
        "name": "amount0Delta",
        "type": "int256"
      },
      {
        "internalType": "int256",
        "name": "amount1Delta",
        "type": "int256"
      },
      {
        "internalType": "bytes",
        "name": "",
        "type": "bytes"
      }
    ],
    "name": "uniswapV3SwapCallback",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "recipient",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "minReturn",
        "type": "uint256"
      },
      {
        "internalType": "uint256[]",
        "name": "pools",
        "type": "uint256[]"
      }
    ],
    "name": "uniswapV3SwapTo",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "recipient",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "minReturn",
        "type": "uint256"
      },
      {
        "internalType": "uint256[]",
        "name": "pools",
        "type": "uint256[]"
      }
    ],
    "name": "uniswapV3SwapToByXBridge",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "recipient",
        "type": "uint256"
      },
      {
        "internalType": "contract IERC20",
        "name": "srcToken",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "minReturn",
        "type": "uint256"
      },
      {
        "internalType": "uint256[]",
        "name": "pools",
        "type": "uint256[]"
      },
      {
        "internalType": "bytes",
        "name": "permit",
        "type": "bytes"
      }
    ],
    "name": "uniswapV3SwapToWithPermit",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "srcToken",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "minReturn",
        "type": "uint256"
      },
      {
        "internalType": "bytes32[]",
        "name": "pools",
        "type": "bytes32[]"
      }
    ],
    "name": "unxswapByOrderId",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "uint256",
        "name": "srcToken",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "minReturn",
        "type": "uint256"
      },
      {
        "internalType": "bytes32[]",
        "name": "pools",
        "type": "bytes32[]"
      }
    ],
    "name": "unxswapByOrderIdByXBridge",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "returnAmount",
        "type": "uint256"
      }
    ],
    "stateMutability": "payable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "wNativeRelayer",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "stateMutability": "payable",
    "type": "receive"
  }
]

okx-dex-aggregator-abi's People

Contributors

lowlowcoder-mel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.