@requestnetwork/smart-contracts 0.28.1-next.1701 → 0.28.1-next.1705
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -6
- package/dist/hardhat.config.d.ts.map +1 -1
- package/dist/hardhat.config.js +3 -8
- package/dist/hardhat.config.js.map +1 -1
- package/dist/scripts/deploy-payments.d.ts.map +1 -1
- package/dist/scripts/deploy-payments.js +4 -34
- package/dist/scripts/deploy-payments.js.map +1 -1
- package/dist/scripts/erc20-swap-to-conversion.d.ts +2 -7
- package/dist/scripts/erc20-swap-to-conversion.d.ts.map +1 -1
- package/dist/scripts/erc20-swap-to-conversion.js +3 -57
- package/dist/scripts/erc20-swap-to-conversion.js.map +1 -1
- package/dist/scripts/{6_deploy-all.d.ts → test-deploy-all.d.ts} +1 -1
- package/dist/scripts/test-deploy-all.d.ts.map +1 -0
- package/dist/scripts/test-deploy-all.js +22 -0
- package/dist/scripts/test-deploy-all.js.map +1 -0
- package/dist/scripts/{5_deploy-batch-erc-eth-deployment.d.ts → test-deploy-batch-erc-eth-deployment.d.ts} +1 -1
- package/dist/scripts/test-deploy-batch-erc-eth-deployment.d.ts.map +1 -0
- package/dist/scripts/{5_deploy-batch-erc-eth-deployment.js → test-deploy-batch-erc-eth-deployment.js} +7 -3
- package/dist/scripts/test-deploy-batch-erc-eth-deployment.js.map +1 -0
- package/dist/scripts/{4_deploy-escrow-deployment.d.ts → test-deploy-escrow-deployment.d.ts} +1 -1
- package/dist/scripts/test-deploy-escrow-deployment.d.ts.map +1 -0
- package/dist/scripts/{4_deploy-escrow-deployment.js → test-deploy-escrow-deployment.js} +3 -4
- package/dist/scripts/test-deploy-escrow-deployment.js.map +1 -0
- package/dist/scripts/{2_deploy-main-payments.d.ts → test-deploy-main-payments.d.ts} +1 -1
- package/dist/scripts/test-deploy-main-payments.d.ts.map +1 -0
- package/dist/scripts/{2_deploy-main-payments.js → test-deploy-main-payments.js} +1 -1
- package/dist/scripts/test-deploy-main-payments.js.map +1 -0
- package/dist/scripts/{1_deploy-request-storage.d.ts → test-deploy-request-storage.d.ts} +1 -1
- package/dist/scripts/test-deploy-request-storage.d.ts.map +1 -0
- package/dist/scripts/{1_deploy-request-storage.js → test-deploy-request-storage.js} +1 -1
- package/dist/scripts/test-deploy-request-storage.js.map +1 -0
- package/dist/scripts/test-deploy-superfluid.d.ts +4 -0
- package/dist/scripts/test-deploy-superfluid.d.ts.map +1 -0
- package/dist/scripts/test-deploy-superfluid.js +42 -0
- package/dist/scripts/test-deploy-superfluid.js.map +1 -0
- package/dist/scripts/{3_deploy_chainlink_contract.d.ts → test-deploy_chainlink_contract.d.ts} +1 -1
- package/dist/scripts/test-deploy_chainlink_contract.d.ts.map +1 -0
- package/dist/scripts/{3_deploy_chainlink_contract.js → test-deploy_chainlink_contract.js} +17 -8
- package/dist/scripts/test-deploy_chainlink_contract.js.map +1 -0
- package/dist/scripts-create2/check-deployer.d.ts.map +1 -1
- package/dist/scripts-create2/check-deployer.js +1 -6
- package/dist/scripts-create2/check-deployer.js.map +1 -1
- package/dist/scripts-create2/compute-one-address.d.ts.map +1 -1
- package/dist/scripts-create2/compute-one-address.js +2 -1
- package/dist/scripts-create2/compute-one-address.js.map +1 -1
- package/dist/scripts-create2/constructor-args.d.ts.map +1 -1
- package/dist/scripts-create2/constructor-args.js +6 -0
- package/dist/scripts-create2/constructor-args.js.map +1 -1
- package/dist/scripts-create2/contract-setup/adminTasks.d.ts +6 -0
- package/dist/scripts-create2/contract-setup/adminTasks.d.ts.map +1 -0
- package/dist/scripts-create2/contract-setup/adminTasks.js +37 -0
- package/dist/scripts-create2/contract-setup/adminTasks.js.map +1 -0
- package/dist/scripts-create2/contract-setup/index.d.ts +2 -0
- package/dist/scripts-create2/contract-setup/index.d.ts.map +1 -0
- package/dist/scripts-create2/contract-setup/index.js +6 -0
- package/dist/scripts-create2/contract-setup/index.js.map +1 -0
- package/dist/scripts-create2/contract-setup/setupERC20SwapToConversion.d.ts +8 -0
- package/dist/scripts-create2/contract-setup/setupERC20SwapToConversion.d.ts.map +1 -0
- package/dist/scripts-create2/contract-setup/setupERC20SwapToConversion.js +38 -0
- package/dist/scripts-create2/contract-setup/setupERC20SwapToConversion.js.map +1 -0
- package/dist/scripts-create2/deploy-one.d.ts.map +1 -1
- package/dist/scripts-create2/deploy-one.js +7 -0
- package/dist/scripts-create2/deploy-one.js.map +1 -1
- package/dist/scripts-create2/utils.d.ts.map +1 -1
- package/dist/scripts-create2/utils.js +1 -0
- package/dist/scripts-create2/utils.js.map +1 -1
- package/dist/scripts-create2/verify-one.d.ts.map +1 -1
- package/dist/scripts-create2/verify-one.js +1 -0
- package/dist/scripts-create2/verify-one.js.map +1 -1
- package/dist/scripts-create2/xdeployer.d.ts.map +1 -1
- package/dist/scripts-create2/xdeployer.js +3 -7
- package/dist/scripts-create2/xdeployer.js.map +1 -1
- package/dist/src/lib/artifacts/BatchPayments/index.js +3 -3
- package/dist/src/lib/artifacts/ERC20EscrowToPay/index.js +1 -1
- package/dist/src/lib/artifacts/Erc20SwapConversion/0.2.0.json +239 -0
- package/dist/src/lib/artifacts/Erc20SwapConversion/index.d.ts.map +1 -1
- package/dist/src/lib/artifacts/Erc20SwapConversion/index.js +27 -1
- package/dist/src/lib/artifacts/Erc20SwapConversion/index.js.map +1 -1
- package/dist/src/lib/artifacts/EthConversionProxy/index.js +2 -2
- package/dist/src/types/BatchPayments.d.ts +60 -49
- package/dist/src/types/ERC20SwapToConversion.d.ts +101 -56
- package/dist/src/types/IERC20ConversionProxy.d.ts +207 -0
- package/dist/src/types/ISwapRouter.d.ts +137 -0
- package/dist/src/types/factories/AggregatorMock__factory.d.ts +1 -1
- package/dist/src/types/factories/AggregatorMock__factory.js +1 -1
- package/dist/src/types/factories/BadERC20__factory.d.ts +1 -1
- package/dist/src/types/factories/BadERC20__factory.js +1 -1
- package/dist/src/types/factories/BatchPayments__factory.d.ts +3 -3
- package/dist/src/types/factories/BatchPayments__factory.d.ts.map +1 -1
- package/dist/src/types/factories/BatchPayments__factory.js +15 -45
- package/dist/src/types/factories/BatchPayments__factory.js.map +1 -1
- package/dist/src/types/factories/BytesUtilsMock__factory.d.ts +1 -1
- package/dist/src/types/factories/BytesUtilsMock__factory.js +1 -1
- package/dist/src/types/factories/ChainlinkConversionPath__factory.d.ts +1 -1
- package/dist/src/types/factories/ChainlinkConversionPath__factory.js +1 -1
- package/dist/src/types/factories/ERC20Alpha__factory.d.ts +1 -1
- package/dist/src/types/factories/ERC20Alpha__factory.js +1 -1
- package/dist/src/types/factories/ERC20EscrowToPay__factory.d.ts +1 -1
- package/dist/src/types/factories/ERC20EscrowToPay__factory.js +1 -1
- package/dist/src/types/factories/ERC20False__factory.d.ts +1 -1
- package/dist/src/types/factories/ERC20False__factory.js +1 -1
- package/dist/src/types/factories/ERC20FeeProxy__factory.d.ts +1 -1
- package/dist/src/types/factories/ERC20FeeProxy__factory.js +1 -1
- package/dist/src/types/factories/ERC20NoReturn__factory.d.ts +1 -1
- package/dist/src/types/factories/ERC20NoReturn__factory.js +1 -1
- package/dist/src/types/factories/ERC20Proxy__factory.d.ts +1 -1
- package/dist/src/types/factories/ERC20Proxy__factory.js +1 -1
- package/dist/src/types/factories/ERC20Revert__factory.d.ts +1 -1
- package/dist/src/types/factories/ERC20Revert__factory.js +1 -1
- package/dist/src/types/factories/ERC20SwapToConversion__factory.d.ts +3 -3
- package/dist/src/types/factories/ERC20SwapToConversion__factory.d.ts.map +1 -1
- package/dist/src/types/factories/ERC20SwapToConversion__factory.js +52 -39
- package/dist/src/types/factories/ERC20SwapToConversion__factory.js.map +1 -1
- package/dist/src/types/factories/ERC20SwapToPay__factory.d.ts +1 -1
- package/dist/src/types/factories/ERC20SwapToPay__factory.js +1 -1
- package/dist/src/types/factories/ERC20True__factory.d.ts +1 -1
- package/dist/src/types/factories/ERC20True__factory.js +1 -1
- package/dist/src/types/factories/Erc20ConversionProxy__factory.d.ts +1 -1
- package/dist/src/types/factories/Erc20ConversionProxy__factory.js +1 -1
- package/dist/src/types/factories/EthConversionProxy__factory.d.ts +1 -1
- package/dist/src/types/factories/EthConversionProxy__factory.js +1 -1
- package/dist/src/types/factories/EtherPaymentFallback__factory.d.ts +1 -1
- package/dist/src/types/factories/EtherPaymentFallback__factory.js +1 -1
- package/dist/src/types/factories/EthereumFeeProxy__factory.d.ts +1 -1
- package/dist/src/types/factories/EthereumFeeProxy__factory.js +1 -1
- package/dist/src/types/factories/EthereumProxy__factory.d.ts +1 -1
- package/dist/src/types/factories/EthereumProxy__factory.js +1 -1
- package/dist/src/types/factories/FakeSwapRouter__factory.d.ts +1 -1
- package/dist/src/types/factories/FakeSwapRouter__factory.js +1 -1
- package/dist/src/types/factories/GnosisSafeProxy__factory.d.ts +1 -1
- package/dist/src/types/factories/GnosisSafeProxy__factory.js +1 -1
- package/dist/src/types/factories/IERC20ConversionProxy__factory.d.ts +32 -0
- package/dist/src/types/factories/IERC20ConversionProxy__factory.d.ts.map +1 -0
- package/dist/src/types/factories/IERC20ConversionProxy__factory.js +148 -0
- package/dist/src/types/factories/IERC20ConversionProxy__factory.js.map +1 -0
- package/dist/src/types/factories/ISwapRouter__factory.d.ts +23 -0
- package/dist/src/types/factories/ISwapRouter__factory.d.ts.map +1 -0
- package/dist/src/types/factories/ISwapRouter__factory.js +59 -0
- package/dist/src/types/factories/ISwapRouter__factory.js.map +1 -0
- package/dist/src/types/factories/Migrations__factory.d.ts +1 -1
- package/dist/src/types/factories/Migrations__factory.js +1 -1
- package/dist/src/types/factories/RequestDeployer__factory.d.ts +1 -1
- package/dist/src/types/factories/RequestDeployer__factory.js +1 -1
- package/dist/src/types/factories/RequestHashStorage__factory.d.ts +1 -1
- package/dist/src/types/factories/RequestHashStorage__factory.js +1 -1
- package/dist/src/types/factories/RequestOpenHashSubmitter__factory.d.ts +1 -1
- package/dist/src/types/factories/RequestOpenHashSubmitter__factory.js +1 -1
- package/dist/src/types/factories/StorageFeeCollector__factory.d.ts +1 -1
- package/dist/src/types/factories/StorageFeeCollector__factory.js +1 -1
- package/dist/src/types/factories/TestERC20__factory.d.ts +1 -1
- package/dist/src/types/factories/TestERC20__factory.js +1 -1
- package/dist/src/types/factories/UsdtFake__factory.d.ts +1 -1
- package/dist/src/types/factories/UsdtFake__factory.js +1 -1
- package/dist/src/types/hardhat.d.ts +6 -2
- package/dist/src/types/index.d.ts +6 -2
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/types/index.js +7 -3
- package/dist/src/types/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +9 -6
- package/types/BatchPayments.d.ts +60 -49
- package/types/ERC20SwapToConversion.d.ts +101 -56
- package/types/IERC20ConversionProxy.d.ts +207 -0
- package/types/ISwapRouter.d.ts +137 -0
- package/types/factories/AggregatorMock__factory.d.ts +1 -1
- package/types/factories/AggregatorMock__factory.js +1 -1
- package/types/factories/BadERC20__factory.d.ts +1 -1
- package/types/factories/BadERC20__factory.js +1 -1
- package/types/factories/BatchPayments__factory.d.ts +3 -3
- package/types/factories/BatchPayments__factory.d.ts.map +1 -1
- package/types/factories/BatchPayments__factory.js +15 -45
- package/types/factories/BatchPayments__factory.js.map +1 -1
- package/types/factories/BytesUtilsMock__factory.d.ts +1 -1
- package/types/factories/BytesUtilsMock__factory.js +1 -1
- package/types/factories/ChainlinkConversionPath__factory.d.ts +1 -1
- package/types/factories/ChainlinkConversionPath__factory.js +1 -1
- package/types/factories/ERC20Alpha__factory.d.ts +1 -1
- package/types/factories/ERC20Alpha__factory.js +1 -1
- package/types/factories/ERC20EscrowToPay__factory.d.ts +1 -1
- package/types/factories/ERC20EscrowToPay__factory.js +1 -1
- package/types/factories/ERC20False__factory.d.ts +1 -1
- package/types/factories/ERC20False__factory.js +1 -1
- package/types/factories/ERC20FeeProxy__factory.d.ts +1 -1
- package/types/factories/ERC20FeeProxy__factory.js +1 -1
- package/types/factories/ERC20NoReturn__factory.d.ts +1 -1
- package/types/factories/ERC20NoReturn__factory.js +1 -1
- package/types/factories/ERC20Proxy__factory.d.ts +1 -1
- package/types/factories/ERC20Proxy__factory.js +1 -1
- package/types/factories/ERC20Revert__factory.d.ts +1 -1
- package/types/factories/ERC20Revert__factory.js +1 -1
- package/types/factories/ERC20SwapToConversion__factory.d.ts +3 -3
- package/types/factories/ERC20SwapToConversion__factory.d.ts.map +1 -1
- package/types/factories/ERC20SwapToConversion__factory.js +52 -39
- package/types/factories/ERC20SwapToConversion__factory.js.map +1 -1
- package/types/factories/ERC20SwapToPay__factory.d.ts +1 -1
- package/types/factories/ERC20SwapToPay__factory.js +1 -1
- package/types/factories/ERC20True__factory.d.ts +1 -1
- package/types/factories/ERC20True__factory.js +1 -1
- package/types/factories/Erc20ConversionProxy__factory.d.ts +1 -1
- package/types/factories/Erc20ConversionProxy__factory.js +1 -1
- package/types/factories/EthConversionProxy__factory.d.ts +1 -1
- package/types/factories/EthConversionProxy__factory.js +1 -1
- package/types/factories/EtherPaymentFallback__factory.d.ts +1 -1
- package/types/factories/EtherPaymentFallback__factory.js +1 -1
- package/types/factories/EthereumFeeProxy__factory.d.ts +1 -1
- package/types/factories/EthereumFeeProxy__factory.js +1 -1
- package/types/factories/EthereumProxy__factory.d.ts +1 -1
- package/types/factories/EthereumProxy__factory.js +1 -1
- package/types/factories/FakeSwapRouter__factory.d.ts +1 -1
- package/types/factories/FakeSwapRouter__factory.js +1 -1
- package/types/factories/GnosisSafeProxy__factory.d.ts +1 -1
- package/types/factories/GnosisSafeProxy__factory.js +1 -1
- package/types/factories/IERC20ConversionProxy__factory.d.ts +32 -0
- package/types/factories/IERC20ConversionProxy__factory.d.ts.map +1 -0
- package/types/factories/IERC20ConversionProxy__factory.js +148 -0
- package/types/factories/IERC20ConversionProxy__factory.js.map +1 -0
- package/types/factories/ISwapRouter__factory.d.ts +23 -0
- package/types/factories/ISwapRouter__factory.d.ts.map +1 -0
- package/types/factories/ISwapRouter__factory.js +59 -0
- package/types/factories/ISwapRouter__factory.js.map +1 -0
- package/types/factories/Migrations__factory.d.ts +1 -1
- package/types/factories/Migrations__factory.js +1 -1
- package/types/factories/RequestDeployer__factory.d.ts +1 -1
- package/types/factories/RequestDeployer__factory.js +1 -1
- package/types/factories/RequestHashStorage__factory.d.ts +1 -1
- package/types/factories/RequestHashStorage__factory.js +1 -1
- package/types/factories/RequestOpenHashSubmitter__factory.d.ts +1 -1
- package/types/factories/RequestOpenHashSubmitter__factory.js +1 -1
- package/types/factories/StorageFeeCollector__factory.d.ts +1 -1
- package/types/factories/StorageFeeCollector__factory.js +1 -1
- package/types/factories/TestERC20__factory.d.ts +1 -1
- package/types/factories/TestERC20__factory.js +1 -1
- package/types/factories/UsdtFake__factory.d.ts +1 -1
- package/types/factories/UsdtFake__factory.js +1 -1
- package/types/hardhat.d.ts +6 -2
- package/types/index.d.ts +6 -2
- package/types/index.d.ts.map +1 -1
- package/types/index.js +7 -3
- package/types/index.js.map +1 -1
- package/dist/scripts/1_deploy-request-storage.d.ts.map +0 -1
- package/dist/scripts/1_deploy-request-storage.js.map +0 -1
- package/dist/scripts/2_deploy-main-payments.d.ts.map +0 -1
- package/dist/scripts/2_deploy-main-payments.js.map +0 -1
- package/dist/scripts/3_deploy_chainlink_contract.d.ts.map +0 -1
- package/dist/scripts/3_deploy_chainlink_contract.js.map +0 -1
- package/dist/scripts/4_deploy-escrow-deployment.d.ts.map +0 -1
- package/dist/scripts/4_deploy-escrow-deployment.js.map +0 -1
- package/dist/scripts/5_deploy-batch-erc-eth-deployment.d.ts.map +0 -1
- package/dist/scripts/5_deploy-batch-erc-eth-deployment.js.map +0 -1
- package/dist/scripts/6_deploy-all.d.ts.map +0 -1
- package/dist/scripts/6_deploy-all.js +0 -20
- package/dist/scripts/6_deploy-all.js.map +0 -1
- package/dist/scripts/prepare-payments.d.ts +0 -4
- package/dist/scripts/prepare-payments.d.ts.map +0 -1
- package/dist/scripts/prepare-payments.js +0 -31
- package/dist/scripts/prepare-payments.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@requestnetwork/smart-contracts",
|
|
3
|
-
"version": "0.28.1-next.
|
|
3
|
+
"version": "0.28.1-next.1705+cdb4b999",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -58,11 +58,13 @@
|
|
|
58
58
|
"@nomiclabs/hardhat-etherscan": "3.0.3",
|
|
59
59
|
"@nomiclabs/hardhat-ganache": "2.0.0",
|
|
60
60
|
"@nomiclabs/hardhat-waffle": "2.0.1",
|
|
61
|
+
"@nomiclabs/hardhat-web3": "2.0.0",
|
|
61
62
|
"@openzeppelin/contracts": "4.4.1",
|
|
62
63
|
"@openzeppelin/test-helpers": "0.5.6",
|
|
63
|
-
"@requestnetwork/currency": "0.8.1-next.
|
|
64
|
-
"@requestnetwork/types": "0.35.1-next.
|
|
65
|
-
"@requestnetwork/utils": "0.35.1-next.
|
|
64
|
+
"@requestnetwork/currency": "0.8.1-next.1705+cdb4b999",
|
|
65
|
+
"@requestnetwork/types": "0.35.1-next.1705+cdb4b999",
|
|
66
|
+
"@requestnetwork/utils": "0.35.1-next.1705+cdb4b999",
|
|
67
|
+
"@superfluid-finance/ethereum-contracts": "1.1.1",
|
|
66
68
|
"@typechain/ethers-v5": "7.0.1",
|
|
67
69
|
"@typechain/hardhat": "2.1.2",
|
|
68
70
|
"@types/chai": "4.2.21",
|
|
@@ -76,7 +78,8 @@
|
|
|
76
78
|
"hardhat": "2.4.1",
|
|
77
79
|
"shx": "0.3.2",
|
|
78
80
|
"solhint": "3.3.6",
|
|
79
|
-
"typechain": "5.1.1"
|
|
81
|
+
"typechain": "5.1.1",
|
|
82
|
+
"web3": "1.7.3"
|
|
80
83
|
},
|
|
81
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "cdb4b999a059c86e5b9ff59d144fb7236060460a"
|
|
82
85
|
}
|
package/types/BatchPayments.d.ts
CHANGED
|
@@ -22,20 +22,25 @@ import { TypedEventFilter, TypedEvent, TypedListener } from "./commons";
|
|
|
22
22
|
|
|
23
23
|
interface BatchPaymentsInterface extends ethers.utils.Interface {
|
|
24
24
|
functions: {
|
|
25
|
+
"approvePaymentProxyToSpend(address)": FunctionFragment;
|
|
25
26
|
"batchERC20PaymentsMultiTokensWithReference(address[],address[],uint256[],bytes[],uint256[],address)": FunctionFragment;
|
|
26
27
|
"batchERC20PaymentsWithReference(address,address[],uint256[],bytes[],uint256[],address)": FunctionFragment;
|
|
27
28
|
"batchEthPaymentsWithReference(address[],uint256[],bytes[],uint256[],address)": FunctionFragment;
|
|
28
29
|
"batchFee()": FunctionFragment;
|
|
29
30
|
"owner()": FunctionFragment;
|
|
30
31
|
"paymentErc20FeeProxy()": FunctionFragment;
|
|
31
|
-
"
|
|
32
|
+
"paymentEthFeeProxy()": FunctionFragment;
|
|
32
33
|
"renounceOwnership()": FunctionFragment;
|
|
33
34
|
"setBatchFee(uint256)": FunctionFragment;
|
|
34
35
|
"setPaymentErc20FeeProxy(address)": FunctionFragment;
|
|
35
|
-
"
|
|
36
|
+
"setPaymentEthFeeProxy(address)": FunctionFragment;
|
|
36
37
|
"transferOwnership(address)": FunctionFragment;
|
|
37
38
|
};
|
|
38
39
|
|
|
40
|
+
encodeFunctionData(
|
|
41
|
+
functionFragment: "approvePaymentProxyToSpend",
|
|
42
|
+
values: [string]
|
|
43
|
+
): string;
|
|
39
44
|
encodeFunctionData(
|
|
40
45
|
functionFragment: "batchERC20PaymentsMultiTokensWithReference",
|
|
41
46
|
values: [
|
|
@@ -69,7 +74,7 @@ interface BatchPaymentsInterface extends ethers.utils.Interface {
|
|
|
69
74
|
values?: undefined
|
|
70
75
|
): string;
|
|
71
76
|
encodeFunctionData(
|
|
72
|
-
functionFragment: "
|
|
77
|
+
functionFragment: "paymentEthFeeProxy",
|
|
73
78
|
values?: undefined
|
|
74
79
|
): string;
|
|
75
80
|
encodeFunctionData(
|
|
@@ -85,7 +90,7 @@ interface BatchPaymentsInterface extends ethers.utils.Interface {
|
|
|
85
90
|
values: [string]
|
|
86
91
|
): string;
|
|
87
92
|
encodeFunctionData(
|
|
88
|
-
functionFragment: "
|
|
93
|
+
functionFragment: "setPaymentEthFeeProxy",
|
|
89
94
|
values: [string]
|
|
90
95
|
): string;
|
|
91
96
|
encodeFunctionData(
|
|
@@ -93,6 +98,10 @@ interface BatchPaymentsInterface extends ethers.utils.Interface {
|
|
|
93
98
|
values: [string]
|
|
94
99
|
): string;
|
|
95
100
|
|
|
101
|
+
decodeFunctionResult(
|
|
102
|
+
functionFragment: "approvePaymentProxyToSpend",
|
|
103
|
+
data: BytesLike
|
|
104
|
+
): Result;
|
|
96
105
|
decodeFunctionResult(
|
|
97
106
|
functionFragment: "batchERC20PaymentsMultiTokensWithReference",
|
|
98
107
|
data: BytesLike
|
|
@@ -112,7 +121,7 @@ interface BatchPaymentsInterface extends ethers.utils.Interface {
|
|
|
112
121
|
data: BytesLike
|
|
113
122
|
): Result;
|
|
114
123
|
decodeFunctionResult(
|
|
115
|
-
functionFragment: "
|
|
124
|
+
functionFragment: "paymentEthFeeProxy",
|
|
116
125
|
data: BytesLike
|
|
117
126
|
): Result;
|
|
118
127
|
decodeFunctionResult(
|
|
@@ -128,7 +137,7 @@ interface BatchPaymentsInterface extends ethers.utils.Interface {
|
|
|
128
137
|
data: BytesLike
|
|
129
138
|
): Result;
|
|
130
139
|
decodeFunctionResult(
|
|
131
|
-
functionFragment: "
|
|
140
|
+
functionFragment: "setPaymentEthFeeProxy",
|
|
132
141
|
data: BytesLike
|
|
133
142
|
): Result;
|
|
134
143
|
decodeFunctionResult(
|
|
@@ -138,13 +147,9 @@ interface BatchPaymentsInterface extends ethers.utils.Interface {
|
|
|
138
147
|
|
|
139
148
|
events: {
|
|
140
149
|
"OwnershipTransferred(address,address)": EventFragment;
|
|
141
|
-
"TransferWithReferenceAndFee(address,address,uint256,bytes,uint256,address)": EventFragment;
|
|
142
150
|
};
|
|
143
151
|
|
|
144
152
|
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
145
|
-
getEvent(
|
|
146
|
-
nameOrSignatureOrTopic: "TransferWithReferenceAndFee"
|
|
147
|
-
): EventFragment;
|
|
148
153
|
}
|
|
149
154
|
|
|
150
155
|
export class BatchPayments extends BaseContract {
|
|
@@ -191,6 +196,11 @@ export class BatchPayments extends BaseContract {
|
|
|
191
196
|
interface: BatchPaymentsInterface;
|
|
192
197
|
|
|
193
198
|
functions: {
|
|
199
|
+
approvePaymentProxyToSpend(
|
|
200
|
+
_erc20Address: string,
|
|
201
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
202
|
+
): Promise<ContractTransaction>;
|
|
203
|
+
|
|
194
204
|
batchERC20PaymentsMultiTokensWithReference(
|
|
195
205
|
_tokenAddresses: string[],
|
|
196
206
|
_recipients: string[],
|
|
@@ -226,7 +236,7 @@ export class BatchPayments extends BaseContract {
|
|
|
226
236
|
|
|
227
237
|
paymentErc20FeeProxy(overrides?: CallOverrides): Promise<[string]>;
|
|
228
238
|
|
|
229
|
-
|
|
239
|
+
paymentEthFeeProxy(overrides?: CallOverrides): Promise<[string]>;
|
|
230
240
|
|
|
231
241
|
renounceOwnership(
|
|
232
242
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -238,12 +248,12 @@ export class BatchPayments extends BaseContract {
|
|
|
238
248
|
): Promise<ContractTransaction>;
|
|
239
249
|
|
|
240
250
|
setPaymentErc20FeeProxy(
|
|
241
|
-
|
|
251
|
+
_paymentErc20FeeProxy: string,
|
|
242
252
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
243
253
|
): Promise<ContractTransaction>;
|
|
244
254
|
|
|
245
|
-
|
|
246
|
-
|
|
255
|
+
setPaymentEthFeeProxy(
|
|
256
|
+
_paymentEthFeeProxy: string,
|
|
247
257
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
248
258
|
): Promise<ContractTransaction>;
|
|
249
259
|
|
|
@@ -253,6 +263,11 @@ export class BatchPayments extends BaseContract {
|
|
|
253
263
|
): Promise<ContractTransaction>;
|
|
254
264
|
};
|
|
255
265
|
|
|
266
|
+
approvePaymentProxyToSpend(
|
|
267
|
+
_erc20Address: string,
|
|
268
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
269
|
+
): Promise<ContractTransaction>;
|
|
270
|
+
|
|
256
271
|
batchERC20PaymentsMultiTokensWithReference(
|
|
257
272
|
_tokenAddresses: string[],
|
|
258
273
|
_recipients: string[],
|
|
@@ -288,7 +303,7 @@ export class BatchPayments extends BaseContract {
|
|
|
288
303
|
|
|
289
304
|
paymentErc20FeeProxy(overrides?: CallOverrides): Promise<string>;
|
|
290
305
|
|
|
291
|
-
|
|
306
|
+
paymentEthFeeProxy(overrides?: CallOverrides): Promise<string>;
|
|
292
307
|
|
|
293
308
|
renounceOwnership(
|
|
294
309
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -300,12 +315,12 @@ export class BatchPayments extends BaseContract {
|
|
|
300
315
|
): Promise<ContractTransaction>;
|
|
301
316
|
|
|
302
317
|
setPaymentErc20FeeProxy(
|
|
303
|
-
|
|
318
|
+
_paymentErc20FeeProxy: string,
|
|
304
319
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
305
320
|
): Promise<ContractTransaction>;
|
|
306
321
|
|
|
307
|
-
|
|
308
|
-
|
|
322
|
+
setPaymentEthFeeProxy(
|
|
323
|
+
_paymentEthFeeProxy: string,
|
|
309
324
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
310
325
|
): Promise<ContractTransaction>;
|
|
311
326
|
|
|
@@ -315,6 +330,11 @@ export class BatchPayments extends BaseContract {
|
|
|
315
330
|
): Promise<ContractTransaction>;
|
|
316
331
|
|
|
317
332
|
callStatic: {
|
|
333
|
+
approvePaymentProxyToSpend(
|
|
334
|
+
_erc20Address: string,
|
|
335
|
+
overrides?: CallOverrides
|
|
336
|
+
): Promise<void>;
|
|
337
|
+
|
|
318
338
|
batchERC20PaymentsMultiTokensWithReference(
|
|
319
339
|
_tokenAddresses: string[],
|
|
320
340
|
_recipients: string[],
|
|
@@ -350,7 +370,7 @@ export class BatchPayments extends BaseContract {
|
|
|
350
370
|
|
|
351
371
|
paymentErc20FeeProxy(overrides?: CallOverrides): Promise<string>;
|
|
352
372
|
|
|
353
|
-
|
|
373
|
+
paymentEthFeeProxy(overrides?: CallOverrides): Promise<string>;
|
|
354
374
|
|
|
355
375
|
renounceOwnership(overrides?: CallOverrides): Promise<void>;
|
|
356
376
|
|
|
@@ -360,12 +380,12 @@ export class BatchPayments extends BaseContract {
|
|
|
360
380
|
): Promise<void>;
|
|
361
381
|
|
|
362
382
|
setPaymentErc20FeeProxy(
|
|
363
|
-
|
|
383
|
+
_paymentErc20FeeProxy: string,
|
|
364
384
|
overrides?: CallOverrides
|
|
365
385
|
): Promise<void>;
|
|
366
386
|
|
|
367
|
-
|
|
368
|
-
|
|
387
|
+
setPaymentEthFeeProxy(
|
|
388
|
+
_paymentEthFeeProxy: string,
|
|
369
389
|
overrides?: CallOverrides
|
|
370
390
|
): Promise<void>;
|
|
371
391
|
|
|
@@ -383,28 +403,14 @@ export class BatchPayments extends BaseContract {
|
|
|
383
403
|
[string, string],
|
|
384
404
|
{ previousOwner: string; newOwner: string }
|
|
385
405
|
>;
|
|
386
|
-
|
|
387
|
-
TransferWithReferenceAndFee(
|
|
388
|
-
tokenAddress?: null,
|
|
389
|
-
to?: null,
|
|
390
|
-
amount?: null,
|
|
391
|
-
paymentReference?: BytesLike | null,
|
|
392
|
-
feeAmount?: null,
|
|
393
|
-
feeAddress?: null
|
|
394
|
-
): TypedEventFilter<
|
|
395
|
-
[string, string, BigNumber, string, BigNumber, string],
|
|
396
|
-
{
|
|
397
|
-
tokenAddress: string;
|
|
398
|
-
to: string;
|
|
399
|
-
amount: BigNumber;
|
|
400
|
-
paymentReference: string;
|
|
401
|
-
feeAmount: BigNumber;
|
|
402
|
-
feeAddress: string;
|
|
403
|
-
}
|
|
404
|
-
>;
|
|
405
406
|
};
|
|
406
407
|
|
|
407
408
|
estimateGas: {
|
|
409
|
+
approvePaymentProxyToSpend(
|
|
410
|
+
_erc20Address: string,
|
|
411
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
412
|
+
): Promise<BigNumber>;
|
|
413
|
+
|
|
408
414
|
batchERC20PaymentsMultiTokensWithReference(
|
|
409
415
|
_tokenAddresses: string[],
|
|
410
416
|
_recipients: string[],
|
|
@@ -440,7 +446,7 @@ export class BatchPayments extends BaseContract {
|
|
|
440
446
|
|
|
441
447
|
paymentErc20FeeProxy(overrides?: CallOverrides): Promise<BigNumber>;
|
|
442
448
|
|
|
443
|
-
|
|
449
|
+
paymentEthFeeProxy(overrides?: CallOverrides): Promise<BigNumber>;
|
|
444
450
|
|
|
445
451
|
renounceOwnership(
|
|
446
452
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
@@ -452,12 +458,12 @@ export class BatchPayments extends BaseContract {
|
|
|
452
458
|
): Promise<BigNumber>;
|
|
453
459
|
|
|
454
460
|
setPaymentErc20FeeProxy(
|
|
455
|
-
|
|
461
|
+
_paymentErc20FeeProxy: string,
|
|
456
462
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
457
463
|
): Promise<BigNumber>;
|
|
458
464
|
|
|
459
|
-
|
|
460
|
-
|
|
465
|
+
setPaymentEthFeeProxy(
|
|
466
|
+
_paymentEthFeeProxy: string,
|
|
461
467
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
462
468
|
): Promise<BigNumber>;
|
|
463
469
|
|
|
@@ -468,6 +474,11 @@ export class BatchPayments extends BaseContract {
|
|
|
468
474
|
};
|
|
469
475
|
|
|
470
476
|
populateTransaction: {
|
|
477
|
+
approvePaymentProxyToSpend(
|
|
478
|
+
_erc20Address: string,
|
|
479
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
480
|
+
): Promise<PopulatedTransaction>;
|
|
481
|
+
|
|
471
482
|
batchERC20PaymentsMultiTokensWithReference(
|
|
472
483
|
_tokenAddresses: string[],
|
|
473
484
|
_recipients: string[],
|
|
@@ -505,7 +516,7 @@ export class BatchPayments extends BaseContract {
|
|
|
505
516
|
overrides?: CallOverrides
|
|
506
517
|
): Promise<PopulatedTransaction>;
|
|
507
518
|
|
|
508
|
-
|
|
519
|
+
paymentEthFeeProxy(
|
|
509
520
|
overrides?: CallOverrides
|
|
510
521
|
): Promise<PopulatedTransaction>;
|
|
511
522
|
|
|
@@ -519,12 +530,12 @@ export class BatchPayments extends BaseContract {
|
|
|
519
530
|
): Promise<PopulatedTransaction>;
|
|
520
531
|
|
|
521
532
|
setPaymentErc20FeeProxy(
|
|
522
|
-
|
|
533
|
+
_paymentErc20FeeProxy: string,
|
|
523
534
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
524
535
|
): Promise<PopulatedTransaction>;
|
|
525
536
|
|
|
526
|
-
|
|
527
|
-
|
|
537
|
+
setPaymentEthFeeProxy(
|
|
538
|
+
_paymentEthFeeProxy: string,
|
|
528
539
|
overrides?: Overrides & { from?: string | Promise<string> }
|
|
529
540
|
): Promise<PopulatedTransaction>;
|
|
530
541
|
|