@requestnetwork/smart-contracts 0.50.0 → 0.51.0
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/src/lib/artifacts/ERC20FeeProxy/index.d.ts.map +1 -1
- package/dist/src/lib/artifacts/ERC20FeeProxy/index.js +14 -0
- package/dist/src/lib/artifacts/ERC20FeeProxy/index.js.map +1 -1
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20False__factory.d.ts +43 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20False__factory.d.ts.map +1 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20False__factory.js +72 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20False__factory.js.map +1 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20NoReturn__factory.d.ts +107 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20NoReturn__factory.d.ts.map +1 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20NoReturn__factory.js +156 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20NoReturn__factory.js.map +1 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20Revert__factory.d.ts +39 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20Revert__factory.d.ts.map +1 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20Revert__factory.js +66 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TRC20Revert__factory.js.map +1 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TestTRC20__factory.d.ts +261 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TestTRC20__factory.d.ts.map +1 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TestTRC20__factory.js +357 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/TestTRC20__factory.js.map +1 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/index.d.ts +5 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/index.d.ts.map +1 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/index.js +15 -0
- package/dist/src/types/factories/src/contracts/TestTRC20.sol/index.js.map +1 -0
- package/dist/src/types/factories/src/contracts/index.d.ts +1 -0
- package/dist/src/types/factories/src/contracts/index.d.ts.map +1 -1
- package/dist/src/types/factories/src/contracts/index.js +2 -1
- package/dist/src/types/factories/src/contracts/index.js.map +1 -1
- package/dist/src/types/hardhat.d.ts +36 -0
- package/dist/src/types/index.d.ts +8 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/types/index.js +9 -1
- package/dist/src/types/index.js.map +1 -1
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20False.d.ts +43 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20False.d.ts.map +1 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20False.js +3 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20False.js.map +1 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20NoReturn.d.ts +99 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20NoReturn.d.ts.map +1 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20NoReturn.js +3 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20NoReturn.js.map +1 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20Revert.d.ts +43 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20Revert.d.ts.map +1 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20Revert.js +3 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TRC20Revert.js.map +1 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TestTRC20.d.ts +211 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TestTRC20.d.ts.map +1 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TestTRC20.js +3 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/TestTRC20.js.map +1 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/index.d.ts +5 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/index.d.ts.map +1 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/index.js +3 -0
- package/dist/src/types/src/contracts/TestTRC20.sol/index.js.map +1 -0
- package/dist/src/types/src/contracts/index.d.ts +2 -0
- package/dist/src/types/src/contracts/index.d.ts.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +20 -6
- package/types/factories/src/contracts/TestTRC20.sol/TRC20False__factory.d.ts +43 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20False__factory.d.ts.map +1 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20False__factory.js +72 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20False__factory.js.map +1 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20NoReturn__factory.d.ts +107 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20NoReturn__factory.d.ts.map +1 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20NoReturn__factory.js +156 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20NoReturn__factory.js.map +1 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20Revert__factory.d.ts +39 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20Revert__factory.d.ts.map +1 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20Revert__factory.js +66 -0
- package/types/factories/src/contracts/TestTRC20.sol/TRC20Revert__factory.js.map +1 -0
- package/types/factories/src/contracts/TestTRC20.sol/TestTRC20__factory.d.ts +261 -0
- package/types/factories/src/contracts/TestTRC20.sol/TestTRC20__factory.d.ts.map +1 -0
- package/types/factories/src/contracts/TestTRC20.sol/TestTRC20__factory.js +357 -0
- package/types/factories/src/contracts/TestTRC20.sol/TestTRC20__factory.js.map +1 -0
- package/types/factories/src/contracts/TestTRC20.sol/index.d.ts +5 -0
- package/types/factories/src/contracts/TestTRC20.sol/index.d.ts.map +1 -0
- package/types/factories/src/contracts/TestTRC20.sol/index.js +15 -0
- package/types/factories/src/contracts/TestTRC20.sol/index.js.map +1 -0
- package/types/factories/src/contracts/index.d.ts +1 -0
- package/types/factories/src/contracts/index.d.ts.map +1 -1
- package/types/factories/src/contracts/index.js +2 -1
- package/types/factories/src/contracts/index.js.map +1 -1
- package/types/hardhat.d.ts +36 -0
- package/types/index.d.ts +8 -0
- package/types/index.d.ts.map +1 -1
- package/types/index.js +9 -1
- package/types/index.js.map +1 -1
- package/types/src/contracts/TestTRC20.sol/TRC20False.d.ts +43 -0
- package/types/src/contracts/TestTRC20.sol/TRC20False.d.ts.map +1 -0
- package/types/src/contracts/TestTRC20.sol/TRC20False.js +3 -0
- package/types/src/contracts/TestTRC20.sol/TRC20False.js.map +1 -0
- package/types/src/contracts/TestTRC20.sol/TRC20NoReturn.d.ts +99 -0
- package/types/src/contracts/TestTRC20.sol/TRC20NoReturn.d.ts.map +1 -0
- package/types/src/contracts/TestTRC20.sol/TRC20NoReturn.js +3 -0
- package/types/src/contracts/TestTRC20.sol/TRC20NoReturn.js.map +1 -0
- package/types/src/contracts/TestTRC20.sol/TRC20Revert.d.ts +43 -0
- package/types/src/contracts/TestTRC20.sol/TRC20Revert.d.ts.map +1 -0
- package/types/src/contracts/TestTRC20.sol/TRC20Revert.js +3 -0
- package/types/src/contracts/TestTRC20.sol/TRC20Revert.js.map +1 -0
- package/types/src/contracts/TestTRC20.sol/TestTRC20.d.ts +211 -0
- package/types/src/contracts/TestTRC20.sol/TestTRC20.d.ts.map +1 -0
- package/types/src/contracts/TestTRC20.sol/TestTRC20.js +3 -0
- package/types/src/contracts/TestTRC20.sol/TestTRC20.js.map +1 -0
- package/types/src/contracts/TestTRC20.sol/index.d.ts +5 -0
- package/types/src/contracts/TestTRC20.sol/index.d.ts.map +1 -0
- package/types/src/contracts/TestTRC20.sol/index.js +3 -0
- package/types/src/contracts/TestTRC20.sol/index.js.map +1 -0
- package/types/src/contracts/index.d.ts +2 -0
- package/types/src/contracts/index.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@requestnetwork/smart-contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.51.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -56,7 +56,20 @@
|
|
|
56
56
|
"security:echidna:thorough": "./scripts/run-echidna.sh --thorough",
|
|
57
57
|
"security:echidna:ci": "./scripts/run-echidna.sh --ci",
|
|
58
58
|
"security:all": "yarn security:slither && yarn security:echidna:quick",
|
|
59
|
-
"security:full": "yarn security:slither && yarn security:echidna:thorough"
|
|
59
|
+
"security:full": "yarn security:slither && yarn security:echidna:thorough",
|
|
60
|
+
"tron:compile": "tronbox compile --config tronbox-config.js",
|
|
61
|
+
"tron:migrate:development": "tronbox migrate --config tronbox-config.js --network development",
|
|
62
|
+
"tron:migrate:nile": "tronbox migrate --config tronbox-config.js --network nile",
|
|
63
|
+
"tron:migrate:mainnet": "tronbox migrate --config tronbox-config.js --network mainnet",
|
|
64
|
+
"tron:test": "tronbox test --config tronbox-config.js --network development",
|
|
65
|
+
"tron:test:nile": "tronbox test --config tronbox-config.js --network nile",
|
|
66
|
+
"tron:deploy:nile": "node scripts/tron/deploy-nile.js",
|
|
67
|
+
"tron:deploy:mainnet": "node scripts/tron/deploy-mainnet.js",
|
|
68
|
+
"tron:verify:nile": "TRON_NETWORK=nile node scripts/tron/verify-deployment.js",
|
|
69
|
+
"tron:verify:mainnet": "TRON_NETWORK=mainnet node scripts/tron/verify-deployment.js",
|
|
70
|
+
"tron:test:deployed:nile": "node scripts/tron/test-deployed-nile.js",
|
|
71
|
+
"tron:setup-wallet": "node scripts/tron/setup-test-wallet.js",
|
|
72
|
+
"tron:deploy:test-token": "node scripts/tron/deploy-test-token.js"
|
|
60
73
|
},
|
|
61
74
|
"dependencies": {
|
|
62
75
|
"commerce-payments": "git+https://github.com/base/commerce-payments.git#v1.0.0",
|
|
@@ -75,9 +88,9 @@
|
|
|
75
88
|
"@nomiclabs/hardhat-web3": "2.0.0",
|
|
76
89
|
"@openzeppelin/contracts": "4.9.6",
|
|
77
90
|
"@rainbow-me/fee-suggestions": "2.1.0",
|
|
78
|
-
"@requestnetwork/currency": "0.
|
|
79
|
-
"@requestnetwork/types": "0.
|
|
80
|
-
"@requestnetwork/utils": "0.
|
|
91
|
+
"@requestnetwork/currency": "0.31.0",
|
|
92
|
+
"@requestnetwork/types": "0.57.0",
|
|
93
|
+
"@requestnetwork/utils": "0.57.0",
|
|
81
94
|
"@safe-global/api-kit": "1.3.1",
|
|
82
95
|
"@safe-global/protocol-kit": "1.3.0",
|
|
83
96
|
"@superfluid-finance/ethereum-contracts": "1.1.1",
|
|
@@ -93,10 +106,11 @@
|
|
|
93
106
|
"ganache-cli": "6.12.0",
|
|
94
107
|
"hardhat": "2.26.5",
|
|
95
108
|
"solhint": "3.3.6",
|
|
109
|
+
"tronweb": "5.3.2",
|
|
96
110
|
"typechain": "8.3.2",
|
|
97
111
|
"typescript": "4.8.4",
|
|
98
112
|
"web3": "1.7.3",
|
|
99
113
|
"zksync-web3": "0.14.3"
|
|
100
114
|
},
|
|
101
|
-
"gitHead": "
|
|
115
|
+
"gitHead": "738e627a024a8bf77f9f5d69e6a7a137e7af4eff"
|
|
102
116
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Signer, ContractFactory, Overrides } from "ethers";
|
|
2
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
+
import type { TRC20False, TRC20FalseInterface } from "../../../../src/contracts/TestTRC20.sol/TRC20False";
|
|
4
|
+
declare type TRC20FalseConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
5
|
+
export declare class TRC20False__factory extends ContractFactory {
|
|
6
|
+
constructor(...args: TRC20FalseConstructorParams);
|
|
7
|
+
deploy(overrides?: Overrides & {
|
|
8
|
+
from?: string;
|
|
9
|
+
}): Promise<TRC20False>;
|
|
10
|
+
getDeployTransaction(overrides?: Overrides & {
|
|
11
|
+
from?: string;
|
|
12
|
+
}): TransactionRequest;
|
|
13
|
+
attach(address: string): TRC20False;
|
|
14
|
+
connect(signer: Signer): TRC20False__factory;
|
|
15
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b5060dd8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806323b872dd14602d575b600080fd5b604160383660046070565b60009392505050565b604051901515815260200160405180910390f35b80356001600160a01b0381168114606b57600080fd5b919050565b600080600060608486031215608457600080fd5b608b846055565b92506097602085016055565b915060408401359050925092509256fea264697066735822122055f9789708e477fea534c03afbaee0259c783aad1b6bb096b3e422d781505cbd64736f6c63430008090033";
|
|
16
|
+
static readonly abi: readonly [{
|
|
17
|
+
readonly inputs: readonly [{
|
|
18
|
+
readonly internalType: "address";
|
|
19
|
+
readonly name: "";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}, {
|
|
22
|
+
readonly internalType: "address";
|
|
23
|
+
readonly name: "";
|
|
24
|
+
readonly type: "address";
|
|
25
|
+
}, {
|
|
26
|
+
readonly internalType: "uint256";
|
|
27
|
+
readonly name: "";
|
|
28
|
+
readonly type: "uint256";
|
|
29
|
+
}];
|
|
30
|
+
readonly name: "transferFrom";
|
|
31
|
+
readonly outputs: readonly [{
|
|
32
|
+
readonly internalType: "bool";
|
|
33
|
+
readonly name: "";
|
|
34
|
+
readonly type: "bool";
|
|
35
|
+
}];
|
|
36
|
+
readonly stateMutability: "pure";
|
|
37
|
+
readonly type: "function";
|
|
38
|
+
}];
|
|
39
|
+
static createInterface(): TRC20FalseInterface;
|
|
40
|
+
static connect(address: string, signerOrProvider: Signer | Provider): TRC20False;
|
|
41
|
+
}
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=TRC20False__factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TRC20False__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/factories/src/contracts/TestTRC20.sol/TRC20False__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EACV,UAAU,EACV,mBAAmB,EACpB,MAAM,oDAAoD,CAAC;AAqC5D,aAAK,2BAA2B,GAC5B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,mBAAoB,SAAQ,eAAe;gBAC1C,GAAG,IAAI,EAAE,2BAA2B;IAQvC,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACxC,OAAO,CAAC,UAAU,CAAC;IAGb,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACxC,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,UAAU;IAGnC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB;IAIrD,MAAM,CAAC,QAAQ,CAAC,QAAQ,ggBAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,mBAAmB;IAG7C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,UAAU;CAGd"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TRC20False__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "uint256",
|
|
23
|
+
name: "",
|
|
24
|
+
type: "uint256",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
name: "transferFrom",
|
|
28
|
+
outputs: [
|
|
29
|
+
{
|
|
30
|
+
internalType: "bool",
|
|
31
|
+
name: "",
|
|
32
|
+
type: "bool",
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
stateMutability: "pure",
|
|
36
|
+
type: "function",
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
|
+
const _bytecode = "0x608060405234801561001057600080fd5b5060dd8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806323b872dd14602d575b600080fd5b604160383660046070565b60009392505050565b604051901515815260200160405180910390f35b80356001600160a01b0381168114606b57600080fd5b919050565b600080600060608486031215608457600080fd5b608b846055565b92506097602085016055565b915060408401359050925092509256fea264697066735822122055f9789708e477fea534c03afbaee0259c783aad1b6bb096b3e422d781505cbd64736f6c63430008090033";
|
|
40
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
41
|
+
class TRC20False__factory extends ethers_1.ContractFactory {
|
|
42
|
+
constructor(...args) {
|
|
43
|
+
if (isSuperArgs(args)) {
|
|
44
|
+
super(...args);
|
|
45
|
+
}
|
|
46
|
+
else {
|
|
47
|
+
super(_abi, _bytecode, args[0]);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
deploy(overrides) {
|
|
51
|
+
return super.deploy(overrides || {});
|
|
52
|
+
}
|
|
53
|
+
getDeployTransaction(overrides) {
|
|
54
|
+
return super.getDeployTransaction(overrides || {});
|
|
55
|
+
}
|
|
56
|
+
attach(address) {
|
|
57
|
+
return super.attach(address);
|
|
58
|
+
}
|
|
59
|
+
connect(signer) {
|
|
60
|
+
return super.connect(signer);
|
|
61
|
+
}
|
|
62
|
+
static createInterface() {
|
|
63
|
+
return new ethers_1.utils.Interface(_abi);
|
|
64
|
+
}
|
|
65
|
+
static connect(address, signerOrProvider) {
|
|
66
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.TRC20False__factory = TRC20False__factory;
|
|
70
|
+
TRC20False__factory.bytecode = _bytecode;
|
|
71
|
+
TRC20False__factory.abi = _abi;
|
|
72
|
+
//# sourceMappingURL=TRC20False__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TRC20False__factory.js","sourceRoot":"","sources":["../../../../../../../src/types/factories/src/contracts/TestTRC20.sol/TRC20False__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAO7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QAC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} from "ethers";
|
|
2
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
+
import type { TRC20NoReturn, TRC20NoReturnInterface } from "../../../../src/contracts/TestTRC20.sol/TRC20NoReturn";
|
|
4
|
+
declare type TRC20NoReturnConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
5
|
+
export declare class TRC20NoReturn__factory extends ContractFactory {
|
|
6
|
+
constructor(...args: TRC20NoReturnConstructorParams);
|
|
7
|
+
deploy(initialSupply: BigNumberish, overrides?: Overrides & {
|
|
8
|
+
from?: string;
|
|
9
|
+
}): Promise<TRC20NoReturn>;
|
|
10
|
+
getDeployTransaction(initialSupply: BigNumberish, overrides?: Overrides & {
|
|
11
|
+
from?: string;
|
|
12
|
+
}): TransactionRequest;
|
|
13
|
+
attach(address: string): TRC20NoReturn;
|
|
14
|
+
connect(signer: Signer): TRC20NoReturn__factory;
|
|
15
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b506040516104e93803806104e983398101604081905261002f91610044565b3360009081526020819052604090205561005d565b60006020828403121561005657600080fd5b5051919050565b61047d8061006c6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063095ea7b31461005c57806323b872dd1461009657806370a08231146100a9578063a9059cbb146100db578063dd62ed3e146100ee575b600080fd5b61009461006a366004610347565b3360009081526001602090815260408083206001600160a01b039590951683529390529190912055565b005b6100946100a4366004610371565b610119565b6100c96100b73660046103ad565b60006020819052908152604090205481565b60405190815260200160405180910390f35b6100946100e9366004610347565b610280565b6100c96100fc3660046103cf565b600160209081526000928352604080842090915290825290205481565b6001600160a01b03831660009081526020819052604090205481111561017d5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064015b60405180910390fd5b6001600160a01b03831660009081526001602090815260408083203384529091529020548111156101e95760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b6044820152606401610174565b6001600160a01b03831660009081526020819052604081208054839290610211908490610418565b90915550506001600160a01b0382166000908152602081905260408120805483929061023e90849061042f565b90915550506001600160a01b038316600090815260016020908152604080832033845290915281208054839290610276908490610418565b9091555050505050565b336000908152602081905260409020548111156102d65760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610174565b33600090815260208190526040812080548392906102f5908490610418565b90915550506001600160a01b0382166000908152602081905260408120805483929061032290849061042f565b90915550505050565b80356001600160a01b038116811461034257600080fd5b919050565b6000806040838503121561035a57600080fd5b6103638361032b565b946020939093013593505050565b60008060006060848603121561038657600080fd5b61038f8461032b565b925061039d6020850161032b565b9150604084013590509250925092565b6000602082840312156103bf57600080fd5b6103c88261032b565b9392505050565b600080604083850312156103e257600080fd5b6103eb8361032b565b91506103f96020840161032b565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b60008282101561042a5761042a610402565b500390565b6000821982111561044257610442610402565b50019056fea2646970667358221220d7d4e33d1193e1955d70fd00fe7b7a9aec027addf582810d6453128a0797830264736f6c63430008090033";
|
|
16
|
+
static readonly abi: readonly [{
|
|
17
|
+
readonly inputs: readonly [{
|
|
18
|
+
readonly internalType: "uint256";
|
|
19
|
+
readonly name: "initialSupply";
|
|
20
|
+
readonly type: "uint256";
|
|
21
|
+
}];
|
|
22
|
+
readonly stateMutability: "nonpayable";
|
|
23
|
+
readonly type: "constructor";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [{
|
|
26
|
+
readonly internalType: "address";
|
|
27
|
+
readonly name: "";
|
|
28
|
+
readonly type: "address";
|
|
29
|
+
}, {
|
|
30
|
+
readonly internalType: "address";
|
|
31
|
+
readonly name: "";
|
|
32
|
+
readonly type: "address";
|
|
33
|
+
}];
|
|
34
|
+
readonly name: "allowance";
|
|
35
|
+
readonly outputs: readonly [{
|
|
36
|
+
readonly internalType: "uint256";
|
|
37
|
+
readonly name: "";
|
|
38
|
+
readonly type: "uint256";
|
|
39
|
+
}];
|
|
40
|
+
readonly stateMutability: "view";
|
|
41
|
+
readonly type: "function";
|
|
42
|
+
}, {
|
|
43
|
+
readonly inputs: readonly [{
|
|
44
|
+
readonly internalType: "address";
|
|
45
|
+
readonly name: "spender";
|
|
46
|
+
readonly type: "address";
|
|
47
|
+
}, {
|
|
48
|
+
readonly internalType: "uint256";
|
|
49
|
+
readonly name: "amount";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
}];
|
|
52
|
+
readonly name: "approve";
|
|
53
|
+
readonly outputs: readonly [];
|
|
54
|
+
readonly stateMutability: "nonpayable";
|
|
55
|
+
readonly type: "function";
|
|
56
|
+
}, {
|
|
57
|
+
readonly inputs: readonly [{
|
|
58
|
+
readonly internalType: "address";
|
|
59
|
+
readonly name: "";
|
|
60
|
+
readonly type: "address";
|
|
61
|
+
}];
|
|
62
|
+
readonly name: "balanceOf";
|
|
63
|
+
readonly outputs: readonly [{
|
|
64
|
+
readonly internalType: "uint256";
|
|
65
|
+
readonly name: "";
|
|
66
|
+
readonly type: "uint256";
|
|
67
|
+
}];
|
|
68
|
+
readonly stateMutability: "view";
|
|
69
|
+
readonly type: "function";
|
|
70
|
+
}, {
|
|
71
|
+
readonly inputs: readonly [{
|
|
72
|
+
readonly internalType: "address";
|
|
73
|
+
readonly name: "to";
|
|
74
|
+
readonly type: "address";
|
|
75
|
+
}, {
|
|
76
|
+
readonly internalType: "uint256";
|
|
77
|
+
readonly name: "amount";
|
|
78
|
+
readonly type: "uint256";
|
|
79
|
+
}];
|
|
80
|
+
readonly name: "transfer";
|
|
81
|
+
readonly outputs: readonly [];
|
|
82
|
+
readonly stateMutability: "nonpayable";
|
|
83
|
+
readonly type: "function";
|
|
84
|
+
}, {
|
|
85
|
+
readonly inputs: readonly [{
|
|
86
|
+
readonly internalType: "address";
|
|
87
|
+
readonly name: "from";
|
|
88
|
+
readonly type: "address";
|
|
89
|
+
}, {
|
|
90
|
+
readonly internalType: "address";
|
|
91
|
+
readonly name: "to";
|
|
92
|
+
readonly type: "address";
|
|
93
|
+
}, {
|
|
94
|
+
readonly internalType: "uint256";
|
|
95
|
+
readonly name: "amount";
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
}];
|
|
98
|
+
readonly name: "transferFrom";
|
|
99
|
+
readonly outputs: readonly [];
|
|
100
|
+
readonly stateMutability: "nonpayable";
|
|
101
|
+
readonly type: "function";
|
|
102
|
+
}];
|
|
103
|
+
static createInterface(): TRC20NoReturnInterface;
|
|
104
|
+
static connect(address: string, signerOrProvider: Signer | Provider): TRC20NoReturn;
|
|
105
|
+
}
|
|
106
|
+
export {};
|
|
107
|
+
//# sourceMappingURL=TRC20NoReturn__factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TRC20NoReturn__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/factories/src/contracts/TestTRC20.sol/TRC20NoReturn__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,MAAM,EAGN,eAAe,EACf,YAAY,EACZ,SAAS,EACV,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EACV,aAAa,EACb,sBAAsB,EACvB,MAAM,uDAAuD,CAAC;AAyH/D,aAAK,8BAA8B,GAC/B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,sBAAuB,SAAQ,eAAe;gBAC7C,GAAG,IAAI,EAAE,8BAA8B;IAQ1C,MAAM,CACb,aAAa,EAAE,YAAY,EAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACxC,OAAO,CAAC,aAAa,CAAC;IAMhB,oBAAoB,CAC3B,aAAa,EAAE,YAAY,EAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACxC,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,aAAa;IAGtC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,sBAAsB;IAIxD,MAAM,CAAC,QAAQ,CAAC,QAAQ,09EAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;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,156 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TRC20NoReturn__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "uint256",
|
|
13
|
+
name: "initialSupply",
|
|
14
|
+
type: "uint256",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
stateMutability: "nonpayable",
|
|
18
|
+
type: "constructor",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
inputs: [
|
|
22
|
+
{
|
|
23
|
+
internalType: "address",
|
|
24
|
+
name: "",
|
|
25
|
+
type: "address",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
internalType: "address",
|
|
29
|
+
name: "",
|
|
30
|
+
type: "address",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
name: "allowance",
|
|
34
|
+
outputs: [
|
|
35
|
+
{
|
|
36
|
+
internalType: "uint256",
|
|
37
|
+
name: "",
|
|
38
|
+
type: "uint256",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
stateMutability: "view",
|
|
42
|
+
type: "function",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
inputs: [
|
|
46
|
+
{
|
|
47
|
+
internalType: "address",
|
|
48
|
+
name: "spender",
|
|
49
|
+
type: "address",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
internalType: "uint256",
|
|
53
|
+
name: "amount",
|
|
54
|
+
type: "uint256",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "approve",
|
|
58
|
+
outputs: [],
|
|
59
|
+
stateMutability: "nonpayable",
|
|
60
|
+
type: "function",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
inputs: [
|
|
64
|
+
{
|
|
65
|
+
internalType: "address",
|
|
66
|
+
name: "",
|
|
67
|
+
type: "address",
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
name: "balanceOf",
|
|
71
|
+
outputs: [
|
|
72
|
+
{
|
|
73
|
+
internalType: "uint256",
|
|
74
|
+
name: "",
|
|
75
|
+
type: "uint256",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
stateMutability: "view",
|
|
79
|
+
type: "function",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
inputs: [
|
|
83
|
+
{
|
|
84
|
+
internalType: "address",
|
|
85
|
+
name: "to",
|
|
86
|
+
type: "address",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
internalType: "uint256",
|
|
90
|
+
name: "amount",
|
|
91
|
+
type: "uint256",
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
name: "transfer",
|
|
95
|
+
outputs: [],
|
|
96
|
+
stateMutability: "nonpayable",
|
|
97
|
+
type: "function",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
inputs: [
|
|
101
|
+
{
|
|
102
|
+
internalType: "address",
|
|
103
|
+
name: "from",
|
|
104
|
+
type: "address",
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
internalType: "address",
|
|
108
|
+
name: "to",
|
|
109
|
+
type: "address",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
internalType: "uint256",
|
|
113
|
+
name: "amount",
|
|
114
|
+
type: "uint256",
|
|
115
|
+
},
|
|
116
|
+
],
|
|
117
|
+
name: "transferFrom",
|
|
118
|
+
outputs: [],
|
|
119
|
+
stateMutability: "nonpayable",
|
|
120
|
+
type: "function",
|
|
121
|
+
},
|
|
122
|
+
];
|
|
123
|
+
const _bytecode = "0x608060405234801561001057600080fd5b506040516104e93803806104e983398101604081905261002f91610044565b3360009081526020819052604090205561005d565b60006020828403121561005657600080fd5b5051919050565b61047d8061006c6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063095ea7b31461005c57806323b872dd1461009657806370a08231146100a9578063a9059cbb146100db578063dd62ed3e146100ee575b600080fd5b61009461006a366004610347565b3360009081526001602090815260408083206001600160a01b039590951683529390529190912055565b005b6100946100a4366004610371565b610119565b6100c96100b73660046103ad565b60006020819052908152604090205481565b60405190815260200160405180910390f35b6100946100e9366004610347565b610280565b6100c96100fc3660046103cf565b600160209081526000928352604080842090915290825290205481565b6001600160a01b03831660009081526020819052604090205481111561017d5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b60448201526064015b60405180910390fd5b6001600160a01b03831660009081526001602090815260408083203384529091529020548111156101e95760405162461bcd60e51b8152602060048201526016602482015275496e73756666696369656e7420616c6c6f77616e636560501b6044820152606401610174565b6001600160a01b03831660009081526020819052604081208054839290610211908490610418565b90915550506001600160a01b0382166000908152602081905260408120805483929061023e90849061042f565b90915550506001600160a01b038316600090815260016020908152604080832033845290915281208054839290610276908490610418565b9091555050505050565b336000908152602081905260409020548111156102d65760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610174565b33600090815260208190526040812080548392906102f5908490610418565b90915550506001600160a01b0382166000908152602081905260408120805483929061032290849061042f565b90915550505050565b80356001600160a01b038116811461034257600080fd5b919050565b6000806040838503121561035a57600080fd5b6103638361032b565b946020939093013593505050565b60008060006060848603121561038657600080fd5b61038f8461032b565b925061039d6020850161032b565b9150604084013590509250925092565b6000602082840312156103bf57600080fd5b6103c88261032b565b9392505050565b600080604083850312156103e257600080fd5b6103eb8361032b565b91506103f96020840161032b565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b60008282101561042a5761042a610402565b500390565b6000821982111561044257610442610402565b50019056fea2646970667358221220d7d4e33d1193e1955d70fd00fe7b7a9aec027addf582810d6453128a0797830264736f6c63430008090033";
|
|
124
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
125
|
+
class TRC20NoReturn__factory extends ethers_1.ContractFactory {
|
|
126
|
+
constructor(...args) {
|
|
127
|
+
if (isSuperArgs(args)) {
|
|
128
|
+
super(...args);
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
super(_abi, _bytecode, args[0]);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
deploy(initialSupply, overrides) {
|
|
135
|
+
return super.deploy(initialSupply, overrides || {});
|
|
136
|
+
}
|
|
137
|
+
getDeployTransaction(initialSupply, overrides) {
|
|
138
|
+
return super.getDeployTransaction(initialSupply, overrides || {});
|
|
139
|
+
}
|
|
140
|
+
attach(address) {
|
|
141
|
+
return super.attach(address);
|
|
142
|
+
}
|
|
143
|
+
connect(signer) {
|
|
144
|
+
return super.connect(signer);
|
|
145
|
+
}
|
|
146
|
+
static createInterface() {
|
|
147
|
+
return new ethers_1.utils.Interface(_abi);
|
|
148
|
+
}
|
|
149
|
+
static connect(address, signerOrProvider) {
|
|
150
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
exports.TRC20NoReturn__factory = TRC20NoReturn__factory;
|
|
154
|
+
TRC20NoReturn__factory.bytecode = _bytecode;
|
|
155
|
+
TRC20NoReturn__factory.abi = _abi;
|
|
156
|
+
//# sourceMappingURL=TRC20NoReturn__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TRC20NoReturn__factory.js","sourceRoot":"","sources":["../../../../../../../src/types/factories/src/contracts/TestTRC20.sol/TRC20NoReturn__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAOgB;AAOhB,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS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C,CAAC,CAAC,CAAC;SACjC;IACH,CAAC;IAEQ,MAAM,CACb,aAA2B,EAC3B,SAAyC;QAEzC,OAAO,KAAK,CAAC,MAAM,CACjB,aAAa,EACb,SAAS,IAAI,EAAE,CACU,CAAC;IAC9B,CAAC;IACQ,oBAAoB,CAC3B,aAA2B,EAC3B,SAAyC;QAEzC,OAAO,KAAK,CAAC,oBAAoB,CAAC,aAAa,EAAE,SAAS,IAAI,EAAE,CAAC,CAAC;IACpE,CAAC;IACQ,MAAM,CAAC,OAAe;QAC7B,OAAO,KAAK,CAAC,MAAM,CAAC,OAAO,CAAkB,CAAC;IAChD,CAAC;IACQ,OAAO,CAAC,MAAc;QAC7B,OAAO,KAAK,CAAC,OAAO,CAAC,MAAM,CAA2B,CAAC;IACzD,CAAC;IAID,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,cAAK,CAAC,SAAS,CAAC,IAAI,CAA2B,CAAC;IAC7D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAkB,CAAC;IACxE,CAAC;;AAzCH,wDA0CC;AAXiB,+BAAQ,GAAG,SAAS,CAAC;AACrB,0BAAG,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Signer, ContractFactory, Overrides } from "ethers";
|
|
2
|
+
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
3
|
+
import type { TRC20Revert, TRC20RevertInterface } from "../../../../src/contracts/TestTRC20.sol/TRC20Revert";
|
|
4
|
+
declare type TRC20RevertConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
5
|
+
export declare class TRC20Revert__factory extends ContractFactory {
|
|
6
|
+
constructor(...args: TRC20RevertConstructorParams);
|
|
7
|
+
deploy(overrides?: Overrides & {
|
|
8
|
+
from?: string;
|
|
9
|
+
}): Promise<TRC20Revert>;
|
|
10
|
+
getDeployTransaction(overrides?: Overrides & {
|
|
11
|
+
from?: string;
|
|
12
|
+
}): TransactionRequest;
|
|
13
|
+
attach(address: string): TRC20Revert;
|
|
14
|
+
connect(signer: Signer): TRC20Revert__factory;
|
|
15
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b50610112806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806323b872dd14602d575b600080fd5b603c603836600460a5565b603e565b005b60405162461bcd60e51b815260206004820152601c60248201527f54524332305265766572743a207472616e73666572206661696c656400000000604482015260640160405180910390fd5b80356001600160a01b038116811460a057600080fd5b919050565b60008060006060848603121560b957600080fd5b60c084608a565b925060cc60208501608a565b915060408401359050925092509256fea264697066735822122083bc5e63a5ddfcc80de4ebba2ca2a55517e0cc530d977e7d51ad5c260029e98d64736f6c63430008090033";
|
|
16
|
+
static readonly abi: readonly [{
|
|
17
|
+
readonly inputs: readonly [{
|
|
18
|
+
readonly internalType: "address";
|
|
19
|
+
readonly name: "";
|
|
20
|
+
readonly type: "address";
|
|
21
|
+
}, {
|
|
22
|
+
readonly internalType: "address";
|
|
23
|
+
readonly name: "";
|
|
24
|
+
readonly type: "address";
|
|
25
|
+
}, {
|
|
26
|
+
readonly internalType: "uint256";
|
|
27
|
+
readonly name: "";
|
|
28
|
+
readonly type: "uint256";
|
|
29
|
+
}];
|
|
30
|
+
readonly name: "transferFrom";
|
|
31
|
+
readonly outputs: readonly [];
|
|
32
|
+
readonly stateMutability: "pure";
|
|
33
|
+
readonly type: "function";
|
|
34
|
+
}];
|
|
35
|
+
static createInterface(): TRC20RevertInterface;
|
|
36
|
+
static connect(address: string, signerOrProvider: Signer | Provider): TRC20Revert;
|
|
37
|
+
}
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=TRC20Revert__factory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TRC20Revert__factory.d.ts","sourceRoot":"","sources":["../../../../../../../src/types/factories/src/contracts/TestTRC20.sol/TRC20Revert__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAmB,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC7E,OAAO,KAAK,EAAE,QAAQ,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,KAAK,EACV,WAAW,EACX,oBAAoB,EACrB,MAAM,qDAAqD,CAAC;AA+B7D,aAAK,4BAA4B,GAC7B,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,oBAAqB,SAAQ,eAAe;gBAC3C,GAAG,IAAI,EAAE,4BAA4B;IAQxC,MAAM,CACb,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACxC,OAAO,CAAC,WAAW,CAAC;IAGd,oBAAoB,CAC3B,SAAS,CAAC,EAAE,SAAS,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACxC,kBAAkB;IAGZ,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW;IAGpC,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,oBAAoB;IAItD,MAAM,CAAC,QAAQ,CAAC,QAAQ,4mBAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,oBAAoB;IAG9C,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,WAAW;CAGf"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TRC20Revert__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
internalType: "uint256",
|
|
23
|
+
name: "",
|
|
24
|
+
type: "uint256",
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
name: "transferFrom",
|
|
28
|
+
outputs: [],
|
|
29
|
+
stateMutability: "pure",
|
|
30
|
+
type: "function",
|
|
31
|
+
},
|
|
32
|
+
];
|
|
33
|
+
const _bytecode = "0x608060405234801561001057600080fd5b50610112806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806323b872dd14602d575b600080fd5b603c603836600460a5565b603e565b005b60405162461bcd60e51b815260206004820152601c60248201527f54524332305265766572743a207472616e73666572206661696c656400000000604482015260640160405180910390fd5b80356001600160a01b038116811460a057600080fd5b919050565b60008060006060848603121560b957600080fd5b60c084608a565b925060cc60208501608a565b915060408401359050925092509256fea264697066735822122083bc5e63a5ddfcc80de4ebba2ca2a55517e0cc530d977e7d51ad5c260029e98d64736f6c63430008090033";
|
|
34
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
35
|
+
class TRC20Revert__factory extends ethers_1.ContractFactory {
|
|
36
|
+
constructor(...args) {
|
|
37
|
+
if (isSuperArgs(args)) {
|
|
38
|
+
super(...args);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
super(_abi, _bytecode, args[0]);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
deploy(overrides) {
|
|
45
|
+
return super.deploy(overrides || {});
|
|
46
|
+
}
|
|
47
|
+
getDeployTransaction(overrides) {
|
|
48
|
+
return super.getDeployTransaction(overrides || {});
|
|
49
|
+
}
|
|
50
|
+
attach(address) {
|
|
51
|
+
return super.attach(address);
|
|
52
|
+
}
|
|
53
|
+
connect(signer) {
|
|
54
|
+
return super.connect(signer);
|
|
55
|
+
}
|
|
56
|
+
static createInterface() {
|
|
57
|
+
return new ethers_1.utils.Interface(_abi);
|
|
58
|
+
}
|
|
59
|
+
static connect(address, signerOrProvider) {
|
|
60
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.TRC20Revert__factory = TRC20Revert__factory;
|
|
64
|
+
TRC20Revert__factory.bytecode = _bytecode;
|
|
65
|
+
TRC20Revert__factory.abi = _abi;
|
|
66
|
+
//# sourceMappingURL=TRC20Revert__factory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TRC20Revert__factory.js","sourceRoot":"","sources":["../../../../../../../src/types/factories/src/contracts/TestTRC20.sol/TRC20Revert__factory.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,mCAA6E;AAO7E,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAM,SAAS,GACb,wmBAAwmB,CAAC;AAM3mB,MAAM,WAAW,GAAG,CAClB,EAAgC,EACqB,EAAE,CAAC,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;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