@requestnetwork/smart-contracts 0.28.1-next.1693 → 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
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
ethers,
|
|
7
|
+
EventFilter,
|
|
8
|
+
Signer,
|
|
9
|
+
BigNumber,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
BaseContract,
|
|
13
|
+
ContractTransaction,
|
|
14
|
+
PayableOverrides,
|
|
15
|
+
CallOverrides,
|
|
16
|
+
} from "ethers";
|
|
17
|
+
import { BytesLike } from "@ethersproject/bytes";
|
|
18
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
19
|
+
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
|
|
20
|
+
import { TypedEventFilter, TypedEvent, TypedListener } from "./commons";
|
|
21
|
+
|
|
22
|
+
interface IEthereumFeeProxyInterface extends ethers.utils.Interface {
|
|
23
|
+
functions: {
|
|
24
|
+
"transferWithReferenceAndFee(address,bytes,uint256,address)": FunctionFragment;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
encodeFunctionData(
|
|
28
|
+
functionFragment: "transferWithReferenceAndFee",
|
|
29
|
+
values: [string, BytesLike, BigNumberish, string]
|
|
30
|
+
): string;
|
|
31
|
+
|
|
32
|
+
decodeFunctionResult(
|
|
33
|
+
functionFragment: "transferWithReferenceAndFee",
|
|
34
|
+
data: BytesLike
|
|
35
|
+
): Result;
|
|
36
|
+
|
|
37
|
+
events: {
|
|
38
|
+
"TransferWithReferenceAndFee(address,uint256,bytes,uint256,address)": EventFragment;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
getEvent(
|
|
42
|
+
nameOrSignatureOrTopic: "TransferWithReferenceAndFee"
|
|
43
|
+
): EventFragment;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class IEthereumFeeProxy extends BaseContract {
|
|
47
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
48
|
+
attach(addressOrName: string): this;
|
|
49
|
+
deployed(): Promise<this>;
|
|
50
|
+
|
|
51
|
+
listeners<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
52
|
+
eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>
|
|
53
|
+
): Array<TypedListener<EventArgsArray, EventArgsObject>>;
|
|
54
|
+
off<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
55
|
+
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
|
|
56
|
+
listener: TypedListener<EventArgsArray, EventArgsObject>
|
|
57
|
+
): this;
|
|
58
|
+
on<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
59
|
+
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
|
|
60
|
+
listener: TypedListener<EventArgsArray, EventArgsObject>
|
|
61
|
+
): this;
|
|
62
|
+
once<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
63
|
+
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
|
|
64
|
+
listener: TypedListener<EventArgsArray, EventArgsObject>
|
|
65
|
+
): this;
|
|
66
|
+
removeListener<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
67
|
+
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
|
|
68
|
+
listener: TypedListener<EventArgsArray, EventArgsObject>
|
|
69
|
+
): this;
|
|
70
|
+
removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
71
|
+
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
|
|
72
|
+
): this;
|
|
73
|
+
|
|
74
|
+
listeners(eventName?: string): Array<Listener>;
|
|
75
|
+
off(eventName: string, listener: Listener): this;
|
|
76
|
+
on(eventName: string, listener: Listener): this;
|
|
77
|
+
once(eventName: string, listener: Listener): this;
|
|
78
|
+
removeListener(eventName: string, listener: Listener): this;
|
|
79
|
+
removeAllListeners(eventName?: string): this;
|
|
80
|
+
|
|
81
|
+
queryFilter<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
82
|
+
event: TypedEventFilter<EventArgsArray, EventArgsObject>,
|
|
83
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
84
|
+
toBlock?: string | number | undefined
|
|
85
|
+
): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>;
|
|
86
|
+
|
|
87
|
+
interface: IEthereumFeeProxyInterface;
|
|
88
|
+
|
|
89
|
+
functions: {
|
|
90
|
+
transferWithReferenceAndFee(
|
|
91
|
+
_to: string,
|
|
92
|
+
_paymentReference: BytesLike,
|
|
93
|
+
_feeAmount: BigNumberish,
|
|
94
|
+
_feeAddress: string,
|
|
95
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
96
|
+
): Promise<ContractTransaction>;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
transferWithReferenceAndFee(
|
|
100
|
+
_to: string,
|
|
101
|
+
_paymentReference: BytesLike,
|
|
102
|
+
_feeAmount: BigNumberish,
|
|
103
|
+
_feeAddress: string,
|
|
104
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
105
|
+
): Promise<ContractTransaction>;
|
|
106
|
+
|
|
107
|
+
callStatic: {
|
|
108
|
+
transferWithReferenceAndFee(
|
|
109
|
+
_to: string,
|
|
110
|
+
_paymentReference: BytesLike,
|
|
111
|
+
_feeAmount: BigNumberish,
|
|
112
|
+
_feeAddress: string,
|
|
113
|
+
overrides?: CallOverrides
|
|
114
|
+
): Promise<void>;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
filters: {
|
|
118
|
+
TransferWithReferenceAndFee(
|
|
119
|
+
to?: null,
|
|
120
|
+
amount?: null,
|
|
121
|
+
paymentReference?: BytesLike | null,
|
|
122
|
+
feeAmount?: null,
|
|
123
|
+
feeAddress?: null
|
|
124
|
+
): TypedEventFilter<
|
|
125
|
+
[string, BigNumber, string, BigNumber, string],
|
|
126
|
+
{
|
|
127
|
+
to: string;
|
|
128
|
+
amount: BigNumber;
|
|
129
|
+
paymentReference: string;
|
|
130
|
+
feeAmount: BigNumber;
|
|
131
|
+
feeAddress: string;
|
|
132
|
+
}
|
|
133
|
+
>;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
estimateGas: {
|
|
137
|
+
transferWithReferenceAndFee(
|
|
138
|
+
_to: string,
|
|
139
|
+
_paymentReference: BytesLike,
|
|
140
|
+
_feeAmount: BigNumberish,
|
|
141
|
+
_feeAddress: string,
|
|
142
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
143
|
+
): Promise<BigNumber>;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
populateTransaction: {
|
|
147
|
+
transferWithReferenceAndFee(
|
|
148
|
+
_to: string,
|
|
149
|
+
_paymentReference: BytesLike,
|
|
150
|
+
_feeAmount: BigNumberish,
|
|
151
|
+
_feeAddress: string,
|
|
152
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
153
|
+
): Promise<PopulatedTransaction>;
|
|
154
|
+
};
|
|
155
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Signer, ContractFactory, Overrides } from "ethers";
|
|
2
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
+
import type { BatchPayments, BatchPaymentsInterface } from "../BatchPayments";
|
|
4
|
+
export declare class BatchPayments__factory extends ContractFactory {
|
|
5
|
+
constructor(signer?: Signer);
|
|
6
|
+
deploy(_paymentErc20FeeProxy: string, _paymentEthereumFeeProxy: string, _owner: string, overrides?: Overrides & {
|
|
7
|
+
from?: string | Promise<string>;
|
|
8
|
+
}): Promise<BatchPayments>;
|
|
9
|
+
getDeployTransaction(_paymentErc20FeeProxy: string, _paymentEthereumFeeProxy: string, _owner: string, overrides?: Overrides & {
|
|
10
|
+
from?: string | Promise<string>;
|
|
11
|
+
}): TransactionRequest;
|
|
12
|
+
attach(address: string): BatchPayments;
|
|
13
|
+
connect(signer: Signer): BatchPayments__factory;
|
|
14
|
+
static readonly bytecode = "0x60806040523480156200001157600080fd5b5060405162002b3f38038062002b3f833981810160405281019062000037919062000377565b620000576200004b6200010260201b60201c565b6200010a60201b60201c565b6001808190555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600281905550620000f981620001ce60201b60201c565b505050620004ee565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001de6200010260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000204620002e460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200025d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002549062000434565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620002d0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002c790620004cc565b60405180910390fd5b620002e1816200010a60201b60201c565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200033f8262000312565b9050919050565b620003518162000332565b81146200035d57600080fd5b50565b600081519050620003718162000346565b92915050565b6000806000606084860312156200039357620003926200030d565b5b6000620003a38682870162000360565b9350506020620003b68682870162000360565b9250506040620003c98682870162000360565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200041c602083620003d3565b91506200042982620003e4565b602082019050919050565b600060208201905081810360008301526200044f816200040d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000620004b4602683620003d3565b9150620004c18262000456565b604082019050919050565b60006020820190508181036000830152620004e781620004a5565b9050919050565b61264180620004fe6000396000f3fe6080604052600436106100ab5760003560e01c8063c6e6d98b11610064578063c6e6d98b14610194578063d5073f6f146101bd578063db2a395e146101e6578063f2fde38b1461020f578063f8b823e414610238578063fa73314214610263576100b2565b806310ed2566146100b757806322411509146100e05780632cd3814b1461010b578063715018a61461013657806373535e551461014d5780638da5cb5b14610169576100b2565b366100b257005b600080fd5b3480156100c357600080fd5b506100de60048036038101906100d991906116e2565b61028c565b005b3480156100ec57600080fd5b506100f561034c565b604051610102919061176e565b60405180910390f35b34801561011757600080fd5b50610120610372565b60405161012d91906117aa565b60405180910390f35b34801561014257600080fd5b5061014b610398565b005b61016760048036038101906101629190611914565b610420565b005b34801561017557600080fd5b5061017e6108ad565b60405161018b9190611a1f565b60405180910390f35b3480156101a057600080fd5b506101bb60048036038101906101b69190611a3a565b6108d6565b005b3480156101c957600080fd5b506101e460048036038101906101df9190611b80565b610bde565b005b3480156101f257600080fd5b5061020d600480360381019061020891906116e2565b610c64565b005b34801561021b57600080fd5b50610236600480360381019061023191906116e2565b610d24565b005b34801561024457600080fd5b5061024d610e1c565b60405161025a9190611bbc565b60405180910390f35b34801561026f57600080fd5b5061028a60048036038101906102859190611bd7565b610e22565b005b61029461142f565b73ffffffffffffffffffffffffffffffffffffffff166102b26108ad565b73ffffffffffffffffffffffffffffffffffffffff1614610308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ff90611d65565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6103a061142f565b73ffffffffffffffffffffffffffffffffffffffff166103be6108ad565b73ffffffffffffffffffffffffffffffffffffffff1614610414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040b90611d65565b60405180910390fd5b61041e6000611437565b565b60026001541415610466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045d90611dd1565b60405180910390fd5b6002600181905550868690508989905014801561048857508484905089899050145b801561049957508282905089899050145b6104d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104cf90611e63565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561051e573d6000803e3d6000fd5b5060003490506000805b8b8b90508110156107a45760006103e86002548c8c8581811061054e5761054d611e83565b5b9050602002013561055f9190611ee1565b6105699190611f6a565b90508087878481811061057f5761057e611e83565b5b905060200201358c8c8581811061059957610598611e83565b5b905060200201356105aa9190611f9b565b6105b49190611f9b565b8410156105f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ed9061203d565b60405180910390fd5b80836106029190611f9b565b92508087878481811061061857610617611e83565b5b905060200201358c8c8581811061063257610631611e83565b5b905060200201356106439190611f9b565b61064d9190611f9b565b84610658919061205d565b9350600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b868980b8888858181106106ab576106aa611e83565b5b905060200201358d8d868181106106c5576106c4611e83565b5b905060200201356106d69190611f9b565b8f8f868181106106e9576106e8611e83565b5b90506020020160208101906106fe91906116e2565b8c8c8781811061071157610710611e83565b5b905060200281019061072391906120a0565b8c8c8981811061073657610735611e83565b5b905060200201358b6040518763ffffffff1660e01b815260040161075e959493929190612170565b6000604051808303818588803b15801561077757600080fd5b505af115801561078b573d6000803e3d6000fd5b505050505050808061079c906121be565b915050610528565b508273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156107eb573d6000803e3d6000fd5b5060003373ffffffffffffffffffffffffffffffffffffffff168360405161081290612238565b60006040518083038185875af1925050503d806000811461084f576040519150601f19603f3d011682016040523d82523d6000602084013e610854565b606091505b5050905080610898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088f906122bf565b60405180910390fd5b50505060018081905550505050505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b86869050898990501480156108f057508484905089899050145b801561090157508282905089899050145b610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093790611e63565b60405180910390fd5b6000805b8a8a9050811015610b6c5788888281811061096257610961611e83565b5b90506020020135826109749190611f9b565b91506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168d8d8d858181106109c5576109c4611e83565b5b90506020020160208101906109da91906116e2565b8c8c868181106109ed576109ec611e83565b5b905060200201358b8b87818110610a0757610a06611e83565b5b9050602002810190610a1991906120a0565b8b8b89818110610a2c57610a2b611e83565b5b905060200201358a604051602401610a4a97969594939291906122df565b6040516020818303038152906040527fc219a14d000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610ad491906123b8565b600060405180830381855af49150503d8060008114610b0f576040519150601f19603f3d011682016040523d82523d6000602084013e610b14565b606091505b5050905080610b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4f9061241b565b60405180910390fd5b508080610b64906121be565b915050610944565b50610b928b836103e860025485610b839190611ee1565b610b8d9190611f6a565b6114fb565b610bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc890612487565b60405180910390fd5b5050505050505050505050565b610be661142f565b73ffffffffffffffffffffffffffffffffffffffff16610c046108ad565b73ffffffffffffffffffffffffffffffffffffffff1614610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5190611d65565b60405180910390fd5b8060028190555050565b610c6c61142f565b73ffffffffffffffffffffffffffffffffffffffff16610c8a6108ad565b73ffffffffffffffffffffffffffffffffffffffff1614610ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd790611d65565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610d2c61142f565b73ffffffffffffffffffffffffffffffffffffffff16610d4a6108ad565b73ffffffffffffffffffffffffffffffffffffffff1614610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9790611d65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0790612519565b60405180910390fd5b610e1981611437565b50565b60025481565b888890508b8b9050148015610e3c5750868690508b8b9050145b8015610e4d5750848490508b8b9050145b8015610e5e5750828290508b8b9050145b610e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9490611e63565b60405180910390fd5b60008b8b905067ffffffffffffffff811115610ebc57610ebb612539565b5b604051908082528060200260200182016040528015610eea5781602001602082028036833780820191505090505b50905060008c8c905067ffffffffffffffff811115610f0c57610f0b612539565b5b604051908082528060200260200182016040528015610f3a5781602001602082028036833780820191505090505b50905060005b8b8b90508110156113205760005b8351811015611102578e8e83818110610f6a57610f69611e83565b5b9050602002016020810190610f7f91906116e2565b73ffffffffffffffffffffffffffffffffffffffff16848281518110610fa857610fa7611e83565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415611019578a8a83818110610fdf57610fde611e83565b5b90506020020135838281518110610ff957610ff8611e83565b5b6020026020010181815161100d9190611f9b565b91508181525050611102565b600083828151811061102e5761102d611e83565b5b602002602001015114156110ef578e8e8381811061104f5761104e611e83565b5b905060200201602081019061106491906116e2565b84828151811061107757611076611e83565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508a8a838181106110c4576110c3611e83565b5b905060200201358382815181106110de576110dd611e83565b5b602002602001018181525050611102565b80806110fa906121be565b915050610f4e565b506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168f8f8481811061115157611150611e83565b5b905060200201602081019061116691906116e2565b8e8e8581811061117957611178611e83565b5b905060200201602081019061118e91906116e2565b8d8d868181106111a1576111a0611e83565b5b905060200201358c8c878181106111bb576111ba611e83565b5b90506020028101906111cd91906120a0565b8c8c898181106111e0576111df611e83565b5b905060200201358b6040516024016111fe97969594939291906122df565b6040516020818303038152906040527fc219a14d000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161128891906123b8565b600060405180830381855af49150503d80600081146112c3576040519150601f19603f3d011682016040523d82523d6000602084013e6112c8565b606091505b505090508061130c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113039061241b565b60405180910390fd5b508080611318906121be565b915050610f40565b5060005b82518110801561134e5750600082828151811061134457611343611e83565b5b6020026020010151115b1561141f576113ac83828151811061136957611368611e83565b5b6020026020010151856103e860025486868151811061138b5761138a611e83565b5b602002602001015161139d9190611ee1565b6113a79190611f6a565b6114fb565b6113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e290612487565b60405180910390fd5b6000828281518110611400576113ff611e83565b5b6020026020010181815250508080611417906121be565b915050611324565b5050505050505050505050505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000833b61150857600080fd5b60008473ffffffffffffffffffffffffffffffffffffffff1633858560405160240161153693929190612568565b6040516020818303038152906040527f23b872dd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516115c091906123b8565b6000604051808303816000865af19150503d80600081146115fd576040519150601f19603f3d011682016040523d82523d6000602084013e611602565b606091505b505090503d6000811461161c576020811461162557600080fd5b60019250611631565b60206000803e60005192505b5080611672576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611669906125eb565b60405180910390fd5b509392505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006116af82611684565b9050919050565b6116bf816116a4565b81146116ca57600080fd5b50565b6000813590506116dc816116b6565b92915050565b6000602082840312156116f8576116f761167a565b5b6000611706848285016116cd565b91505092915050565b6000819050919050565b600061173461172f61172a84611684565b61170f565b611684565b9050919050565b600061174682611719565b9050919050565b60006117588261173b565b9050919050565b6117688161174d565b82525050565b6000602082019050611783600083018461175f565b92915050565b60006117948261173b565b9050919050565b6117a481611789565b82525050565b60006020820190506117bf600083018461179b565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126117ea576117e96117c5565b5b8235905067ffffffffffffffff811115611807576118066117ca565b5b602083019150836020820283011115611823576118226117cf565b5b9250929050565b60008083601f8401126118405761183f6117c5565b5b8235905067ffffffffffffffff81111561185d5761185c6117ca565b5b602083019150836020820283011115611879576118786117cf565b5b9250929050565b60008083601f840112611896576118956117c5565b5b8235905067ffffffffffffffff8111156118b3576118b26117ca565b5b6020830191508360208202830111156118cf576118ce6117cf565b5b9250929050565b60006118e182611684565b9050919050565b6118f1816118d6565b81146118fc57600080fd5b50565b60008135905061190e816118e8565b92915050565b600080600080600080600080600060a08a8c0312156119365761193561167a565b5b60008a013567ffffffffffffffff8111156119545761195361167f565b5b6119608c828d016117d4565b995099505060208a013567ffffffffffffffff8111156119835761198261167f565b5b61198f8c828d0161182a565b975097505060408a013567ffffffffffffffff8111156119b2576119b161167f565b5b6119be8c828d01611880565b955095505060608a013567ffffffffffffffff8111156119e1576119e061167f565b5b6119ed8c828d0161182a565b93509350506080611a008c828d016118ff565b9150509295985092959850929598565b611a19816116a4565b82525050565b6000602082019050611a346000830184611a10565b92915050565b60008060008060008060008060008060c08b8d031215611a5d57611a5c61167a565b5b6000611a6b8d828e016116cd565b9a505060208b013567ffffffffffffffff811115611a8c57611a8b61167f565b5b611a988d828e016117d4565b995099505060408b013567ffffffffffffffff811115611abb57611aba61167f565b5b611ac78d828e0161182a565b975097505060608b013567ffffffffffffffff811115611aea57611ae961167f565b5b611af68d828e01611880565b955095505060808b013567ffffffffffffffff811115611b1957611b1861167f565b5b611b258d828e0161182a565b935093505060a0611b388d828e016116cd565b9150509295989b9194979a5092959850565b6000819050919050565b611b5d81611b4a565b8114611b6857600080fd5b50565b600081359050611b7a81611b54565b92915050565b600060208284031215611b9657611b9561167a565b5b6000611ba484828501611b6b565b91505092915050565b611bb681611b4a565b82525050565b6000602082019050611bd16000830184611bad565b92915050565b600080600080600080600080600080600060c08c8e031215611bfc57611bfb61167a565b5b60008c013567ffffffffffffffff811115611c1a57611c1961167f565b5b611c268e828f016117d4565b9b509b505060208c013567ffffffffffffffff811115611c4957611c4861167f565b5b611c558e828f016117d4565b995099505060408c013567ffffffffffffffff811115611c7857611c7761167f565b5b611c848e828f0161182a565b975097505060608c013567ffffffffffffffff811115611ca757611ca661167f565b5b611cb38e828f01611880565b955095505060808c013567ffffffffffffffff811115611cd657611cd561167f565b5b611ce28e828f0161182a565b935093505060a0611cf58e828f016116cd565b9150509295989b509295989b9093969950565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611d4f602083611d08565b9150611d5a82611d19565b602082019050919050565b60006020820190508181036000830152611d7e81611d42565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000611dbb601f83611d08565b9150611dc682611d85565b602082019050919050565b60006020820190508181036000830152611dea81611dae565b9050919050565b7f74686520696e70757420617272617973206d757374206861766520746865207360008201527f616d65206c656e67746800000000000000000000000000000000000000000000602082015250565b6000611e4d602a83611d08565b9150611e5882611df1565b604082019050919050565b60006020820190508181036000830152611e7c81611e40565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611eec82611b4a565b9150611ef783611b4a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611f3057611f2f611eb2565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611f7582611b4a565b9150611f8083611b4a565b925082611f9057611f8f611f3b565b5b828204905092915050565b6000611fa682611b4a565b9150611fb183611b4a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611fe657611fe5611eb2565b5b828201905092915050565b7f6e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b6000612027601083611d08565b915061203282611ff1565b602082019050919050565b600060208201905081810360008301526120568161201a565b9050919050565b600061206882611b4a565b915061207383611b4a565b92508282101561208657612085611eb2565b5b828203905092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126120bd576120bc612091565b5b80840192508235915067ffffffffffffffff8211156120df576120de612096565b5b6020830192506001820236038313156120fb576120fa61209b565b5b509250929050565b61210c816118d6565b82525050565b600082825260208201905092915050565b82818337600083830152505050565b6000601f19601f8301169050919050565b600061214f8385612112565b935061215c838584612123565b61216583612132565b840190509392505050565b60006080820190506121856000830188612103565b8181036020830152612198818688612143565b90506121a76040830185611bad565b6121b46060830184612103565b9695505050505050565b60006121c982611b4a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156121fc576121fb611eb2565b5b600182019050919050565b600081905092915050565b50565b6000612222600083612207565b915061222d82612212565b600082019050919050565b600061224382612215565b9150819050919050565b7f436f756c64206e6f742073656e642072656d61696e696e672066756e6473207460008201527f6f20746865207061796572000000000000000000000000000000000000000000602082015250565b60006122a9602b83611d08565b91506122b48261224d565b604082019050919050565b600060208201905081810360008301526122d88161229c565b9050919050565b600060c0820190506122f4600083018a611a10565b6123016020830189611a10565b61230e6040830188611bad565b8181036060830152612321818688612143565b90506123306080830185611bad565b61233d60a0830184611a10565b98975050505050505050565b600081519050919050565b60005b83811015612372578082015181840152602081019050612357565b83811115612381576000848401525b50505050565b600061239282612349565b61239c8185612207565b93506123ac818560208601612354565b80840191505092915050565b60006123c48284612387565b915081905092915050565b7f7472616e7366657246726f6d576974685265666572656e6365206661696c6564600082015250565b6000612405602083611d08565b9150612410826123cf565b602082019050919050565b60006020820190508181036000830152612434816123f8565b9050919050565b7f626174636820666565207472616e7366657246726f6d2829206661696c656400600082015250565b6000612471601f83611d08565b915061247c8261243b565b602082019050919050565b600060208201905081810360008301526124a081612464565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612503602683611d08565b915061250e826124a7565b604082019050919050565b60006020820190508181036000830152612532816124f6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060608201905061257d6000830186611a10565b61258a6020830185611a10565b6125976040830184611bad565b949350505050565b7f7472616e7366657246726f6d282920686173206265656e207265766572746564600082015250565b60006125d5602083611d08565b91506125e08261259f565b602082019050919050565b60006020820190508181036000830152612604816125c8565b905091905056fea2646970667358221220d3ffa970f3e7d4953654a29d6a64c8982224e6c953939d3cfbe4d0c101877f1964736f6c63430008090033";
|
|
15
|
+
static readonly abi: ({
|
|
16
|
+
inputs: {
|
|
17
|
+
internalType: string;
|
|
18
|
+
name: string;
|
|
19
|
+
type: string;
|
|
20
|
+
}[];
|
|
21
|
+
stateMutability: string;
|
|
22
|
+
type: string;
|
|
23
|
+
anonymous?: undefined;
|
|
24
|
+
name?: undefined;
|
|
25
|
+
outputs?: undefined;
|
|
26
|
+
} | {
|
|
27
|
+
anonymous: boolean;
|
|
28
|
+
inputs: {
|
|
29
|
+
indexed: boolean;
|
|
30
|
+
internalType: string;
|
|
31
|
+
name: string;
|
|
32
|
+
type: string;
|
|
33
|
+
}[];
|
|
34
|
+
name: string;
|
|
35
|
+
type: string;
|
|
36
|
+
stateMutability?: undefined;
|
|
37
|
+
outputs?: undefined;
|
|
38
|
+
} | {
|
|
39
|
+
inputs: {
|
|
40
|
+
internalType: string;
|
|
41
|
+
name: string;
|
|
42
|
+
type: string;
|
|
43
|
+
}[];
|
|
44
|
+
name: string;
|
|
45
|
+
outputs: never[];
|
|
46
|
+
stateMutability: string;
|
|
47
|
+
type: string;
|
|
48
|
+
anonymous?: undefined;
|
|
49
|
+
} | {
|
|
50
|
+
inputs: never[];
|
|
51
|
+
name: string;
|
|
52
|
+
outputs: {
|
|
53
|
+
internalType: string;
|
|
54
|
+
name: string;
|
|
55
|
+
type: string;
|
|
56
|
+
}[];
|
|
57
|
+
stateMutability: string;
|
|
58
|
+
type: string;
|
|
59
|
+
anonymous?: undefined;
|
|
60
|
+
} | {
|
|
61
|
+
stateMutability: string;
|
|
62
|
+
type: string;
|
|
63
|
+
inputs?: undefined;
|
|
64
|
+
anonymous?: undefined;
|
|
65
|
+
name?: undefined;
|
|
66
|
+
outputs?: undefined;
|
|
67
|
+
})[];
|
|
68
|
+
static createInterface(): BatchPaymentsInterface;
|
|
69
|
+
static connect(address: string, signerOrProvider: Signer | Provider): BatchPayments;
|
|
70
|
+
}
|
|
71
|
+
//# sourceMappingURL=BatchPayments__factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BatchPayments__factory.d.ts","sourceRoot":"","sources":["../../../../src/types/factories/BatchPayments__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AA2T9E,qBAAa,sBAAuB,SAAQ,eAAe;gBAC7C,MAAM,CAAC,EAAE,MAAM;IAI3B,MAAM,CACJ,qBAAqB,EAAE,MAAM,EAC7B,wBAAwB,EAAE,MAAM,EAChC,MAAM,EAAE,MAAM,EACd,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;KAAE,GAC1D,OAAO,CAAC,aAAa,CAAC;IAQzB,oBAAoB,CAClB,qBAAqB,EAAE,MAAM,EAC7B,wBAAwB,EAAE,MAAM,EAChC,MAAM,EAAE,MAAM,EACd,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAA;KAAE,GAC1D,kBAAkB;IAQrB,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,aAAa;IAGtC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,sBAAsB;IAG/C,MAAM,CAAC,QAAQ,CAAC,QAAQ,sorBAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,sBAAsB;IAGhD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,aAAa;CAGjB"}
|
|
@@ -0,0 +1,344 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* Autogenerated file. Do not edit manually. */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.BatchPayments__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "_paymentErc20FeeProxy",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "_paymentEthereumFeeProxy",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_owner",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
stateMutability: "nonpayable",
|
|
28
|
+
type: "constructor",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
anonymous: false,
|
|
32
|
+
inputs: [
|
|
33
|
+
{
|
|
34
|
+
indexed: true,
|
|
35
|
+
internalType: "address",
|
|
36
|
+
name: "previousOwner",
|
|
37
|
+
type: "address",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
indexed: true,
|
|
41
|
+
internalType: "address",
|
|
42
|
+
name: "newOwner",
|
|
43
|
+
type: "address",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
name: "OwnershipTransferred",
|
|
47
|
+
type: "event",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
anonymous: false,
|
|
51
|
+
inputs: [
|
|
52
|
+
{
|
|
53
|
+
indexed: false,
|
|
54
|
+
internalType: "address",
|
|
55
|
+
name: "tokenAddress",
|
|
56
|
+
type: "address",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
indexed: false,
|
|
60
|
+
internalType: "address",
|
|
61
|
+
name: "to",
|
|
62
|
+
type: "address",
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
indexed: false,
|
|
66
|
+
internalType: "uint256",
|
|
67
|
+
name: "amount",
|
|
68
|
+
type: "uint256",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
indexed: true,
|
|
72
|
+
internalType: "bytes",
|
|
73
|
+
name: "paymentReference",
|
|
74
|
+
type: "bytes",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
indexed: false,
|
|
78
|
+
internalType: "uint256",
|
|
79
|
+
name: "feeAmount",
|
|
80
|
+
type: "uint256",
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
indexed: false,
|
|
84
|
+
internalType: "address",
|
|
85
|
+
name: "feeAddress",
|
|
86
|
+
type: "address",
|
|
87
|
+
},
|
|
88
|
+
],
|
|
89
|
+
name: "TransferWithReferenceAndFee",
|
|
90
|
+
type: "event",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
inputs: [
|
|
94
|
+
{
|
|
95
|
+
internalType: "address[]",
|
|
96
|
+
name: "_tokenAddresses",
|
|
97
|
+
type: "address[]",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
internalType: "address[]",
|
|
101
|
+
name: "_recipients",
|
|
102
|
+
type: "address[]",
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
internalType: "uint256[]",
|
|
106
|
+
name: "_amounts",
|
|
107
|
+
type: "uint256[]",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
internalType: "bytes[]",
|
|
111
|
+
name: "_paymentReferences",
|
|
112
|
+
type: "bytes[]",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
internalType: "uint256[]",
|
|
116
|
+
name: "_feeAmounts",
|
|
117
|
+
type: "uint256[]",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
internalType: "address",
|
|
121
|
+
name: "_feeAddress",
|
|
122
|
+
type: "address",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
name: "batchERC20PaymentsMultiTokensWithReference",
|
|
126
|
+
outputs: [],
|
|
127
|
+
stateMutability: "nonpayable",
|
|
128
|
+
type: "function",
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
inputs: [
|
|
132
|
+
{
|
|
133
|
+
internalType: "address",
|
|
134
|
+
name: "_tokenAddress",
|
|
135
|
+
type: "address",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
internalType: "address[]",
|
|
139
|
+
name: "_recipients",
|
|
140
|
+
type: "address[]",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
internalType: "uint256[]",
|
|
144
|
+
name: "_amounts",
|
|
145
|
+
type: "uint256[]",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
internalType: "bytes[]",
|
|
149
|
+
name: "_paymentReferences",
|
|
150
|
+
type: "bytes[]",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
internalType: "uint256[]",
|
|
154
|
+
name: "_feeAmounts",
|
|
155
|
+
type: "uint256[]",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
internalType: "address",
|
|
159
|
+
name: "_feeAddress",
|
|
160
|
+
type: "address",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
name: "batchERC20PaymentsWithReference",
|
|
164
|
+
outputs: [],
|
|
165
|
+
stateMutability: "nonpayable",
|
|
166
|
+
type: "function",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
inputs: [
|
|
170
|
+
{
|
|
171
|
+
internalType: "address[]",
|
|
172
|
+
name: "_recipients",
|
|
173
|
+
type: "address[]",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
internalType: "uint256[]",
|
|
177
|
+
name: "_amounts",
|
|
178
|
+
type: "uint256[]",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
internalType: "bytes[]",
|
|
182
|
+
name: "_paymentReferences",
|
|
183
|
+
type: "bytes[]",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
internalType: "uint256[]",
|
|
187
|
+
name: "_feeAmounts",
|
|
188
|
+
type: "uint256[]",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
internalType: "address payable",
|
|
192
|
+
name: "_feeAddress",
|
|
193
|
+
type: "address",
|
|
194
|
+
},
|
|
195
|
+
],
|
|
196
|
+
name: "batchEthPaymentsWithReference",
|
|
197
|
+
outputs: [],
|
|
198
|
+
stateMutability: "payable",
|
|
199
|
+
type: "function",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
inputs: [],
|
|
203
|
+
name: "batchFee",
|
|
204
|
+
outputs: [
|
|
205
|
+
{
|
|
206
|
+
internalType: "uint256",
|
|
207
|
+
name: "",
|
|
208
|
+
type: "uint256",
|
|
209
|
+
},
|
|
210
|
+
],
|
|
211
|
+
stateMutability: "view",
|
|
212
|
+
type: "function",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
inputs: [],
|
|
216
|
+
name: "owner",
|
|
217
|
+
outputs: [
|
|
218
|
+
{
|
|
219
|
+
internalType: "address",
|
|
220
|
+
name: "",
|
|
221
|
+
type: "address",
|
|
222
|
+
},
|
|
223
|
+
],
|
|
224
|
+
stateMutability: "view",
|
|
225
|
+
type: "function",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
inputs: [],
|
|
229
|
+
name: "paymentErc20FeeProxy",
|
|
230
|
+
outputs: [
|
|
231
|
+
{
|
|
232
|
+
internalType: "contract IERC20FeeProxy",
|
|
233
|
+
name: "",
|
|
234
|
+
type: "address",
|
|
235
|
+
},
|
|
236
|
+
],
|
|
237
|
+
stateMutability: "view",
|
|
238
|
+
type: "function",
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
inputs: [],
|
|
242
|
+
name: "paymentEthereumFeeProxy",
|
|
243
|
+
outputs: [
|
|
244
|
+
{
|
|
245
|
+
internalType: "contract IEthereumFeeProxy",
|
|
246
|
+
name: "",
|
|
247
|
+
type: "address",
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
stateMutability: "view",
|
|
251
|
+
type: "function",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
inputs: [],
|
|
255
|
+
name: "renounceOwnership",
|
|
256
|
+
outputs: [],
|
|
257
|
+
stateMutability: "nonpayable",
|
|
258
|
+
type: "function",
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
inputs: [
|
|
262
|
+
{
|
|
263
|
+
internalType: "uint256",
|
|
264
|
+
name: "_batchFee",
|
|
265
|
+
type: "uint256",
|
|
266
|
+
},
|
|
267
|
+
],
|
|
268
|
+
name: "setBatchFee",
|
|
269
|
+
outputs: [],
|
|
270
|
+
stateMutability: "nonpayable",
|
|
271
|
+
type: "function",
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
inputs: [
|
|
275
|
+
{
|
|
276
|
+
internalType: "address",
|
|
277
|
+
name: "_paymentProxyAddress",
|
|
278
|
+
type: "address",
|
|
279
|
+
},
|
|
280
|
+
],
|
|
281
|
+
name: "setPaymentErc20FeeProxy",
|
|
282
|
+
outputs: [],
|
|
283
|
+
stateMutability: "nonpayable",
|
|
284
|
+
type: "function",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
inputs: [
|
|
288
|
+
{
|
|
289
|
+
internalType: "address",
|
|
290
|
+
name: "_paymentEthereumFeeProxyAddress",
|
|
291
|
+
type: "address",
|
|
292
|
+
},
|
|
293
|
+
],
|
|
294
|
+
name: "setPaymentEthereumFeeProxy",
|
|
295
|
+
outputs: [],
|
|
296
|
+
stateMutability: "nonpayable",
|
|
297
|
+
type: "function",
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
inputs: [
|
|
301
|
+
{
|
|
302
|
+
internalType: "address",
|
|
303
|
+
name: "newOwner",
|
|
304
|
+
type: "address",
|
|
305
|
+
},
|
|
306
|
+
],
|
|
307
|
+
name: "transferOwnership",
|
|
308
|
+
outputs: [],
|
|
309
|
+
stateMutability: "nonpayable",
|
|
310
|
+
type: "function",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
stateMutability: "payable",
|
|
314
|
+
type: "receive",
|
|
315
|
+
},
|
|
316
|
+
];
|
|
317
|
+
const _bytecode = "0x60806040523480156200001157600080fd5b5060405162002b3f38038062002b3f833981810160405281019062000037919062000377565b620000576200004b6200010260201b60201c565b6200010a60201b60201c565b6001808190555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600281905550620000f981620001ce60201b60201c565b505050620004ee565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001de6200010260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000204620002e460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200025d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002549062000434565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415620002d0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002c790620004cc565b60405180910390fd5b620002e1816200010a60201b60201c565b50565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200033f8262000312565b9050919050565b620003518162000332565b81146200035d57600080fd5b50565b600081519050620003718162000346565b92915050565b6000806000606084860312156200039357620003926200030d565b5b6000620003a38682870162000360565b9350506020620003b68682870162000360565b9250506040620003c98682870162000360565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200041c602083620003d3565b91506200042982620003e4565b602082019050919050565b600060208201905081810360008301526200044f816200040d565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000620004b4602683620003d3565b9150620004c18262000456565b604082019050919050565b60006020820190508181036000830152620004e781620004a5565b9050919050565b61264180620004fe6000396000f3fe6080604052600436106100ab5760003560e01c8063c6e6d98b11610064578063c6e6d98b14610194578063d5073f6f146101bd578063db2a395e146101e6578063f2fde38b1461020f578063f8b823e414610238578063fa73314214610263576100b2565b806310ed2566146100b757806322411509146100e05780632cd3814b1461010b578063715018a61461013657806373535e551461014d5780638da5cb5b14610169576100b2565b366100b257005b600080fd5b3480156100c357600080fd5b506100de60048036038101906100d991906116e2565b61028c565b005b3480156100ec57600080fd5b506100f561034c565b604051610102919061176e565b60405180910390f35b34801561011757600080fd5b50610120610372565b60405161012d91906117aa565b60405180910390f35b34801561014257600080fd5b5061014b610398565b005b61016760048036038101906101629190611914565b610420565b005b34801561017557600080fd5b5061017e6108ad565b60405161018b9190611a1f565b60405180910390f35b3480156101a057600080fd5b506101bb60048036038101906101b69190611a3a565b6108d6565b005b3480156101c957600080fd5b506101e460048036038101906101df9190611b80565b610bde565b005b3480156101f257600080fd5b5061020d600480360381019061020891906116e2565b610c64565b005b34801561021b57600080fd5b50610236600480360381019061023191906116e2565b610d24565b005b34801561024457600080fd5b5061024d610e1c565b60405161025a9190611bbc565b60405180910390f35b34801561026f57600080fd5b5061028a60048036038101906102859190611bd7565b610e22565b005b61029461142f565b73ffffffffffffffffffffffffffffffffffffffff166102b26108ad565b73ffffffffffffffffffffffffffffffffffffffff1614610308576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102ff90611d65565b60405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6103a061142f565b73ffffffffffffffffffffffffffffffffffffffff166103be6108ad565b73ffffffffffffffffffffffffffffffffffffffff1614610414576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161040b90611d65565b60405180910390fd5b61041e6000611437565b565b60026001541415610466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045d90611dd1565b60405180910390fd5b6002600181905550868690508989905014801561048857508484905089899050145b801561049957508282905089899050145b6104d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104cf90611e63565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f1935050505015801561051e573d6000803e3d6000fd5b5060003490506000805b8b8b90508110156107a45760006103e86002548c8c8581811061054e5761054d611e83565b5b9050602002013561055f9190611ee1565b6105699190611f6a565b90508087878481811061057f5761057e611e83565b5b905060200201358c8c8581811061059957610598611e83565b5b905060200201356105aa9190611f9b565b6105b49190611f9b565b8410156105f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ed9061203d565b60405180910390fd5b80836106029190611f9b565b92508087878481811061061857610617611e83565b5b905060200201358c8c8581811061063257610631611e83565b5b905060200201356106439190611f9b565b61064d9190611f9b565b84610658919061205d565b9350600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b868980b8888858181106106ab576106aa611e83565b5b905060200201358d8d868181106106c5576106c4611e83565b5b905060200201356106d69190611f9b565b8f8f868181106106e9576106e8611e83565b5b90506020020160208101906106fe91906116e2565b8c8c8781811061071157610710611e83565b5b905060200281019061072391906120a0565b8c8c8981811061073657610735611e83565b5b905060200201358b6040518763ffffffff1660e01b815260040161075e959493929190612170565b6000604051808303818588803b15801561077757600080fd5b505af115801561078b573d6000803e3d6000fd5b505050505050808061079c906121be565b915050610528565b508273ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156107eb573d6000803e3d6000fd5b5060003373ffffffffffffffffffffffffffffffffffffffff168360405161081290612238565b60006040518083038185875af1925050503d806000811461084f576040519150601f19603f3d011682016040523d82523d6000602084013e610854565b606091505b5050905080610898576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161088f906122bf565b60405180910390fd5b50505060018081905550505050505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b86869050898990501480156108f057508484905089899050145b801561090157508282905089899050145b610940576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093790611e63565b60405180910390fd5b6000805b8a8a9050811015610b6c5788888281811061096257610961611e83565b5b90506020020135826109749190611f9b565b91506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168d8d8d858181106109c5576109c4611e83565b5b90506020020160208101906109da91906116e2565b8c8c868181106109ed576109ec611e83565b5b905060200201358b8b87818110610a0757610a06611e83565b5b9050602002810190610a1991906120a0565b8b8b89818110610a2c57610a2b611e83565b5b905060200201358a604051602401610a4a97969594939291906122df565b6040516020818303038152906040527fc219a14d000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051610ad491906123b8565b600060405180830381855af49150503d8060008114610b0f576040519150601f19603f3d011682016040523d82523d6000602084013e610b14565b606091505b5050905080610b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4f9061241b565b60405180910390fd5b508080610b64906121be565b915050610944565b50610b928b836103e860025485610b839190611ee1565b610b8d9190611f6a565b6114fb565b610bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc890612487565b60405180910390fd5b5050505050505050505050565b610be661142f565b73ffffffffffffffffffffffffffffffffffffffff16610c046108ad565b73ffffffffffffffffffffffffffffffffffffffff1614610c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5190611d65565b60405180910390fd5b8060028190555050565b610c6c61142f565b73ffffffffffffffffffffffffffffffffffffffff16610c8a6108ad565b73ffffffffffffffffffffffffffffffffffffffff1614610ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd790611d65565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610d2c61142f565b73ffffffffffffffffffffffffffffffffffffffff16610d4a6108ad565b73ffffffffffffffffffffffffffffffffffffffff1614610da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9790611d65565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0790612519565b60405180910390fd5b610e1981611437565b50565b60025481565b888890508b8b9050148015610e3c5750868690508b8b9050145b8015610e4d5750848490508b8b9050145b8015610e5e5750828290508b8b9050145b610e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9490611e63565b60405180910390fd5b60008b8b905067ffffffffffffffff811115610ebc57610ebb612539565b5b604051908082528060200260200182016040528015610eea5781602001602082028036833780820191505090505b50905060008c8c905067ffffffffffffffff811115610f0c57610f0b612539565b5b604051908082528060200260200182016040528015610f3a5781602001602082028036833780820191505090505b50905060005b8b8b90508110156113205760005b8351811015611102578e8e83818110610f6a57610f69611e83565b5b9050602002016020810190610f7f91906116e2565b73ffffffffffffffffffffffffffffffffffffffff16848281518110610fa857610fa7611e83565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff161415611019578a8a83818110610fdf57610fde611e83565b5b90506020020135838281518110610ff957610ff8611e83565b5b6020026020010181815161100d9190611f9b565b91508181525050611102565b600083828151811061102e5761102d611e83565b5b602002602001015114156110ef578e8e8381811061104f5761104e611e83565b5b905060200201602081019061106491906116e2565b84828151811061107757611076611e83565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250508a8a838181106110c4576110c3611e83565b5b905060200201358382815181106110de576110dd611e83565b5b602002602001018181525050611102565b80806110fa906121be565b915050610f4e565b506000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168f8f8481811061115157611150611e83565b5b905060200201602081019061116691906116e2565b8e8e8581811061117957611178611e83565b5b905060200201602081019061118e91906116e2565b8d8d868181106111a1576111a0611e83565b5b905060200201358c8c878181106111bb576111ba611e83565b5b90506020028101906111cd91906120a0565b8c8c898181106111e0576111df611e83565b5b905060200201358b6040516024016111fe97969594939291906122df565b6040516020818303038152906040527fc219a14d000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161128891906123b8565b600060405180830381855af49150503d80600081146112c3576040519150601f19603f3d011682016040523d82523d6000602084013e6112c8565b606091505b505090508061130c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113039061241b565b60405180910390fd5b508080611318906121be565b915050610f40565b5060005b82518110801561134e5750600082828151811061134457611343611e83565b5b6020026020010151115b1561141f576113ac83828151811061136957611368611e83565b5b6020026020010151856103e860025486868151811061138b5761138a611e83565b5b602002602001015161139d9190611ee1565b6113a79190611f6a565b6114fb565b6113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e290612487565b60405180910390fd5b6000828281518110611400576113ff611e83565b5b6020026020010181815250508080611417906121be565b915050611324565b5050505050505050505050505050565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000833b61150857600080fd5b60008473ffffffffffffffffffffffffffffffffffffffff1633858560405160240161153693929190612568565b6040516020818303038152906040527f23b872dd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516115c091906123b8565b6000604051808303816000865af19150503d80600081146115fd576040519150601f19603f3d011682016040523d82523d6000602084013e611602565b606091505b505090503d6000811461161c576020811461162557600080fd5b60019250611631565b60206000803e60005192505b5080611672576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611669906125eb565b60405180910390fd5b509392505050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006116af82611684565b9050919050565b6116bf816116a4565b81146116ca57600080fd5b50565b6000813590506116dc816116b6565b92915050565b6000602082840312156116f8576116f761167a565b5b6000611706848285016116cd565b91505092915050565b6000819050919050565b600061173461172f61172a84611684565b61170f565b611684565b9050919050565b600061174682611719565b9050919050565b60006117588261173b565b9050919050565b6117688161174d565b82525050565b6000602082019050611783600083018461175f565b92915050565b60006117948261173b565b9050919050565b6117a481611789565b82525050565b60006020820190506117bf600083018461179b565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126117ea576117e96117c5565b5b8235905067ffffffffffffffff811115611807576118066117ca565b5b602083019150836020820283011115611823576118226117cf565b5b9250929050565b60008083601f8401126118405761183f6117c5565b5b8235905067ffffffffffffffff81111561185d5761185c6117ca565b5b602083019150836020820283011115611879576118786117cf565b5b9250929050565b60008083601f840112611896576118956117c5565b5b8235905067ffffffffffffffff8111156118b3576118b26117ca565b5b6020830191508360208202830111156118cf576118ce6117cf565b5b9250929050565b60006118e182611684565b9050919050565b6118f1816118d6565b81146118fc57600080fd5b50565b60008135905061190e816118e8565b92915050565b600080600080600080600080600060a08a8c0312156119365761193561167a565b5b60008a013567ffffffffffffffff8111156119545761195361167f565b5b6119608c828d016117d4565b995099505060208a013567ffffffffffffffff8111156119835761198261167f565b5b61198f8c828d0161182a565b975097505060408a013567ffffffffffffffff8111156119b2576119b161167f565b5b6119be8c828d01611880565b955095505060608a013567ffffffffffffffff8111156119e1576119e061167f565b5b6119ed8c828d0161182a565b93509350506080611a008c828d016118ff565b9150509295985092959850929598565b611a19816116a4565b82525050565b6000602082019050611a346000830184611a10565b92915050565b60008060008060008060008060008060c08b8d031215611a5d57611a5c61167a565b5b6000611a6b8d828e016116cd565b9a505060208b013567ffffffffffffffff811115611a8c57611a8b61167f565b5b611a988d828e016117d4565b995099505060408b013567ffffffffffffffff811115611abb57611aba61167f565b5b611ac78d828e0161182a565b975097505060608b013567ffffffffffffffff811115611aea57611ae961167f565b5b611af68d828e01611880565b955095505060808b013567ffffffffffffffff811115611b1957611b1861167f565b5b611b258d828e0161182a565b935093505060a0611b388d828e016116cd565b9150509295989b9194979a5092959850565b6000819050919050565b611b5d81611b4a565b8114611b6857600080fd5b50565b600081359050611b7a81611b54565b92915050565b600060208284031215611b9657611b9561167a565b5b6000611ba484828501611b6b565b91505092915050565b611bb681611b4a565b82525050565b6000602082019050611bd16000830184611bad565b92915050565b600080600080600080600080600080600060c08c8e031215611bfc57611bfb61167a565b5b60008c013567ffffffffffffffff811115611c1a57611c1961167f565b5b611c268e828f016117d4565b9b509b505060208c013567ffffffffffffffff811115611c4957611c4861167f565b5b611c558e828f016117d4565b995099505060408c013567ffffffffffffffff811115611c7857611c7761167f565b5b611c848e828f0161182a565b975097505060608c013567ffffffffffffffff811115611ca757611ca661167f565b5b611cb38e828f01611880565b955095505060808c013567ffffffffffffffff811115611cd657611cd561167f565b5b611ce28e828f0161182a565b935093505060a0611cf58e828f016116cd565b9150509295989b509295989b9093969950565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611d4f602083611d08565b9150611d5a82611d19565b602082019050919050565b60006020820190508181036000830152611d7e81611d42565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000611dbb601f83611d08565b9150611dc682611d85565b602082019050919050565b60006020820190508181036000830152611dea81611dae565b9050919050565b7f74686520696e70757420617272617973206d757374206861766520746865207360008201527f616d65206c656e67746800000000000000000000000000000000000000000000602082015250565b6000611e4d602a83611d08565b9150611e5882611df1565b604082019050919050565b60006020820190508181036000830152611e7c81611e40565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611eec82611b4a565b9150611ef783611b4a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615611f3057611f2f611eb2565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611f7582611b4a565b9150611f8083611b4a565b925082611f9057611f8f611f3b565b5b828204905092915050565b6000611fa682611b4a565b9150611fb183611b4a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611fe657611fe5611eb2565b5b828201905092915050565b7f6e6f7420656e6f7567682066756e647300000000000000000000000000000000600082015250565b6000612027601083611d08565b915061203282611ff1565b602082019050919050565b600060208201905081810360008301526120568161201a565b9050919050565b600061206882611b4a565b915061207383611b4a565b92508282101561208657612085611eb2565b5b828203905092915050565b600080fd5b600080fd5b600080fd5b600080833560016020038436030381126120bd576120bc612091565b5b80840192508235915067ffffffffffffffff8211156120df576120de612096565b5b6020830192506001820236038313156120fb576120fa61209b565b5b509250929050565b61210c816118d6565b82525050565b600082825260208201905092915050565b82818337600083830152505050565b6000601f19601f8301169050919050565b600061214f8385612112565b935061215c838584612123565b61216583612132565b840190509392505050565b60006080820190506121856000830188612103565b8181036020830152612198818688612143565b90506121a76040830185611bad565b6121b46060830184612103565b9695505050505050565b60006121c982611b4a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156121fc576121fb611eb2565b5b600182019050919050565b600081905092915050565b50565b6000612222600083612207565b915061222d82612212565b600082019050919050565b600061224382612215565b9150819050919050565b7f436f756c64206e6f742073656e642072656d61696e696e672066756e6473207460008201527f6f20746865207061796572000000000000000000000000000000000000000000602082015250565b60006122a9602b83611d08565b91506122b48261224d565b604082019050919050565b600060208201905081810360008301526122d88161229c565b9050919050565b600060c0820190506122f4600083018a611a10565b6123016020830189611a10565b61230e6040830188611bad565b8181036060830152612321818688612143565b90506123306080830185611bad565b61233d60a0830184611a10565b98975050505050505050565b600081519050919050565b60005b83811015612372578082015181840152602081019050612357565b83811115612381576000848401525b50505050565b600061239282612349565b61239c8185612207565b93506123ac818560208601612354565b80840191505092915050565b60006123c48284612387565b915081905092915050565b7f7472616e7366657246726f6d576974685265666572656e6365206661696c6564600082015250565b6000612405602083611d08565b9150612410826123cf565b602082019050919050565b60006020820190508181036000830152612434816123f8565b9050919050565b7f626174636820666565207472616e7366657246726f6d2829206661696c656400600082015250565b6000612471601f83611d08565b915061247c8261243b565b602082019050919050565b600060208201905081810360008301526124a081612464565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612503602683611d08565b915061250e826124a7565b604082019050919050565b60006020820190508181036000830152612532816124f6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060608201905061257d6000830186611a10565b61258a6020830185611a10565b6125976040830184611bad565b949350505050565b7f7472616e7366657246726f6d282920686173206265656e207265766572746564600082015250565b60006125d5602083611d08565b91506125e08261259f565b602082019050919050565b60006020820190508181036000830152612604816125c8565b905091905056fea2646970667358221220d3ffa970f3e7d4953654a29d6a64c8982224e6c953939d3cfbe4d0c101877f1964736f6c63430008090033";
|
|
318
|
+
class BatchPayments__factory extends ethers_1.ContractFactory {
|
|
319
|
+
constructor(signer) {
|
|
320
|
+
super(_abi, _bytecode, signer);
|
|
321
|
+
}
|
|
322
|
+
deploy(_paymentErc20FeeProxy, _paymentEthereumFeeProxy, _owner, overrides) {
|
|
323
|
+
return super.deploy(_paymentErc20FeeProxy, _paymentEthereumFeeProxy, _owner, overrides || {});
|
|
324
|
+
}
|
|
325
|
+
getDeployTransaction(_paymentErc20FeeProxy, _paymentEthereumFeeProxy, _owner, overrides) {
|
|
326
|
+
return super.getDeployTransaction(_paymentErc20FeeProxy, _paymentEthereumFeeProxy, _owner, overrides || {});
|
|
327
|
+
}
|
|
328
|
+
attach(address) {
|
|
329
|
+
return super.attach(address);
|
|
330
|
+
}
|
|
331
|
+
connect(signer) {
|
|
332
|
+
return super.connect(signer);
|
|
333
|
+
}
|
|
334
|
+
static createInterface() {
|
|
335
|
+
return new ethers_1.utils.Interface(_abi);
|
|
336
|
+
}
|
|
337
|
+
static connect(address, signerOrProvider) {
|
|
338
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
exports.BatchPayments__factory = BatchPayments__factory;
|
|
342
|
+
BatchPayments__factory.bytecode = _bytecode;
|
|
343
|
+
BatchPayments__factory.abi = _abi;
|
|
344
|
+
//# sourceMappingURL=BatchPayments__factory.js.map
|