@requestnetwork/smart-contracts 0.28.1-next.1696 → 0.28.1-next.1698
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/dist/hardhat.config.js +2 -2
- package/dist/scripts/5_deploy-batch-erc-eth-deployment.d.ts +4 -0
- package/dist/scripts/5_deploy-batch-erc-eth-deployment.d.ts.map +1 -0
- package/dist/scripts/5_deploy-batch-erc-eth-deployment.js +34 -0
- package/dist/scripts/5_deploy-batch-erc-eth-deployment.js.map +1 -0
- package/dist/scripts/{5_deploy-all.d.ts → 6_deploy-all.d.ts} +2 -2
- package/dist/scripts/6_deploy-all.d.ts.map +1 -0
- package/dist/scripts/{5_deploy-all.js → 6_deploy-all.js} +3 -1
- package/dist/scripts/6_deploy-all.js.map +1 -0
- package/dist/src/lib/artifacts/BatchPayments/0.1.0.json +255 -0
- package/dist/src/lib/artifacts/BatchPayments/index.d.ts +4 -0
- package/dist/src/lib/artifacts/BatchPayments/index.d.ts.map +1 -0
- package/dist/src/lib/artifacts/BatchPayments/index.js +17 -0
- package/dist/src/lib/artifacts/BatchPayments/index.js.map +1 -0
- package/dist/src/lib/artifacts/index.d.ts +1 -0
- package/dist/src/lib/artifacts/index.d.ts.map +1 -1
- package/dist/src/lib/artifacts/index.js +1 -0
- package/dist/src/lib/artifacts/index.js.map +1 -1
- package/dist/src/types/BatchPayments.d.ts +536 -0
- package/dist/src/types/IEthereumFeeProxy.d.ts +155 -0
- package/dist/src/types/factories/BatchPayments__factory.d.ts +71 -0
- package/dist/src/types/factories/BatchPayments__factory.d.ts.map +1 -0
- package/dist/src/types/factories/BatchPayments__factory.js +344 -0
- package/dist/src/types/factories/BatchPayments__factory.js.map +1 -0
- 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/ERC20SwapToConversion__factory.d.ts +1 -1
- package/dist/src/types/factories/ERC20SwapToConversion__factory.js +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/Erc20ConversionProxy__factory.d.ts +1 -1
- package/dist/src/types/factories/Erc20ConversionProxy__factory.js +1 -1
- package/dist/src/types/factories/IEthereumFeeProxy__factory.d.ts +32 -0
- package/dist/src/types/factories/IEthereumFeeProxy__factory.d.ts.map +1 -0
- package/dist/src/types/factories/IEthereumFeeProxy__factory.js +85 -0
- package/dist/src/types/factories/IEthereumFeeProxy__factory.js.map +1 -0
- package/dist/src/types/hardhat.d.ts +8 -0
- package/dist/src/types/index.d.ts +4 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/types/index.js +5 -1
- package/dist/src/types/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/types/BatchPayments.d.ts +536 -0
- package/types/IEthereumFeeProxy.d.ts +155 -0
- package/types/factories/BatchPayments__factory.d.ts +71 -0
- package/types/factories/BatchPayments__factory.d.ts.map +1 -0
- package/types/factories/BatchPayments__factory.js +344 -0
- package/types/factories/BatchPayments__factory.js.map +1 -0
- package/types/factories/ERC20EscrowToPay__factory.d.ts +1 -1
- package/types/factories/ERC20EscrowToPay__factory.js +1 -1
- package/types/factories/ERC20SwapToConversion__factory.d.ts +1 -1
- package/types/factories/ERC20SwapToConversion__factory.js +1 -1
- package/types/factories/ERC20SwapToPay__factory.d.ts +1 -1
- package/types/factories/ERC20SwapToPay__factory.js +1 -1
- package/types/factories/Erc20ConversionProxy__factory.d.ts +1 -1
- package/types/factories/Erc20ConversionProxy__factory.js +1 -1
- package/types/factories/IEthereumFeeProxy__factory.d.ts +32 -0
- package/types/factories/IEthereumFeeProxy__factory.d.ts.map +1 -0
- package/types/factories/IEthereumFeeProxy__factory.js +85 -0
- package/types/factories/IEthereumFeeProxy__factory.js.map +1 -0
- package/types/hardhat.d.ts +8 -0
- package/types/index.d.ts +4 -0
- package/types/index.d.ts.map +1 -1
- package/types/index.js +5 -1
- package/types/index.js.map +1 -1
- package/dist/scripts/5_deploy-all.d.ts.map +0 -1
- package/dist/scripts/5_deploy-all.js.map +0 -1
package/dist/hardhat.config.js
CHANGED
|
@@ -8,7 +8,7 @@ require("@nomiclabs/hardhat-etherscan");
|
|
|
8
8
|
require("@nomiclabs/hardhat-ethers");
|
|
9
9
|
const config_1 = require("hardhat/config");
|
|
10
10
|
const dotenv_1 = require("dotenv");
|
|
11
|
-
const
|
|
11
|
+
const _6_deploy_all_1 = require("./scripts/6_deploy-all");
|
|
12
12
|
const deploy_payments_1 = require("./scripts/deploy-payments");
|
|
13
13
|
const prepare_payments_1 = require("./scripts/prepare-payments");
|
|
14
14
|
const check_deployer_1 = require("./scripts-create2/check-deployer");
|
|
@@ -156,7 +156,7 @@ exports.default = {
|
|
|
156
156
|
(0, config_1.task)('deploy-local-env', 'Deploy a local environment').setAction((args, hre) => (0, tslib_1.__awaiter)(void 0, void 0, void 0, function* () {
|
|
157
157
|
args.force = true;
|
|
158
158
|
yield hre.run(DEPLOYER_KEY_GUARD);
|
|
159
|
-
yield (0,
|
|
159
|
+
yield (0, _6_deploy_all_1.default)(args, hre);
|
|
160
160
|
console.log('All contracts (re)deployed locally');
|
|
161
161
|
}));
|
|
162
162
|
(0, config_1.task)('deploy-live-payments', 'Deploy payment contracts on a live network. Make sure to update all artifacts before running.')
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"5_deploy-batch-erc-eth-deployment.d.ts","sourceRoot":"","sources":["../../scripts/5_deploy-batch-erc-eth-deployment.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AACnC,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAI1D,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,yBAAyB,GAAG,OAAO,CAAC,GAAG,CAAC,CAuBhG"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.deployBatchPayment = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
require("@nomiclabs/hardhat-ethers");
|
|
6
|
+
const deploy_one_1 = require("../scripts/deploy-one");
|
|
7
|
+
// Deploys, set up the contracts
|
|
8
|
+
function deployBatchPayment(args, hre) {
|
|
9
|
+
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
|
|
10
|
+
try {
|
|
11
|
+
const ERC20FeeProxyAddress = '0x75c35C980C0d37ef46DF04d31A140b65503c0eEd';
|
|
12
|
+
const EthereumFeeProxyAddress = '0x3d49d1eF2adE060a33c6E6Aa213513A7EE9a6241';
|
|
13
|
+
// Deploy BatchPayments contract
|
|
14
|
+
const { address: BatchPaymentsAddress } = yield (0, deploy_one_1.deployOne)(args, hre, 'BatchPayments', {
|
|
15
|
+
constructorArguments: [
|
|
16
|
+
ERC20FeeProxyAddress,
|
|
17
|
+
EthereumFeeProxyAddress,
|
|
18
|
+
yield (yield hre.ethers.getSigners())[0].getAddress(),
|
|
19
|
+
],
|
|
20
|
+
});
|
|
21
|
+
console.log('BatchPaymentsAddress Contract deployed: ' + BatchPaymentsAddress);
|
|
22
|
+
// ----------------------------------
|
|
23
|
+
console.log('Contracts deployed');
|
|
24
|
+
console.log(`
|
|
25
|
+
BatchPaymentsAddress: ${BatchPaymentsAddress}
|
|
26
|
+
`);
|
|
27
|
+
}
|
|
28
|
+
catch (e) {
|
|
29
|
+
console.error(e);
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
exports.deployBatchPayment = deployBatchPayment;
|
|
34
|
+
//# sourceMappingURL=5_deploy-batch-erc-eth-deployment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"5_deploy-batch-erc-eth-deployment.js","sourceRoot":"","sources":["../../scripts/5_deploy-batch-erc-eth-deployment.ts"],"names":[],"mappings":";;;;AAAA,qCAAmC;AAEnC,sDAAkD;AAElD,gCAAgC;AAChC,SAAsB,kBAAkB,CAAC,IAAS,EAAE,GAA8B;;QAChF,IAAI;YACF,MAAM,oBAAoB,GAAG,4CAA4C,CAAC;YAC1E,MAAM,uBAAuB,GAAG,4CAA4C,CAAC;YAE7E,gCAAgC;YAChC,MAAM,EAAE,OAAO,EAAE,oBAAoB,EAAE,GAAG,MAAM,IAAA,sBAAS,EAAC,IAAI,EAAE,GAAG,EAAE,eAAe,EAAE;gBACpF,oBAAoB,EAAE;oBACpB,oBAAoB;oBACpB,uBAAuB;oBACvB,MAAM,CAAC,MAAM,GAAG,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE;iBACtD;aACF,CAAC,CAAC;YACH,OAAO,CAAC,GAAG,CAAC,0CAA0C,GAAG,oBAAoB,CAAC,CAAC;YAE/E,qCAAqC;YACrC,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;YAClC,OAAO,CAAC,GAAG,CAAC;oCACoB,oBAAoB;KACnD,CAAC,CAAC;SACJ;QAAC,OAAO,CAAC,EAAE;YACV,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;SAClB;IACH,CAAC;CAAA;AAvBD,gDAuBC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { HardhatRuntimeEnvironment } from 'hardhat/types';
|
|
2
|
-
export default function deploy(_args: any, hre: HardhatRuntimeEnvironment): Promise<
|
|
3
|
-
//# sourceMappingURL=
|
|
2
|
+
export default function deploy(_args: any, hre: HardhatRuntimeEnvironment): Promise<any>;
|
|
3
|
+
//# sourceMappingURL=6_deploy-all.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"6_deploy-all.d.ts","sourceRoot":"","sources":["../../scripts/6_deploy-all.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAC;AAQ1D,wBAA8B,MAAM,CAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,yBAAyB,GAAG,OAAO,CAAC,GAAG,CAAC,CAM7F"}
|
|
@@ -5,6 +5,7 @@ const _1_deploy_request_storage_1 = require("./1_deploy-request-storage");
|
|
|
5
5
|
const _2_deploy_main_payments_1 = require("./2_deploy-main-payments");
|
|
6
6
|
const _3_deploy_chainlink_contract_1 = require("./3_deploy_chainlink_contract");
|
|
7
7
|
const _4_deploy_escrow_deployment_1 = require("./4_deploy-escrow-deployment");
|
|
8
|
+
const _5_deploy_batch_erc_eth_deployment_1 = require("./5_deploy-batch-erc-eth-deployment");
|
|
8
9
|
// Deploys, set up the contracts
|
|
9
10
|
function deploy(_args, hre) {
|
|
10
11
|
return (0, tslib_1.__awaiter)(this, void 0, void 0, function* () {
|
|
@@ -12,7 +13,8 @@ function deploy(_args, hre) {
|
|
|
12
13
|
const mainPaymentAddresses = yield (0, _2_deploy_main_payments_1.default)(_args, hre);
|
|
13
14
|
yield (0, _3_deploy_chainlink_contract_1.default)(_args, hre, mainPaymentAddresses);
|
|
14
15
|
yield (0, _4_deploy_escrow_deployment_1.deployEscrow)(hre);
|
|
16
|
+
yield (0, _5_deploy_batch_erc_eth_deployment_1.deployBatchPayment)(_args, hre);
|
|
15
17
|
});
|
|
16
18
|
}
|
|
17
19
|
exports.default = deploy;
|
|
18
|
-
//# sourceMappingURL=
|
|
20
|
+
//# sourceMappingURL=6_deploy-all.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"6_deploy-all.js","sourceRoot":"","sources":["../../scripts/6_deploy-all.ts"],"names":[],"mappings":";;;AACA,0EAAuD;AACvD,sEAAqD;AACrD,gFAA6D;AAC7D,8EAA4D;AAC5D,4FAAyE;AAEzE,gCAAgC;AAChC,SAA8B,MAAM,CAAC,KAAU,EAAE,GAA8B;;QAC7E,MAAM,IAAA,mCAAa,EAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAChC,MAAM,oBAAoB,GAAG,MAAM,IAAA,iCAAa,EAAC,KAAK,EAAE,GAAG,CAAC,CAAC;QAC7D,MAAM,IAAA,sCAAgB,EAAC,KAAK,EAAE,GAAG,EAAE,oBAAoB,CAAC,CAAC;QACzD,MAAM,IAAA,0CAAY,EAAC,GAAG,CAAC,CAAC;QACxB,MAAM,IAAA,uDAAkB,EAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACvC,CAAC;CAAA;AAND,yBAMC"}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
{
|
|
2
|
+
"abi": [
|
|
3
|
+
{
|
|
4
|
+
"inputs": [
|
|
5
|
+
{
|
|
6
|
+
"internalType": "address",
|
|
7
|
+
"name": "_erc20FeeProxy",
|
|
8
|
+
"type": "address"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"internalType": "address",
|
|
12
|
+
"name": "_erc20FeeProxy",
|
|
13
|
+
"type": "address"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"internalType": "address",
|
|
17
|
+
"name": "_owner",
|
|
18
|
+
"type": "address"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"stateMutability": "nonpayable",
|
|
22
|
+
"type": "constructor"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"anonymous": false,
|
|
26
|
+
"inputs": [
|
|
27
|
+
{
|
|
28
|
+
"indexed": false,
|
|
29
|
+
"internalType": "address",
|
|
30
|
+
"name": "tokenAddress",
|
|
31
|
+
"type": "address"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"indexed": false,
|
|
35
|
+
"internalType": "address",
|
|
36
|
+
"name": "to",
|
|
37
|
+
"type": "address"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"indexed": false,
|
|
41
|
+
"internalType": "uint256",
|
|
42
|
+
"name": "amount",
|
|
43
|
+
"type": "uint256"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"indexed": true,
|
|
47
|
+
"internalType": "bytes",
|
|
48
|
+
"name": "paymentReference",
|
|
49
|
+
"type": "bytes"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"indexed": false,
|
|
53
|
+
"internalType": "uint256",
|
|
54
|
+
"name": "feeAmount",
|
|
55
|
+
"type": "uint256"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"indexed": false,
|
|
59
|
+
"internalType": "address",
|
|
60
|
+
"name": "feeAddress",
|
|
61
|
+
"type": "address"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"name": "TransferWithReferenceAndFee",
|
|
65
|
+
"type": "event"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"inputs": [
|
|
69
|
+
{
|
|
70
|
+
"internalType": "address",
|
|
71
|
+
"name": "_tokenAddress",
|
|
72
|
+
"type": "address"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"internalType": "address[]",
|
|
76
|
+
"name": "_recipients",
|
|
77
|
+
"type": "address[]"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"internalType": "uint256[]",
|
|
81
|
+
"name": "_values",
|
|
82
|
+
"type": "uint256[]"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"internalType": "bytes[]",
|
|
86
|
+
"name": "_paymentReferences",
|
|
87
|
+
"type": "bytes[]"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"internalType": "uint256[]",
|
|
91
|
+
"name": "_feeAmount",
|
|
92
|
+
"type": "uint256[]"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"internalType": "address",
|
|
96
|
+
"name": "_feeAddress",
|
|
97
|
+
"type": "address"
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
"name": "batchERC20PaymentsWithReference",
|
|
101
|
+
"outputs": [],
|
|
102
|
+
"stateMutability": "nonpayable",
|
|
103
|
+
"type": "function"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"inputs": [
|
|
107
|
+
{
|
|
108
|
+
"internalType": "address[]",
|
|
109
|
+
"name": "_recipients",
|
|
110
|
+
"type": "address[]"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"internalType": "uint256[]",
|
|
114
|
+
"name": "_values",
|
|
115
|
+
"type": "uint256[]"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"internalType": "bytes[]",
|
|
119
|
+
"name": "_paymentReferences",
|
|
120
|
+
"type": "bytes[]"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"internalType": "uint256[]",
|
|
124
|
+
"name": "_feeAmount",
|
|
125
|
+
"type": "uint256[]"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"internalType": "address payable",
|
|
129
|
+
"name": "_feeAddress",
|
|
130
|
+
"type": "address"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"name": "batchEthPaymentsWithReference",
|
|
134
|
+
"outputs": [],
|
|
135
|
+
"stateMutability": "payable",
|
|
136
|
+
"type": "function"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"inputs": [
|
|
140
|
+
{
|
|
141
|
+
"internalType": "uint256",
|
|
142
|
+
"name": "_feeBatch",
|
|
143
|
+
"type": "uint256"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"name": "setBatchFee",
|
|
147
|
+
"outputs": [],
|
|
148
|
+
"stateMutability": "nonpayable",
|
|
149
|
+
"type": "function"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"inputs": [
|
|
153
|
+
{
|
|
154
|
+
"internalType": "address[]",
|
|
155
|
+
"name": "_tokenAddresses",
|
|
156
|
+
"type": "address[]"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"internalType": "address[]",
|
|
160
|
+
"name": "_recipients",
|
|
161
|
+
"type": "address[]"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"internalType": "uint256[]",
|
|
165
|
+
"name": "_values",
|
|
166
|
+
"type": "uint256[]"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"internalType": "bytes[]",
|
|
170
|
+
"name": "_paymentReferences",
|
|
171
|
+
"type": "bytes[]"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"internalType": "uint256[]",
|
|
175
|
+
"name": "_feeAmount",
|
|
176
|
+
"type": "uint256[]"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"internalType": "address",
|
|
180
|
+
"name": "_feeAddress",
|
|
181
|
+
"type": "address"
|
|
182
|
+
}
|
|
183
|
+
],
|
|
184
|
+
"name": "batchERC20PaymentsMultiTokensWithReference",
|
|
185
|
+
"outputs": [],
|
|
186
|
+
"stateMutability": "nonpayable",
|
|
187
|
+
"type": "function"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"inputs": [],
|
|
191
|
+
"name": "erc20FeeProxy",
|
|
192
|
+
"outputs": [
|
|
193
|
+
{
|
|
194
|
+
"internalType": "contract IERC20FeeProxy",
|
|
195
|
+
"name": "",
|
|
196
|
+
"type": "address"
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"stateMutability": "view",
|
|
200
|
+
"type": "function"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"inputs": [],
|
|
204
|
+
"name": "recieve",
|
|
205
|
+
"outputs": [],
|
|
206
|
+
"stateMutability": "payable",
|
|
207
|
+
"type": "function"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"constant": true,
|
|
211
|
+
"inputs": [],
|
|
212
|
+
"name": "paymentEthereumFeeProxy",
|
|
213
|
+
"outputs": [
|
|
214
|
+
{
|
|
215
|
+
"internalType": "contract IEthereumFeeProxy",
|
|
216
|
+
"name": "",
|
|
217
|
+
"type": "address"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"payable": false,
|
|
221
|
+
"stateMutability": "view",
|
|
222
|
+
"type": "function"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"constant": true,
|
|
226
|
+
"inputs": [],
|
|
227
|
+
"name": "paymentErc20FeeProxy",
|
|
228
|
+
"outputs": [
|
|
229
|
+
{
|
|
230
|
+
"internalType": "contract IERC20FeeProxy",
|
|
231
|
+
"name": "",
|
|
232
|
+
"type": "address"
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"payable": false,
|
|
236
|
+
"stateMutability": "view",
|
|
237
|
+
"type": "function"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"constant": true,
|
|
241
|
+
"inputs": [],
|
|
242
|
+
"name": "batchFee",
|
|
243
|
+
"outputs": [
|
|
244
|
+
{
|
|
245
|
+
"internalType": "uint256",
|
|
246
|
+
"name": "",
|
|
247
|
+
"type": "uint256"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"payable": false,
|
|
251
|
+
"stateMutability": "view",
|
|
252
|
+
"type": "function"
|
|
253
|
+
}
|
|
254
|
+
]
|
|
255
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/artifacts/BatchPayments/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAI1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,eAAO,MAAM,qBAAqB,iCAajC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.batchPaymentsArtifact = void 0;
|
|
4
|
+
const ContractArtifact_1 = require("../../ContractArtifact");
|
|
5
|
+
const _0_1_0_json_1 = require("./0.1.0.json");
|
|
6
|
+
exports.batchPaymentsArtifact = new ContractArtifact_1.ContractArtifact({
|
|
7
|
+
'0.1.0': {
|
|
8
|
+
abi: _0_1_0_json_1.abi,
|
|
9
|
+
deployment: {
|
|
10
|
+
private: {
|
|
11
|
+
address: '0x74e3FC764c2474f25369B9d021b7F92e8441A2Dc',
|
|
12
|
+
creationBlockNumber: 0,
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
}, '0.1.0');
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/artifacts/BatchPayments/index.ts"],"names":[],"mappings":";;;AAAA,6DAA0D;AAE1D,8CAAgD;AAInC,QAAA,qBAAqB,GAAG,IAAI,mCAAgB,CACvD;IACE,OAAO,EAAE;QACP,GAAG,EAAE,iBAAS;QACd,UAAU,EAAE;YACV,OAAO,EAAE;gBACP,OAAO,EAAE,4CAA4C;gBACrD,mBAAmB,EAAE,CAAC;aACvB;SACF;KACF;CACF,EACD,OAAO,CACR,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/artifacts/index.ts"],"names":[],"mappings":"AAGA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC;;GAEG;AACH,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/artifacts/index.ts"],"names":[],"mappings":"AAGA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC;;GAEG;AACH,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC"}
|
|
@@ -14,6 +14,7 @@ const tslib_1 = require("tslib");
|
|
|
14
14
|
(0, tslib_1.__exportStar)(require("./EthereumFeeProxy"), exports);
|
|
15
15
|
(0, tslib_1.__exportStar)(require("./EthConversionProxy"), exports);
|
|
16
16
|
(0, tslib_1.__exportStar)(require("./ERC20EscrowToPay"), exports);
|
|
17
|
+
(0, tslib_1.__exportStar)(require("./BatchPayments"), exports);
|
|
17
18
|
/**
|
|
18
19
|
* Request Storage
|
|
19
20
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/artifacts/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,yEAA0C;AAC1C,sEAAuC;AACvC,+DAAgC;AAChC,4DAA6B;AAC7B,gEAAiC;AACjC,qEAAsC;AACtC,+DAAgC;AAChC,kEAAmC;AACnC,oEAAqC;AACrC,kEAAmC;AACnC;;GAEG;AACH,oEAAqC;AACrC,sEAAuC;AACvC,iEAAkC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/artifacts/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,yEAA0C;AAC1C,sEAAuC;AACvC,+DAAgC;AAChC,4DAA6B;AAC7B,gEAAiC;AACjC,qEAAsC;AACtC,+DAAgC;AAChC,kEAAmC;AACnC,oEAAqC;AACrC,kEAAmC;AACnC,+DAAgC;AAChC;;GAEG;AACH,oEAAqC;AACrC,sEAAuC;AACvC,iEAAkC"}
|