From a129fe8ea9dee654531eb2c63d07494f11268eb3 Mon Sep 17 00:00:00 2001 From: Matt Snow Date: Sun, 9 Jun 2024 06:46:40 -0700 Subject: [PATCH 1/2] Update resolver-setup-script-example.mdx Update WhitelistRegistry address --- .../becoming-a-resolver/resolver-setup-script-example.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/fusion-swap/becoming-a-resolver/resolver-setup-script-example.mdx b/docs/fusion-swap/becoming-a-resolver/resolver-setup-script-example.mdx index d077f2375..00133c9cd 100644 --- a/docs/fusion-swap/becoming-a-resolver/resolver-setup-script-example.mdx +++ b/docs/fusion-swap/becoming-a-resolver/resolver-setup-script-example.mdx @@ -25,7 +25,7 @@ const { ethers } = require('hardhat'); const inch = await ethers.getContractAt('IERC20', '0x111111111117dc0aa78b770fa6a738034120c302'); const st1inch = await ethers.getContractAt('IERC20', '0x9a0c8ff858d273f57072d714bca7411d717501d7'); const powerPod = await ethers.getContractAt('IERC20', '0xaccfac2339e16dc80c50d2fa81b5c2b049b4f947'); -const whitelist = await ethers.getContractAt('WhitelistRegistry', '0xcb8308fcB7BC2f84ed1bEa2C016991D34de5cc77'); +const whitelist = await ethers.getContractAt('WhitelistRegistry', '0xF55684BC536487394B423e70567413faB8e45E26'); const stakeAmount = ether('1000000'); const lockTime = time.duration.years('2'); @@ -66,4 +66,4 @@ await (await whitelist.connect(resolver).register()).wait(); // Add worker address from which order settlement will be executed await (await whitelist.connect(resolver).promote(1, worker)).wait(); -``` \ No newline at end of file +``` From 184af2bc875772fd75a06b8dd69e99abae3aea8b Mon Sep 17 00:00:00 2001 From: Matt Snow Date: Sun, 9 Jun 2024 12:59:33 -0700 Subject: [PATCH 2/2] Update contracts-interaction.mdx Update PowerPod and WhitelistRegistry addresses to current (v2) --- .../becoming-a-resolver/contracts-interaction.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/fusion-swap/becoming-a-resolver/contracts-interaction.mdx b/docs/fusion-swap/becoming-a-resolver/contracts-interaction.mdx index fd5e2d014..e74542385 100644 --- a/docs/fusion-swap/becoming-a-resolver/contracts-interaction.mdx +++ b/docs/fusion-swap/becoming-a-resolver/contracts-interaction.mdx @@ -42,7 +42,7 @@ await st1inch.deposit(ether('100'), time.duration.days('1')); | Repository | [limit-order-settlement](https://github.com/1inch/limit-order-settlement/) | | --- | --- | | Contract | PowerPod.sol | -| Contract address | 0x9A0C8Ff858d273f57072D714bca7411D717501D7 | +| Contract address | 0xAccfAc2339e16DC80c50d2fa81b5c2B049B4f947 | | Methods | addPod(address pod) | | Description | Register pod usage for the tx sender. Needed for • Resolvers to enable resolver’s and delegated staking power usage for whitelisting @@ -72,7 +72,7 @@ await delegation.register('resolver token share', 'RTS'); | Repository | [limit-order-settlement](https://github.com/1inch/limit-order-settlement/) | | --- | --- | | Contract | PowerPod.sol | -| Contract address | 0xDAf782667d98d5069eE7ba139932945C4D08fDE9 | +| Contract address | 0xAccfAc2339e16DC80c50d2fa81b5c2B049B4f947 | | Methods | delegate(address delegatee) | | Description | delegate(address delegatee) | @@ -86,7 +86,7 @@ await delegation.connect(resolver).delegate(resolver.address); | Repository | [limit-order-settlement](https://github.com/1inch/limit-order-settlement/) | | --- | --- | | Contract | WhitelistRegistry.sol | -| Contract address | 0xcb8308fcB7BC2f84ed1bEa2C016991D34de5cc77 | +| Contract address | 0xF55684BC536487394B423e70567413faB8e45E26 | | Methods | register() | | Description | Checks if sender is eligible to be whitelisted and put it into the whitelist sorted by staking power descending | @@ -142,4 +142,4 @@ struct Order { | Contract | Settlement.sol | | Contract address | 0xA88800CD213dA5Ae406ce248380802BD53b47647 | | Methods | .settleOrders(bytes calldata data) | -| Description | Settles an order | \ No newline at end of file +| Description | Settles an order |