@stargatefinance/stg-evm-sdk-v2 1.2.7 → 1.3.1
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/artifacts/src/StargateOFT.sol/StargateOFT.json +2 -2
- package/artifacts/src/StargateOFTAlt.sol/StargateOFTAlt.json +1584 -0
- package/artifacts/src/StargatePool.sol/StargatePool.json +2 -2
- package/artifacts/src/StargatePoolMigratable.sol/StargatePoolMigratable.json +2 -2
- package/artifacts/src/StargatePoolNative.sol/StargatePoolNative.json +2 -2
- package/artifacts/src/eurc/StargateOFTEURC.sol/StargateOFTEURC.json +2 -2
- package/artifacts/src/eurc/StargatePoolEURC.sol/StargatePoolEURC.json +2 -2
- package/artifacts/src/interfaces/tip20/ITIP20.sol/ITIP20.json +1065 -0
- package/artifacts/src/interfaces/tip20/ITIP20RolesAuth.sol/ITIP20RolesAuth.json +139 -0
- package/artifacts/src/messaging/CreditMessagingAlt.sol/CreditMessagingAlt.json +1142 -0
- package/artifacts/src/messaging/TokenMessaging.sol/TokenMessaging.json +2 -2
- package/artifacts/src/messaging/TokenMessagingAlt.sol/TokenMessagingAlt.json +1907 -0
- package/artifacts/src/mocks/tip20/TIP20.sol/TIP20.json +1253 -0
- package/artifacts/src/mocks/tip20/TIP403Registry.sol/TIP403Registry.json +335 -0
- package/artifacts/src/mocks/tip20/abstracts/TIP20RolesAuth.sol/TIP20RolesAuth.json +163 -0
- package/artifacts/src/mocks/tip20/interfaces/ITIP403Registry.sol/ITIP403Registry.json +335 -0
- package/artifacts/src/peripheral/Treasurer.sol/Treasurer.json +2 -2
- package/artifacts/src/tip20/StargateOFTTIP20.sol/StargateOFTTIP20.json +1595 -0
- package/artifacts/src/usdc/StargateOFTUSDC.sol/StargateOFTUSDC.json +2 -2
- package/artifacts/src/usdc/StargatePoolUSDC.sol/StargatePoolUSDC.json +2 -2
- package/deployments/horizen-mainnet/CreditMessaging.json +1501 -0
- package/deployments/horizen-mainnet/FeeLibV1USDC.json +611 -0
- package/deployments/horizen-mainnet/OFTWrapper.json +1506 -0
- package/deployments/horizen-mainnet/StargateOFTUSDC.json +1978 -0
- package/deployments/horizen-mainnet/TokenMessaging.json +2475 -0
- package/deployments/horizen-mainnet/Treasurer.json +450 -0
- package/deployments/moderato-testnet/CreditMessaging.json +1592 -0
- package/deployments/moderato-testnet/FeeLibV1EURC.json +625 -0
- package/deployments/moderato-testnet/FeeLibV1USDC.json +625 -0
- package/deployments/moderato-testnet/OFTWrapper.json +1520 -0
- package/deployments/moderato-testnet/StargateOFTEURC.json +2023 -0
- package/deployments/moderato-testnet/StargateOFTUSDC.json +2023 -0
- package/deployments/moderato-testnet/TokenMessaging.json +2484 -0
- package/deployments/moderato-testnet/Treasurer.json +464 -0
- package/deployments/tempo-mainnet/CreditMessaging.json +1592 -0
- package/deployments/tempo-mainnet/FeeLibV1EURC.json +625 -0
- package/deployments/tempo-mainnet/FeeLibV1USDC.json +625 -0
- package/deployments/tempo-mainnet/OFTWrapper.json +1520 -0
- package/deployments/tempo-mainnet/StargateOFTEURC.json +2036 -0
- package/deployments/tempo-mainnet/StargateOFTUSDC.json +2036 -0
- package/deployments/tempo-mainnet/TokenMessaging.json +2481 -0
- package/deployments/tempo-mainnet/Treasurer.json +464 -0
- package/dist/deployed/CreditMessaging.cjs +10 -0
- package/dist/deployed/CreditMessaging.cjs.map +1 -1
- package/dist/deployed/CreditMessaging.mjs +10 -0
- package/dist/deployed/CreditMessaging.mjs.map +1 -1
- package/dist/deployed/FeeLibV1EURC.cjs +9 -3
- package/dist/deployed/FeeLibV1EURC.cjs.map +1 -1
- package/dist/deployed/FeeLibV1EURC.mjs +9 -3
- package/dist/deployed/FeeLibV1EURC.mjs.map +1 -1
- package/dist/deployed/FeeLibV1USDC.cjs +9 -0
- package/dist/deployed/FeeLibV1USDC.cjs.map +1 -1
- package/dist/deployed/FeeLibV1USDC.mjs +9 -0
- package/dist/deployed/FeeLibV1USDC.mjs.map +1 -1
- package/dist/deployed/OFTWrapper.cjs +9 -0
- package/dist/deployed/OFTWrapper.cjs.map +1 -1
- package/dist/deployed/OFTWrapper.mjs +9 -0
- package/dist/deployed/OFTWrapper.mjs.map +1 -1
- package/dist/deployed/StargateOFTEURC.cjs +11 -3
- package/dist/deployed/StargateOFTEURC.cjs.map +1 -1
- package/dist/deployed/StargateOFTEURC.mjs +11 -3
- package/dist/deployed/StargateOFTEURC.mjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC-gNoY8tx0.d.mts +4995 -0
- package/dist/deployed/StargateOFTUSDC-gNoY8tx0.d.ts +4995 -0
- package/dist/deployed/StargateOFTUSDC.cjs +11 -0
- package/dist/deployed/StargateOFTUSDC.cjs.map +1 -1
- package/dist/deployed/StargateOFTUSDC.d.mts +1 -0
- package/dist/deployed/StargateOFTUSDC.d.ts +1 -0
- package/dist/deployed/StargateOFTUSDC.mjs +11 -0
- package/dist/deployed/StargateOFTUSDC.mjs.map +1 -1
- package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.mts +2492 -0
- package/dist/deployed/StargateOFTUSDT-n5r6jpXt.d.ts +2492 -0
- package/dist/deployed/StargateOFTUSDT.d.mts +1 -0
- package/dist/deployed/StargateOFTUSDT.d.ts +1 -0
- package/dist/deployed/StargatePoolETH-lOsiDbJC.d.mts +1530 -0
- package/dist/deployed/StargatePoolETH-lOsiDbJC.d.ts +1530 -0
- package/dist/deployed/StargatePoolETH.d.mts +1 -0
- package/dist/deployed/StargatePoolETH.d.ts +1 -0
- package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.mts +1582 -0
- package/dist/deployed/StargatePoolEURC-D7GGCfr7.d.ts +1582 -0
- package/dist/deployed/StargatePoolEURC.d.mts +1 -0
- package/dist/deployed/StargatePoolEURC.d.ts +1 -0
- package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.mts +1519 -0
- package/dist/deployed/StargatePoolMETIS-CQrZSdA7.d.ts +1519 -0
- package/dist/deployed/StargatePoolMETIS.d.mts +1 -0
- package/dist/deployed/StargatePoolMETIS.d.ts +1 -0
- package/dist/deployed/StargatePoolNative-BKokoo5S.d.mts +1568 -0
- package/dist/deployed/StargatePoolNative-BKokoo5S.d.ts +1568 -0
- package/dist/deployed/StargatePoolNative.d.mts +1 -0
- package/dist/deployed/StargatePoolNative.d.ts +1 -0
- package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.mts +1632 -0
- package/dist/deployed/StargatePoolUSDC-gP7LrAIv.d.ts +1632 -0
- package/dist/deployed/StargatePoolUSDC.d.mts +1 -0
- package/dist/deployed/StargatePoolUSDC.d.ts +1 -0
- package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.mts +1627 -0
- package/dist/deployed/StargatePoolUSDT-DkOqtwrh.d.ts +1627 -0
- package/dist/deployed/StargatePoolUSDT.d.mts +1 -0
- package/dist/deployed/StargatePoolUSDT.d.ts +1 -0
- package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.mts +1519 -0
- package/dist/deployed/StargatePoolmETH-C_R3a4-e.d.ts +1519 -0
- package/dist/deployed/StargatePoolmETH.d.mts +1 -0
- package/dist/deployed/StargatePoolmETH.d.ts +1 -0
- package/dist/deployed/StargateStaking-BL9axih_.d.mts +459 -0
- package/dist/deployed/StargateStaking-BL9axih_.d.ts +459 -0
- package/dist/deployed/StargateStaking.d.mts +1 -0
- package/dist/deployed/StargateStaking.d.ts +1 -0
- package/dist/deployed/TokenMessaging-BfnD6v53.d.mts +3174 -0
- package/dist/deployed/TokenMessaging-BfnD6v53.d.ts +3174 -0
- package/dist/deployed/TokenMessaging.cjs +10 -0
- package/dist/deployed/TokenMessaging.cjs.map +1 -1
- package/dist/deployed/TokenMessaging.d.mts +1 -0
- package/dist/deployed/TokenMessaging.d.ts +1 -0
- package/dist/deployed/TokenMessaging.mjs +10 -0
- package/dist/deployed/TokenMessaging.mjs.map +1 -1
- package/dist/deployed/Treasurer-DlA2Gv8f.d.mts +450 -0
- package/dist/deployed/Treasurer-DlA2Gv8f.d.ts +450 -0
- package/dist/deployed/Treasurer.cjs +9 -0
- package/dist/deployed/Treasurer.cjs.map +1 -1
- package/dist/deployed/Treasurer.d.mts +1 -0
- package/dist/deployed/Treasurer.d.ts +1 -0
- package/dist/deployed/Treasurer.mjs +9 -0
- package/dist/deployed/Treasurer.mjs.map +1 -1
- package/dist/deployed/USDCImpl-DN89Rpdz.d.mts +1124 -0
- package/dist/deployed/USDCImpl-DN89Rpdz.d.ts +1124 -0
- package/dist/deployed/USDCImpl.d.mts +1 -0
- package/dist/deployed/USDCImpl.d.ts +1 -0
- package/dist/deployed/USDCProxy-BsrYumZv.d.mts +141 -0
- package/dist/deployed/USDCProxy-BsrYumZv.d.ts +141 -0
- package/dist/deployed/USDCProxy.d.mts +1 -0
- package/dist/deployed/USDCProxy.d.ts +1 -0
- package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.mts +73 -0
- package/dist/deployed/USDCSignatureLib-W2-GjRxG.d.ts +73 -0
- package/dist/deployed/USDCSignatureLib.d.mts +1 -0
- package/dist/deployed/USDCSignatureLib.d.ts +1 -0
- package/dist/deployed/USDT-DVAQjDdu.d.mts +690 -0
- package/dist/deployed/USDT-DVAQjDdu.d.ts +690 -0
- package/dist/deployed/USDT.d.mts +1 -0
- package/dist/deployed/USDT.d.ts +1 -0
- package/dist/deployed/contracts-CwDH7mzf.d.mts +68 -0
- package/dist/deployed/contracts-Yg5JhOts.d.ts +68 -0
- package/dist/deployed/contracts.cjs +119 -47
- package/dist/deployed/contracts.cjs.map +1 -1
- package/dist/deployed/contracts.d.mts +31 -0
- package/dist/deployed/contracts.d.ts +31 -0
- package/dist/deployed/contracts.mjs +119 -47
- package/dist/deployed/contracts.mjs.map +1 -1
- package/dist/deployed/index.cjs +119 -47
- package/dist/deployed/index.cjs.map +1 -1
- package/dist/deployed/index.d.mts +36 -0
- package/dist/deployed/index.d.ts +36 -0
- package/dist/deployed/index.mjs +119 -47
- package/dist/deployed/index.mjs.map +1 -1
- package/dist/index.cjs +43 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +49 -2
- package/dist/index.d.ts +49 -2
- package/dist/index.mjs +43 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"_format": "hh-sol-artifact-1",
|
|
3
|
+
"contractName": "ITIP20RolesAuth",
|
|
4
|
+
"sourceName": "src/interfaces/tip20/ITIP20RolesAuth.sol",
|
|
5
|
+
"abi": [
|
|
6
|
+
{
|
|
7
|
+
"inputs": [],
|
|
8
|
+
"name": "Unauthorized",
|
|
9
|
+
"type": "error"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"anonymous": false,
|
|
13
|
+
"inputs": [
|
|
14
|
+
{
|
|
15
|
+
"indexed": true,
|
|
16
|
+
"internalType": "bytes32",
|
|
17
|
+
"name": "role",
|
|
18
|
+
"type": "bytes32"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"indexed": true,
|
|
22
|
+
"internalType": "bytes32",
|
|
23
|
+
"name": "newAdminRole",
|
|
24
|
+
"type": "bytes32"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"indexed": true,
|
|
28
|
+
"internalType": "address",
|
|
29
|
+
"name": "sender",
|
|
30
|
+
"type": "address"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"name": "RoleAdminUpdated",
|
|
34
|
+
"type": "event"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"anonymous": false,
|
|
38
|
+
"inputs": [
|
|
39
|
+
{
|
|
40
|
+
"indexed": true,
|
|
41
|
+
"internalType": "bytes32",
|
|
42
|
+
"name": "role",
|
|
43
|
+
"type": "bytes32"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"indexed": true,
|
|
47
|
+
"internalType": "address",
|
|
48
|
+
"name": "account",
|
|
49
|
+
"type": "address"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"indexed": true,
|
|
53
|
+
"internalType": "address",
|
|
54
|
+
"name": "sender",
|
|
55
|
+
"type": "address"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"indexed": false,
|
|
59
|
+
"internalType": "bool",
|
|
60
|
+
"name": "hasRole",
|
|
61
|
+
"type": "bool"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"name": "RoleMembershipUpdated",
|
|
65
|
+
"type": "event"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"inputs": [
|
|
69
|
+
{
|
|
70
|
+
"internalType": "bytes32",
|
|
71
|
+
"name": "role",
|
|
72
|
+
"type": "bytes32"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"internalType": "address",
|
|
76
|
+
"name": "account",
|
|
77
|
+
"type": "address"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"name": "grantRole",
|
|
81
|
+
"outputs": [],
|
|
82
|
+
"stateMutability": "nonpayable",
|
|
83
|
+
"type": "function"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"inputs": [
|
|
87
|
+
{
|
|
88
|
+
"internalType": "bytes32",
|
|
89
|
+
"name": "role",
|
|
90
|
+
"type": "bytes32"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"name": "renounceRole",
|
|
94
|
+
"outputs": [],
|
|
95
|
+
"stateMutability": "nonpayable",
|
|
96
|
+
"type": "function"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"inputs": [
|
|
100
|
+
{
|
|
101
|
+
"internalType": "bytes32",
|
|
102
|
+
"name": "role",
|
|
103
|
+
"type": "bytes32"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"internalType": "address",
|
|
107
|
+
"name": "account",
|
|
108
|
+
"type": "address"
|
|
109
|
+
}
|
|
110
|
+
],
|
|
111
|
+
"name": "revokeRole",
|
|
112
|
+
"outputs": [],
|
|
113
|
+
"stateMutability": "nonpayable",
|
|
114
|
+
"type": "function"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"inputs": [
|
|
118
|
+
{
|
|
119
|
+
"internalType": "bytes32",
|
|
120
|
+
"name": "role",
|
|
121
|
+
"type": "bytes32"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"internalType": "bytes32",
|
|
125
|
+
"name": "adminRole",
|
|
126
|
+
"type": "bytes32"
|
|
127
|
+
}
|
|
128
|
+
],
|
|
129
|
+
"name": "setRoleAdmin",
|
|
130
|
+
"outputs": [],
|
|
131
|
+
"stateMutability": "nonpayable",
|
|
132
|
+
"type": "function"
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"bytecode": "0x",
|
|
136
|
+
"deployedBytecode": "0x",
|
|
137
|
+
"linkReferences": {},
|
|
138
|
+
"deployedLinkReferences": {}
|
|
139
|
+
}
|