qvtx-developer-kit 1.0.0 → 1.2.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/.env.example +108 -0
- package/README.md +0 -0
- package/abis/QVTXBridge.json +273 -0
- package/abis/QVTXDirectPurchase.json +621 -0
- package/abis/QVTXGovernance.json +267 -0
- package/abis/QVTXNFT.json +370 -0
- package/abis/QVTXRewards.json +155 -0
- package/abis/QVTXToken.json +311 -0
- package/abis/QVTXVesting.json +216 -0
- package/abis/index.js +16 -0
- package/bin/qvtx-developer-cli.js +99 -0
- package/config/index.js +108 -0
- package/config/networks.js +247 -0
- package/examples/basic-usage.js +39 -0
- package/examples/bridge-example.js +123 -0
- package/examples/direct-purchase.js +300 -0
- package/examples/governance-example.js +140 -0
- package/examples/nft-example.js +141 -0
- package/examples/staking-example.js +96 -0
- package/index.js +145 -0
- package/languages/blockchain_ai_sdk.js +0 -0
- package/languages/node_sdk.js +0 -0
- package/languages/solana_sdk.js +383 -0
- package/package.json +30 -3
- package/purchase/index.js +567 -0
- package/rewards/index.js +71 -0
- package/smart-contracts/QVTXBridge.sol +305 -0
- package/smart-contracts/QVTXDirectPurchase.sol +543 -0
- package/smart-contracts/QVTXGovernance.sol +325 -0
- package/smart-contracts/QVTXNFT.sol +338 -0
- package/smart-contracts/QVTXRewards.sol +102 -0
- package/smart-contracts/QVTXToken.sol +227 -0
- package/smart-contracts/QVTXVesting.sol +411 -0
- package/smart-contracts/interfaces/IERC20.sol +14 -0
- package/smart-contracts/interfaces/IERC20Metadata.sol +8 -0
- package/smart-contracts/interfaces/IERC721.sol +18 -0
- package/smart-contracts/interfaces/IERC721Metadata.sol +8 -0
- package/smart-contracts/interfaces/IERC721Receiver.sol +11 -0
- package/storage/index.js +112 -0
- package/templates/contract/ERC20Token.sol +116 -0
- package/templates/dapp/index.html +93 -0
- package/test/index.js +182 -0
- package/tools/build-tool.js +63 -0
- package/tools/create-template.js +116 -0
- package/tools/deploy-tool.js +55 -0
- package/tools/generate-docs.js +149 -0
- package/tools/init-project.js +138 -0
- package/tools/run-tests.js +64 -0
- package/types/index.d.ts +386 -0
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "QVTXRewards",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"inputs": [{"internalType": "address", "name": "_rewardToken", "type": "address"}],
|
|
6
|
+
"stateMutability": "nonpayable",
|
|
7
|
+
"type": "constructor"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"anonymous": false,
|
|
11
|
+
"inputs": [
|
|
12
|
+
{"indexed": true, "internalType": "address", "name": "user", "type": "address"},
|
|
13
|
+
{"indexed": false, "internalType": "uint256", "name": "reward", "type": "uint256"}
|
|
14
|
+
],
|
|
15
|
+
"name": "RewardPaid",
|
|
16
|
+
"type": "event"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"anonymous": false,
|
|
20
|
+
"inputs": [{"indexed": false, "internalType": "uint256", "name": "newRate", "type": "uint256"}],
|
|
21
|
+
"name": "RewardRateUpdated",
|
|
22
|
+
"type": "event"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"anonymous": false,
|
|
26
|
+
"inputs": [
|
|
27
|
+
{"indexed": true, "internalType": "address", "name": "user", "type": "address"},
|
|
28
|
+
{"indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256"}
|
|
29
|
+
],
|
|
30
|
+
"name": "Staked",
|
|
31
|
+
"type": "event"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"anonymous": false,
|
|
35
|
+
"inputs": [
|
|
36
|
+
{"indexed": true, "internalType": "address", "name": "user", "type": "address"},
|
|
37
|
+
{"indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256"}
|
|
38
|
+
],
|
|
39
|
+
"name": "Withdrawn",
|
|
40
|
+
"type": "event"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"inputs": [],
|
|
44
|
+
"name": "claimReward",
|
|
45
|
+
"outputs": [],
|
|
46
|
+
"stateMutability": "nonpayable",
|
|
47
|
+
"type": "function"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"inputs": [{"internalType": "address", "name": "account", "type": "address"}],
|
|
51
|
+
"name": "earned",
|
|
52
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
53
|
+
"stateMutability": "view",
|
|
54
|
+
"type": "function"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"inputs": [],
|
|
58
|
+
"name": "emergencyWithdraw",
|
|
59
|
+
"outputs": [],
|
|
60
|
+
"stateMutability": "nonpayable",
|
|
61
|
+
"type": "function"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"inputs": [],
|
|
65
|
+
"name": "lastUpdateBlock",
|
|
66
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
67
|
+
"stateMutability": "view",
|
|
68
|
+
"type": "function"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"inputs": [],
|
|
72
|
+
"name": "owner",
|
|
73
|
+
"outputs": [{"internalType": "address", "name": "", "type": "address"}],
|
|
74
|
+
"stateMutability": "view",
|
|
75
|
+
"type": "function"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"inputs": [],
|
|
79
|
+
"name": "rewardPerToken",
|
|
80
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
81
|
+
"stateMutability": "view",
|
|
82
|
+
"type": "function"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"inputs": [],
|
|
86
|
+
"name": "rewardPerTokenStored",
|
|
87
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
88
|
+
"stateMutability": "view",
|
|
89
|
+
"type": "function"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"inputs": [],
|
|
93
|
+
"name": "rewardRate",
|
|
94
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
95
|
+
"stateMutability": "view",
|
|
96
|
+
"type": "function"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"inputs": [],
|
|
100
|
+
"name": "rewardToken",
|
|
101
|
+
"outputs": [{"internalType": "address", "name": "", "type": "address"}],
|
|
102
|
+
"stateMutability": "view",
|
|
103
|
+
"type": "function"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"inputs": [{"internalType": "address", "name": "", "type": "address"}],
|
|
107
|
+
"name": "rewards",
|
|
108
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
109
|
+
"stateMutability": "view",
|
|
110
|
+
"type": "function"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"inputs": [{"internalType": "uint256", "name": "_rate", "type": "uint256"}],
|
|
114
|
+
"name": "setRewardRate",
|
|
115
|
+
"outputs": [],
|
|
116
|
+
"stateMutability": "nonpayable",
|
|
117
|
+
"type": "function"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"inputs": [{"internalType": "uint256", "name": "amount", "type": "uint256"}],
|
|
121
|
+
"name": "stake",
|
|
122
|
+
"outputs": [],
|
|
123
|
+
"stateMutability": "nonpayable",
|
|
124
|
+
"type": "function"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"inputs": [{"internalType": "address", "name": "", "type": "address"}],
|
|
128
|
+
"name": "stakes",
|
|
129
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
130
|
+
"stateMutability": "view",
|
|
131
|
+
"type": "function"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"inputs": [],
|
|
135
|
+
"name": "totalStaked",
|
|
136
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
137
|
+
"stateMutability": "view",
|
|
138
|
+
"type": "function"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"inputs": [{"internalType": "address", "name": "", "type": "address"}],
|
|
142
|
+
"name": "userRewardPerTokenPaid",
|
|
143
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
144
|
+
"stateMutability": "view",
|
|
145
|
+
"type": "function"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"inputs": [{"internalType": "uint256", "name": "amount", "type": "uint256"}],
|
|
149
|
+
"name": "withdraw",
|
|
150
|
+
"outputs": [],
|
|
151
|
+
"stateMutability": "nonpayable",
|
|
152
|
+
"type": "function"
|
|
153
|
+
}
|
|
154
|
+
]
|
|
155
|
+
}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "QVTXToken",
|
|
3
|
+
"abi": [
|
|
4
|
+
{
|
|
5
|
+
"inputs": [{"internalType": "uint256", "name": "initialSupply", "type": "uint256"}],
|
|
6
|
+
"stateMutability": "nonpayable",
|
|
7
|
+
"type": "constructor"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"anonymous": false,
|
|
11
|
+
"inputs": [
|
|
12
|
+
{"indexed": true, "internalType": "address", "name": "owner", "type": "address"},
|
|
13
|
+
{"indexed": true, "internalType": "address", "name": "spender", "type": "address"},
|
|
14
|
+
{"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}
|
|
15
|
+
],
|
|
16
|
+
"name": "Approval",
|
|
17
|
+
"type": "event"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"anonymous": false,
|
|
21
|
+
"inputs": [
|
|
22
|
+
{"indexed": true, "internalType": "address", "name": "account", "type": "address"},
|
|
23
|
+
{"indexed": false, "internalType": "bool", "name": "status", "type": "bool"}
|
|
24
|
+
],
|
|
25
|
+
"name": "Blacklisted",
|
|
26
|
+
"type": "event"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"anonymous": false,
|
|
30
|
+
"inputs": [{"indexed": true, "internalType": "address", "name": "newBridge", "type": "address"}],
|
|
31
|
+
"name": "BridgeContractUpdated",
|
|
32
|
+
"type": "event"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"anonymous": false,
|
|
36
|
+
"inputs": [
|
|
37
|
+
{"indexed": true, "internalType": "uint256", "name": "targetChain", "type": "uint256"},
|
|
38
|
+
{"indexed": true, "internalType": "address", "name": "from", "type": "address"},
|
|
39
|
+
{"indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256"}
|
|
40
|
+
],
|
|
41
|
+
"name": "CrossChainBurn",
|
|
42
|
+
"type": "event"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"anonymous": false,
|
|
46
|
+
"inputs": [
|
|
47
|
+
{"indexed": true, "internalType": "uint256", "name": "sourceChain", "type": "uint256"},
|
|
48
|
+
{"indexed": true, "internalType": "address", "name": "to", "type": "address"},
|
|
49
|
+
{"indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256"}
|
|
50
|
+
],
|
|
51
|
+
"name": "CrossChainMint",
|
|
52
|
+
"type": "event"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"anonymous": false,
|
|
56
|
+
"inputs": [{"indexed": true, "internalType": "address", "name": "minter", "type": "address"}],
|
|
57
|
+
"name": "MinterAdded",
|
|
58
|
+
"type": "event"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"anonymous": false,
|
|
62
|
+
"inputs": [{"indexed": true, "internalType": "address", "name": "minter", "type": "address"}],
|
|
63
|
+
"name": "MinterRemoved",
|
|
64
|
+
"type": "event"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"anonymous": false,
|
|
68
|
+
"inputs": [
|
|
69
|
+
{"indexed": true, "internalType": "address", "name": "previousOwner", "type": "address"},
|
|
70
|
+
{"indexed": true, "internalType": "address", "name": "newOwner", "type": "address"}
|
|
71
|
+
],
|
|
72
|
+
"name": "OwnershipTransferred",
|
|
73
|
+
"type": "event"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"anonymous": false,
|
|
77
|
+
"inputs": [
|
|
78
|
+
{"indexed": true, "internalType": "address", "name": "from", "type": "address"},
|
|
79
|
+
{"indexed": true, "internalType": "address", "name": "to", "type": "address"},
|
|
80
|
+
{"indexed": false, "internalType": "uint256", "name": "value", "type": "uint256"}
|
|
81
|
+
],
|
|
82
|
+
"name": "Transfer",
|
|
83
|
+
"type": "event"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"inputs": [],
|
|
87
|
+
"name": "MAX_SUPPLY",
|
|
88
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
89
|
+
"stateMutability": "view",
|
|
90
|
+
"type": "function"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"inputs": [{"internalType": "address", "name": "minter", "type": "address"}],
|
|
94
|
+
"name": "addMinter",
|
|
95
|
+
"outputs": [],
|
|
96
|
+
"stateMutability": "nonpayable",
|
|
97
|
+
"type": "function"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"inputs": [
|
|
101
|
+
{"internalType": "address", "name": "tokenOwner", "type": "address"},
|
|
102
|
+
{"internalType": "address", "name": "spender", "type": "address"}
|
|
103
|
+
],
|
|
104
|
+
"name": "allowance",
|
|
105
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
106
|
+
"stateMutability": "view",
|
|
107
|
+
"type": "function"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"inputs": [
|
|
111
|
+
{"internalType": "address", "name": "spender", "type": "address"},
|
|
112
|
+
{"internalType": "uint256", "name": "amount", "type": "uint256"}
|
|
113
|
+
],
|
|
114
|
+
"name": "approve",
|
|
115
|
+
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}],
|
|
116
|
+
"stateMutability": "nonpayable",
|
|
117
|
+
"type": "function"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"inputs": [{"internalType": "address", "name": "account", "type": "address"}],
|
|
121
|
+
"name": "balanceOf",
|
|
122
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
123
|
+
"stateMutability": "view",
|
|
124
|
+
"type": "function"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"inputs": [{"internalType": "address", "name": "", "type": "address"}],
|
|
128
|
+
"name": "blacklisted",
|
|
129
|
+
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}],
|
|
130
|
+
"stateMutability": "view",
|
|
131
|
+
"type": "function"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"inputs": [],
|
|
135
|
+
"name": "bridgeContract",
|
|
136
|
+
"outputs": [{"internalType": "address", "name": "", "type": "address"}],
|
|
137
|
+
"stateMutability": "view",
|
|
138
|
+
"type": "function"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"inputs": [
|
|
142
|
+
{"internalType": "address", "name": "from", "type": "address"},
|
|
143
|
+
{"internalType": "uint256", "name": "amount", "type": "uint256"},
|
|
144
|
+
{"internalType": "uint256", "name": "targetChain", "type": "uint256"}
|
|
145
|
+
],
|
|
146
|
+
"name": "bridgeBurn",
|
|
147
|
+
"outputs": [],
|
|
148
|
+
"stateMutability": "nonpayable",
|
|
149
|
+
"type": "function"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"inputs": [
|
|
153
|
+
{"internalType": "address", "name": "to", "type": "address"},
|
|
154
|
+
{"internalType": "uint256", "name": "amount", "type": "uint256"},
|
|
155
|
+
{"internalType": "uint256", "name": "sourceChain", "type": "uint256"}
|
|
156
|
+
],
|
|
157
|
+
"name": "bridgeMint",
|
|
158
|
+
"outputs": [],
|
|
159
|
+
"stateMutability": "nonpayable",
|
|
160
|
+
"type": "function"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"inputs": [{"internalType": "uint256", "name": "amount", "type": "uint256"}],
|
|
164
|
+
"name": "burn",
|
|
165
|
+
"outputs": [],
|
|
166
|
+
"stateMutability": "nonpayable",
|
|
167
|
+
"type": "function"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"inputs": [
|
|
171
|
+
{"internalType": "address", "name": "account", "type": "address"},
|
|
172
|
+
{"internalType": "uint256", "name": "amount", "type": "uint256"}
|
|
173
|
+
],
|
|
174
|
+
"name": "burnFrom",
|
|
175
|
+
"outputs": [],
|
|
176
|
+
"stateMutability": "nonpayable",
|
|
177
|
+
"type": "function"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"inputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
181
|
+
"name": "chainSupply",
|
|
182
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
183
|
+
"stateMutability": "view",
|
|
184
|
+
"type": "function"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"inputs": [],
|
|
188
|
+
"name": "decimals",
|
|
189
|
+
"outputs": [{"internalType": "uint8", "name": "", "type": "uint8"}],
|
|
190
|
+
"stateMutability": "pure",
|
|
191
|
+
"type": "function"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"inputs": [
|
|
195
|
+
{"internalType": "address", "name": "spender", "type": "address"},
|
|
196
|
+
{"internalType": "uint256", "name": "subtractedValue", "type": "uint256"}
|
|
197
|
+
],
|
|
198
|
+
"name": "decreaseAllowance",
|
|
199
|
+
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}],
|
|
200
|
+
"stateMutability": "nonpayable",
|
|
201
|
+
"type": "function"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"inputs": [
|
|
205
|
+
{"internalType": "address", "name": "spender", "type": "address"},
|
|
206
|
+
{"internalType": "uint256", "name": "addedValue", "type": "uint256"}
|
|
207
|
+
],
|
|
208
|
+
"name": "increaseAllowance",
|
|
209
|
+
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}],
|
|
210
|
+
"stateMutability": "nonpayable",
|
|
211
|
+
"type": "function"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"inputs": [
|
|
215
|
+
{"internalType": "address", "name": "to", "type": "address"},
|
|
216
|
+
{"internalType": "uint256", "name": "amount", "type": "uint256"}
|
|
217
|
+
],
|
|
218
|
+
"name": "mint",
|
|
219
|
+
"outputs": [],
|
|
220
|
+
"stateMutability": "nonpayable",
|
|
221
|
+
"type": "function"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"inputs": [{"internalType": "address", "name": "", "type": "address"}],
|
|
225
|
+
"name": "minters",
|
|
226
|
+
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}],
|
|
227
|
+
"stateMutability": "view",
|
|
228
|
+
"type": "function"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"inputs": [],
|
|
232
|
+
"name": "name",
|
|
233
|
+
"outputs": [{"internalType": "string", "name": "", "type": "string"}],
|
|
234
|
+
"stateMutability": "pure",
|
|
235
|
+
"type": "function"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"inputs": [],
|
|
239
|
+
"name": "owner",
|
|
240
|
+
"outputs": [{"internalType": "address", "name": "", "type": "address"}],
|
|
241
|
+
"stateMutability": "view",
|
|
242
|
+
"type": "function"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"inputs": [{"internalType": "address", "name": "minter", "type": "address"}],
|
|
246
|
+
"name": "removeMinter",
|
|
247
|
+
"outputs": [],
|
|
248
|
+
"stateMutability": "nonpayable",
|
|
249
|
+
"type": "function"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"inputs": [
|
|
253
|
+
{"internalType": "address", "name": "account", "type": "address"},
|
|
254
|
+
{"internalType": "bool", "name": "status", "type": "bool"}
|
|
255
|
+
],
|
|
256
|
+
"name": "setBlacklist",
|
|
257
|
+
"outputs": [],
|
|
258
|
+
"stateMutability": "nonpayable",
|
|
259
|
+
"type": "function"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"inputs": [{"internalType": "address", "name": "_bridge", "type": "address"}],
|
|
263
|
+
"name": "setBridgeContract",
|
|
264
|
+
"outputs": [],
|
|
265
|
+
"stateMutability": "nonpayable",
|
|
266
|
+
"type": "function"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"inputs": [],
|
|
270
|
+
"name": "symbol",
|
|
271
|
+
"outputs": [{"internalType": "string", "name": "", "type": "string"}],
|
|
272
|
+
"stateMutability": "pure",
|
|
273
|
+
"type": "function"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"inputs": [],
|
|
277
|
+
"name": "totalSupply",
|
|
278
|
+
"outputs": [{"internalType": "uint256", "name": "", "type": "uint256"}],
|
|
279
|
+
"stateMutability": "view",
|
|
280
|
+
"type": "function"
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"inputs": [
|
|
284
|
+
{"internalType": "address", "name": "to", "type": "address"},
|
|
285
|
+
{"internalType": "uint256", "name": "amount", "type": "uint256"}
|
|
286
|
+
],
|
|
287
|
+
"name": "transfer",
|
|
288
|
+
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}],
|
|
289
|
+
"stateMutability": "nonpayable",
|
|
290
|
+
"type": "function"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"inputs": [
|
|
294
|
+
{"internalType": "address", "name": "from", "type": "address"},
|
|
295
|
+
{"internalType": "address", "name": "to", "type": "address"},
|
|
296
|
+
{"internalType": "uint256", "name": "amount", "type": "uint256"}
|
|
297
|
+
],
|
|
298
|
+
"name": "transferFrom",
|
|
299
|
+
"outputs": [{"internalType": "bool", "name": "", "type": "bool"}],
|
|
300
|
+
"stateMutability": "nonpayable",
|
|
301
|
+
"type": "function"
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"inputs": [{"internalType": "address", "name": "newOwner", "type": "address"}],
|
|
305
|
+
"name": "transferOwnership",
|
|
306
|
+
"outputs": [],
|
|
307
|
+
"stateMutability": "nonpayable",
|
|
308
|
+
"type": "function"
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
}
|