@cartesi/devnet 1.6.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/LICENSE +202 -0
- package/build/anvil_state.json +1 -0
- package/deployments/localhost/.chainId +1 -0
- package/deployments/localhost/AuthorityFactory.json +177 -0
- package/deployments/localhost/AuthorityHistoryPairFactory.json +276 -0
- package/deployments/localhost/Bitmask.json +44 -0
- package/deployments/localhost/CartesiDAppFactory.json +231 -0
- package/deployments/localhost/CartesiMathV2.json +213 -0
- package/deployments/localhost/DAppAddressRelay.json +102 -0
- package/deployments/localhost/ERC1155BatchPortal.json +133 -0
- package/deployments/localhost/ERC1155SinglePortal.json +132 -0
- package/deployments/localhost/ERC20Portal.json +120 -0
- package/deployments/localhost/ERC721Portal.json +126 -0
- package/deployments/localhost/EtherPortal.json +121 -0
- package/deployments/localhost/HistoryFactory.json +177 -0
- package/deployments/localhost/InputBox.json +207 -0
- package/deployments/localhost/MerkleV2.json +217 -0
- package/deployments/localhost/SelfHostedApplicationFactory.json +226 -0
- package/deployments/localhost/TestMultiToken.json +829 -0
- package/deployments/localhost/TestNFT.json +891 -0
- package/deployments/localhost/TestToken.json +1079 -0
- package/deployments/localhost/UnrolledCordic.json +54 -0
- package/dist/deploy/01_token.js +15 -0
- package/dist/deploy/02_nft.js +15 -0
- package/dist/deploy/03_multitoken.js +15 -0
- package/dist/src/tasks/deploy-anvil.d.ts +6 -0
- package/dist/src/tasks/deploy-anvil.d.ts.map +1 -0
- package/dist/src/tasks/deploy-anvil.js +38 -0
- package/export/abi/localhost.json +3205 -0
- package/export/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.json +128 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/AccessManaged.sol/AccessManaged.json +137 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/AuthorityUtils.sol/AuthorityUtils.json +32 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManaged.sol/IAccessManaged.json +133 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAccessManager.sol/IAccessManager.json +1251 -0
- package/export/artifacts/@openzeppelin/contracts/access/manager/IAuthority.sol/IAuthority.json +60 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/IERC4906.sol/IERC4906.json +401 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/IERC5267.sol/IERC5267.json +84 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.json +190 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.json +165 -0
- package/export/artifacts/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.json +197 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/ERC1155.sol/ERC1155.json +553 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/IERC1155.json +362 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/IERC1155Receiver.json +156 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/IERC1155MetadataURI.json +385 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +436 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.json +242 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol/ERC20Burnable.json +472 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol/ERC20Pausable.json +502 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.sol/ERC20Permit.json +695 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.json +293 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol/IERC20Permit.json +114 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.json +595 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.json +363 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.json +66 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol/ERC721URIStorage.json +630 -0
- package/export/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.json +421 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Arrays.sol/Arrays.json +38 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.json +24 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Nonces.sol/Nonces.json +73 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Pausable.sol/Pausable.json +103 -0
- package/export/artifacts/@openzeppelin/contracts/utils/ShortStrings.sol/ShortStrings.json +55 -0
- package/export/artifacts/@openzeppelin/contracts/utils/StorageSlot.sol/StorageSlot.json +40 -0
- package/export/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.json +62 -0
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/ECDSA.sol/ECDSA.json +84 -0
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/EIP712.sol/EIP712.json +105 -0
- package/export/artifacts/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol/MessageHashUtils.json +36 -0
- package/export/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.json +50 -0
- package/export/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.json +50 -0
- package/export/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.json +65 -0
- package/export/artifacts/@openzeppelin/contracts/utils/math/SafeCast.sol/SafeCast.json +173 -0
- package/export/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.json +36 -0
- package/export/artifacts/@openzeppelin/contracts/utils/types/Time.sol/Time.json +41 -0
- package/export/artifacts/contracts/TestMultiToken.sol/TestMultiToken.json +750 -0
- package/export/artifacts/contracts/TestNFT.sol/TestNFT.json +779 -0
- package/export/artifacts/contracts/TestToken.sol/TestToken.json +963 -0
- package/package.json +41 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "Ownable",
|
|
3
|
+
"sourceName": "@openzeppelin/contracts/access/Ownable.sol",
|
|
4
|
+
"abi": [
|
|
5
|
+
{
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"internalType": "address",
|
|
9
|
+
"name": "owner",
|
|
10
|
+
"type": "address"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"name": "OwnableInvalidOwner",
|
|
14
|
+
"type": "error"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"inputs": [
|
|
18
|
+
{
|
|
19
|
+
"internalType": "address",
|
|
20
|
+
"name": "account",
|
|
21
|
+
"type": "address"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"name": "OwnableUnauthorizedAccount",
|
|
25
|
+
"type": "error"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"anonymous": false,
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"indexed": true,
|
|
32
|
+
"internalType": "address",
|
|
33
|
+
"name": "previousOwner",
|
|
34
|
+
"type": "address"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"indexed": true,
|
|
38
|
+
"internalType": "address",
|
|
39
|
+
"name": "newOwner",
|
|
40
|
+
"type": "address"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"name": "OwnershipTransferred",
|
|
44
|
+
"type": "event"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"inputs": [],
|
|
48
|
+
"name": "owner",
|
|
49
|
+
"outputs": [
|
|
50
|
+
{
|
|
51
|
+
"internalType": "address",
|
|
52
|
+
"name": "",
|
|
53
|
+
"type": "address"
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"stateMutability": "view",
|
|
57
|
+
"type": "function"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"inputs": [],
|
|
61
|
+
"name": "renounceOwnership",
|
|
62
|
+
"outputs": [],
|
|
63
|
+
"stateMutability": "nonpayable",
|
|
64
|
+
"type": "function"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"inputs": [
|
|
68
|
+
{
|
|
69
|
+
"internalType": "address",
|
|
70
|
+
"name": "newOwner",
|
|
71
|
+
"type": "address"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"name": "transferOwnership",
|
|
75
|
+
"outputs": [],
|
|
76
|
+
"stateMutability": "nonpayable",
|
|
77
|
+
"type": "function"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"bytecode": "0x",
|
|
81
|
+
"deployedBytecode": "0x",
|
|
82
|
+
"linkReferences": {},
|
|
83
|
+
"deployedLinkReferences": {},
|
|
84
|
+
"devdoc": {
|
|
85
|
+
"details": "Contract module which provides a basic access control mechanism, where there is an account (an owner) that can be granted exclusive access to specific functions. The initial owner is set to the address provided by the deployer. This can later be changed with {transferOwnership}. This module is used through inheritance. It will make available the modifier `onlyOwner`, which can be applied to your functions to restrict their use to the owner.",
|
|
86
|
+
"errors": {
|
|
87
|
+
"OwnableInvalidOwner(address)": [
|
|
88
|
+
{
|
|
89
|
+
"details": "The owner is not a valid owner account. (eg. `address(0)`)"
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"OwnableUnauthorizedAccount(address)": [
|
|
93
|
+
{
|
|
94
|
+
"details": "The caller account is not authorized to perform an operation."
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
},
|
|
98
|
+
"kind": "dev",
|
|
99
|
+
"methods": {
|
|
100
|
+
"constructor": {
|
|
101
|
+
"details": "Initializes the contract setting the address provided by the deployer as the initial owner."
|
|
102
|
+
},
|
|
103
|
+
"owner()": {
|
|
104
|
+
"details": "Returns the address of the current owner."
|
|
105
|
+
},
|
|
106
|
+
"renounceOwnership()": {
|
|
107
|
+
"details": "Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."
|
|
108
|
+
},
|
|
109
|
+
"transferOwnership(address)": {
|
|
110
|
+
"details": "Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"version": 1
|
|
114
|
+
},
|
|
115
|
+
"userdoc": {
|
|
116
|
+
"kind": "user",
|
|
117
|
+
"methods": {},
|
|
118
|
+
"version": 1
|
|
119
|
+
},
|
|
120
|
+
"evm": {
|
|
121
|
+
"gasEstimates": null,
|
|
122
|
+
"methodIdentifiers": {
|
|
123
|
+
"owner()": "8da5cb5b",
|
|
124
|
+
"renounceOwnership()": "715018a6",
|
|
125
|
+
"transferOwnership(address)": "f2fde38b"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
package/export/artifacts/@openzeppelin/contracts/access/manager/AccessManaged.sol/AccessManaged.json
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "AccessManaged",
|
|
3
|
+
"sourceName": "@openzeppelin/contracts/access/manager/AccessManaged.sol",
|
|
4
|
+
"abi": [
|
|
5
|
+
{
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"internalType": "address",
|
|
9
|
+
"name": "authority",
|
|
10
|
+
"type": "address"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"name": "AccessManagedInvalidAuthority",
|
|
14
|
+
"type": "error"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"inputs": [
|
|
18
|
+
{
|
|
19
|
+
"internalType": "address",
|
|
20
|
+
"name": "caller",
|
|
21
|
+
"type": "address"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint32",
|
|
25
|
+
"name": "delay",
|
|
26
|
+
"type": "uint32"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "AccessManagedRequiredDelay",
|
|
30
|
+
"type": "error"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [
|
|
34
|
+
{
|
|
35
|
+
"internalType": "address",
|
|
36
|
+
"name": "caller",
|
|
37
|
+
"type": "address"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"name": "AccessManagedUnauthorized",
|
|
41
|
+
"type": "error"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"anonymous": false,
|
|
45
|
+
"inputs": [
|
|
46
|
+
{
|
|
47
|
+
"indexed": false,
|
|
48
|
+
"internalType": "address",
|
|
49
|
+
"name": "authority",
|
|
50
|
+
"type": "address"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"name": "AuthorityUpdated",
|
|
54
|
+
"type": "event"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"inputs": [],
|
|
58
|
+
"name": "authority",
|
|
59
|
+
"outputs": [
|
|
60
|
+
{
|
|
61
|
+
"internalType": "address",
|
|
62
|
+
"name": "",
|
|
63
|
+
"type": "address"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"stateMutability": "view",
|
|
67
|
+
"type": "function"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"inputs": [],
|
|
71
|
+
"name": "isConsumingScheduledOp",
|
|
72
|
+
"outputs": [
|
|
73
|
+
{
|
|
74
|
+
"internalType": "bytes4",
|
|
75
|
+
"name": "",
|
|
76
|
+
"type": "bytes4"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"stateMutability": "view",
|
|
80
|
+
"type": "function"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"inputs": [
|
|
84
|
+
{
|
|
85
|
+
"internalType": "address",
|
|
86
|
+
"name": "newAuthority",
|
|
87
|
+
"type": "address"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"name": "setAuthority",
|
|
91
|
+
"outputs": [],
|
|
92
|
+
"stateMutability": "nonpayable",
|
|
93
|
+
"type": "function"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"bytecode": "0x",
|
|
97
|
+
"deployedBytecode": "0x",
|
|
98
|
+
"linkReferences": {},
|
|
99
|
+
"deployedLinkReferences": {},
|
|
100
|
+
"devdoc": {
|
|
101
|
+
"details": "This contract module makes available a {restricted} modifier. Functions decorated with this modifier will be permissioned according to an \"authority\": a contract like {AccessManager} that follows the {IAuthority} interface, implementing a policy that allows certain callers to access certain functions. IMPORTANT: The `restricted` modifier should never be used on `internal` functions, judiciously used in `public` functions, and ideally only used in `external` functions. See {restricted}.",
|
|
102
|
+
"events": {
|
|
103
|
+
"AuthorityUpdated(address)": {
|
|
104
|
+
"details": "Authority that manages this contract was updated."
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"kind": "dev",
|
|
108
|
+
"methods": {
|
|
109
|
+
"authority()": {
|
|
110
|
+
"details": "Returns the current authority."
|
|
111
|
+
},
|
|
112
|
+
"constructor": {
|
|
113
|
+
"details": "Initializes the contract connected to an initial authority."
|
|
114
|
+
},
|
|
115
|
+
"isConsumingScheduledOp()": {
|
|
116
|
+
"details": "Returns true only in the context of a delayed restricted call, at the moment that the scheduled operation is being consumed. Prevents denial of service for delayed restricted calls in the case that the contract performs attacker controlled calls."
|
|
117
|
+
},
|
|
118
|
+
"setAuthority(address)": {
|
|
119
|
+
"details": "Transfers control to a new authority. The caller must be the current authority."
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"version": 1
|
|
123
|
+
},
|
|
124
|
+
"userdoc": {
|
|
125
|
+
"kind": "user",
|
|
126
|
+
"methods": {},
|
|
127
|
+
"version": 1
|
|
128
|
+
},
|
|
129
|
+
"evm": {
|
|
130
|
+
"gasEstimates": null,
|
|
131
|
+
"methodIdentifiers": {
|
|
132
|
+
"authority()": "bf7e214f",
|
|
133
|
+
"isConsumingScheduledOp()": "8fb36037",
|
|
134
|
+
"setAuthority(address)": "7a9e5e4b"
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "AuthorityUtils",
|
|
3
|
+
"sourceName": "@openzeppelin/contracts/access/manager/AuthorityUtils.sol",
|
|
4
|
+
"abi": [],
|
|
5
|
+
"bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202e375e38562aabe269e091775903944e5765cd5e3a459e311b4d538495f3871364736f6c63430008140033",
|
|
6
|
+
"deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202e375e38562aabe269e091775903944e5765cd5e3a459e311b4d538495f3871364736f6c63430008140033",
|
|
7
|
+
"linkReferences": {},
|
|
8
|
+
"deployedLinkReferences": {},
|
|
9
|
+
"devdoc": {
|
|
10
|
+
"kind": "dev",
|
|
11
|
+
"methods": {},
|
|
12
|
+
"version": 1
|
|
13
|
+
},
|
|
14
|
+
"userdoc": {
|
|
15
|
+
"kind": "user",
|
|
16
|
+
"methods": {},
|
|
17
|
+
"version": 1
|
|
18
|
+
},
|
|
19
|
+
"evm": {
|
|
20
|
+
"gasEstimates": {
|
|
21
|
+
"creation": {
|
|
22
|
+
"codeDepositCost": "17200",
|
|
23
|
+
"executionCost": "97",
|
|
24
|
+
"totalCost": "17297"
|
|
25
|
+
},
|
|
26
|
+
"internal": {
|
|
27
|
+
"canCallWithDelay(address,address,address,bytes4)": "infinite"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"methodIdentifiers": {}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contractName": "IAccessManaged",
|
|
3
|
+
"sourceName": "@openzeppelin/contracts/access/manager/IAccessManaged.sol",
|
|
4
|
+
"abi": [
|
|
5
|
+
{
|
|
6
|
+
"inputs": [
|
|
7
|
+
{
|
|
8
|
+
"internalType": "address",
|
|
9
|
+
"name": "authority",
|
|
10
|
+
"type": "address"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"name": "AccessManagedInvalidAuthority",
|
|
14
|
+
"type": "error"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"inputs": [
|
|
18
|
+
{
|
|
19
|
+
"internalType": "address",
|
|
20
|
+
"name": "caller",
|
|
21
|
+
"type": "address"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"internalType": "uint32",
|
|
25
|
+
"name": "delay",
|
|
26
|
+
"type": "uint32"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"name": "AccessManagedRequiredDelay",
|
|
30
|
+
"type": "error"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"inputs": [
|
|
34
|
+
{
|
|
35
|
+
"internalType": "address",
|
|
36
|
+
"name": "caller",
|
|
37
|
+
"type": "address"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"name": "AccessManagedUnauthorized",
|
|
41
|
+
"type": "error"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"anonymous": false,
|
|
45
|
+
"inputs": [
|
|
46
|
+
{
|
|
47
|
+
"indexed": false,
|
|
48
|
+
"internalType": "address",
|
|
49
|
+
"name": "authority",
|
|
50
|
+
"type": "address"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"name": "AuthorityUpdated",
|
|
54
|
+
"type": "event"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"inputs": [],
|
|
58
|
+
"name": "authority",
|
|
59
|
+
"outputs": [
|
|
60
|
+
{
|
|
61
|
+
"internalType": "address",
|
|
62
|
+
"name": "",
|
|
63
|
+
"type": "address"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"stateMutability": "view",
|
|
67
|
+
"type": "function"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"inputs": [],
|
|
71
|
+
"name": "isConsumingScheduledOp",
|
|
72
|
+
"outputs": [
|
|
73
|
+
{
|
|
74
|
+
"internalType": "bytes4",
|
|
75
|
+
"name": "",
|
|
76
|
+
"type": "bytes4"
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"stateMutability": "view",
|
|
80
|
+
"type": "function"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"inputs": [
|
|
84
|
+
{
|
|
85
|
+
"internalType": "address",
|
|
86
|
+
"name": "",
|
|
87
|
+
"type": "address"
|
|
88
|
+
}
|
|
89
|
+
],
|
|
90
|
+
"name": "setAuthority",
|
|
91
|
+
"outputs": [],
|
|
92
|
+
"stateMutability": "nonpayable",
|
|
93
|
+
"type": "function"
|
|
94
|
+
}
|
|
95
|
+
],
|
|
96
|
+
"bytecode": "0x",
|
|
97
|
+
"deployedBytecode": "0x",
|
|
98
|
+
"linkReferences": {},
|
|
99
|
+
"deployedLinkReferences": {},
|
|
100
|
+
"devdoc": {
|
|
101
|
+
"events": {
|
|
102
|
+
"AuthorityUpdated(address)": {
|
|
103
|
+
"details": "Authority that manages this contract was updated."
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"kind": "dev",
|
|
107
|
+
"methods": {
|
|
108
|
+
"authority()": {
|
|
109
|
+
"details": "Returns the current authority."
|
|
110
|
+
},
|
|
111
|
+
"isConsumingScheduledOp()": {
|
|
112
|
+
"details": "Returns true only in the context of a delayed restricted call, at the moment that the scheduled operation is being consumed. Prevents denial of service for delayed restricted calls in the case that the contract performs attacker controlled calls."
|
|
113
|
+
},
|
|
114
|
+
"setAuthority(address)": {
|
|
115
|
+
"details": "Transfers control to a new authority. The caller must be the current authority."
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"version": 1
|
|
119
|
+
},
|
|
120
|
+
"userdoc": {
|
|
121
|
+
"kind": "user",
|
|
122
|
+
"methods": {},
|
|
123
|
+
"version": 1
|
|
124
|
+
},
|
|
125
|
+
"evm": {
|
|
126
|
+
"gasEstimates": null,
|
|
127
|
+
"methodIdentifiers": {
|
|
128
|
+
"authority()": "bf7e214f",
|
|
129
|
+
"isConsumingScheduledOp()": "8fb36037",
|
|
130
|
+
"setAuthority(address)": "7a9e5e4b"
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|