diff --git a/truffle-config.js b/truffle-config.js index 363ce19a5..876183242 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -17,7 +17,8 @@ module.exports = { host: 'localhost', port: 8565, network_id: '1', - gasPrice: 2000000000, + gasPrice: 20000000000, + from: '0x6Bf917B4725aD736B33Dbd493Ad7a4B992150DAb', }, ropsten: { diff --git a/zos.mainnet.json b/zos.mainnet.json index c33e2543c..32aa78dc1 100644 --- a/zos.mainnet.json +++ b/zos.mainnet.json @@ -1,17 +1,851 @@ { - "contracts": {}, + "contracts": { + "StandaloneERC721": { + "address": "0x8c9900276e5eD54C104d743a6E01B7041acab40f", + "constructorCode": "608060405234801561001057600080fd5b506136c6806100206000396000f3fe", + "bodyBytecodeHash": "1f3ce589a0ba1fad4f98754bd97f051852e7dbb5522d49a7185defb3e377d347", + "localBytecodeHash": "84a5a6731b4686c34ef5acfcf4474af2e61b3e4e0b10ea96418e4b7bd1074cbc", + "deployedBytecodeHash": "84a5a6731b4686c34ef5acfcf4474af2e61b3e4e0b10ea96418e4b7bd1074cbc", + "types": { + "t_bool": { + "id": "t_bool", + "kind": "elementary", + "label": "bool" + }, + "t_uint256": { + "id": "t_uint256", + "kind": "elementary", + "label": "uint256" + }, + "t_array:50": { + "id": "t_array:50", + "valueType": "t_uint256", + "length": "50", + "kind": "array", + "label": "uint256[50]" + }, + "t_mapping": { + "id": "t_mapping", + "valueType": "t_bool", + "label": "mapping(key => bool)", + "kind": "mapping" + }, + "t_address": { + "id": "t_address", + "kind": "elementary", + "label": "address" + }, + "t_mapping": { + "id": "t_mapping", + "valueType": "t_address", + "label": "mapping(key => address)", + "kind": "mapping" + }, + "t_struct": { + "id": "t_struct", + "kind": "struct", + "label": "Counters.Counter", + "members": [ + { + "label": "_value", + "astId": 2415, + "type": "t_uint256", + "src": "1021:14:22" + } + ] + }, + "t_mapping>": { + "id": "t_mapping>", + "valueType": "t_struct", + "label": "mapping(key => Counters.Counter)", + "kind": "mapping" + }, + "t_array:dyn": { + "id": "t_array:dyn", + "valueType": "t_uint256", + "length": "dyn", + "kind": "array", + "label": "uint256[]" + }, + "t_mapping>": { + "id": "t_mapping>", + "valueType": "t_array:dyn", + "label": "mapping(key => uint256[])", + "kind": "mapping" + }, + "t_mapping": { + "id": "t_mapping", + "valueType": "t_uint256", + "label": "mapping(key => uint256)", + "kind": "mapping" + }, + "t_string": { + "id": "t_string", + "kind": "elementary", + "label": "string" + }, + "t_mapping": { + "id": "t_mapping", + "valueType": "t_string", + "label": "mapping(key => string)", + "kind": "mapping" + }, + "t_struct": { + "id": "t_struct", + "kind": "struct", + "label": "Roles.Role", + "members": [ + { + "label": "bearer", + "astId": 5, + "type": "t_mapping", + "src": "150:32:0" + } + ] + } + }, + "storage": [ + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "initialized", + "astId": 11836, + "type": "t_bool", + "src": "757:24:140" + }, + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "initializing", + "astId": 11838, + "type": "t_bool", + "src": "876:25:140" + }, + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "______gap", + "astId": 11887, + "type": "t_array:50", + "src": "1891:29:140" + }, + { + "contract": "ERC165", + "path": "contracts/introspection/ERC165.sol", + "label": "_supportedInterfaces", + "astId": 3974, + "type": "t_mapping", + "src": "496:52:31" + }, + { + "contract": "ERC165", + "path": "contracts/introspection/ERC165.sol", + "label": "______gap", + "astId": 4018, + "type": "t_array:50", + "src": "1229:29:31" + }, + { + "contract": "ERC721", + "path": "contracts/token/ERC721/ERC721.sol", + "label": "_tokenOwner", + "astId": 10031, + "type": "t_mapping", + "src": "829:48:122" + }, + { + "contract": "ERC721", + "path": "contracts/token/ERC721/ERC721.sol", + "label": "_tokenApprovals", + "astId": 10035, + "type": "t_mapping", + "src": "933:52:122" + }, + { + "contract": "ERC721", + "path": "contracts/token/ERC721/ERC721.sol", + "label": "_ownedTokensCount", + "astId": 10039, + "type": "t_mapping>", + "src": "1043:63:122" + }, + { + "contract": "ERC721", + "path": "contracts/token/ERC721/ERC721.sol", + "label": "_operatorApprovals", + "astId": 10045, + "type": "t_mapping", + "src": "1161:73:122" + }, + { + "contract": "ERC721", + "path": "contracts/token/ERC721/ERC721.sol", + "label": "______gap", + "astId": 10568, + "type": "t_array:50", + "src": "11658:29:122" + }, + { + "contract": "ERC721Enumerable", + "path": "contracts/token/ERC721/ERC721Enumerable.sol", + "label": "_ownedTokens", + "astId": 10619, + "type": "t_mapping>", + "src": "445:50:124" + }, + { + "contract": "ERC721Enumerable", + "path": "contracts/token/ERC721/ERC721Enumerable.sol", + "label": "_ownedTokensIndex", + "astId": 10623, + "type": "t_mapping", + "src": "565:53:124" + }, + { + "contract": "ERC721Enumerable", + "path": "contracts/token/ERC721/ERC721Enumerable.sol", + "label": "_allTokens", + "astId": 10626, + "type": "t_array:dyn", + "src": "679:28:124" + }, + { + "contract": "ERC721Enumerable", + "path": "contracts/token/ERC721/ERC721Enumerable.sol", + "label": "_allTokensIndex", + "astId": 10630, + "type": "t_mapping", + "src": "778:51:124" + }, + { + "contract": "ERC721Enumerable", + "path": "contracts/token/ERC721/ERC721Enumerable.sol", + "label": "______gap", + "astId": 10959, + "type": "t_array:50", + "src": "8801:29:124" + }, + { + "contract": "ERC721Metadata", + "path": "contracts/token/ERC721/ERC721Metadata.sol", + "label": "_name", + "astId": 11026, + "type": "t_string", + "src": "266:20:127" + }, + { + "contract": "ERC721Metadata", + "path": "contracts/token/ERC721/ERC721Metadata.sol", + "label": "_symbol", + "astId": 11028, + "type": "t_string", + "src": "313:22:127" + }, + { + "contract": "ERC721Metadata", + "path": "contracts/token/ERC721/ERC721Metadata.sol", + "label": "_tokenURIs", + "astId": 11032, + "type": "t_mapping", + "src": "381:45:127" + }, + { + "contract": "ERC721Metadata", + "path": "contracts/token/ERC721/ERC721Metadata.sol", + "label": "______gap", + "astId": 11161, + "type": "t_array:50", + "src": "2834:29:127" + }, + { + "contract": "MinterRole", + "path": "contracts/access/roles/MinterRole.sol", + "label": "_minters", + "astId": 231, + "type": "t_struct", + "src": "271:27:2" + }, + { + "contract": "MinterRole", + "path": "contracts/access/roles/MinterRole.sol", + "label": "______gap", + "astId": 330, + "type": "t_array:50", + "src": "1081:29:2" + }, + { + "contract": "ERC721MetadataMintable", + "path": "contracts/token/ERC721/ERC721MetadataMintable.sol", + "label": "______gap", + "astId": 11231, + "type": "t_array:50", + "src": "1040:29:128" + }, + { + "contract": "PauserRole", + "path": "contracts/access/roles/PauserRole.sol", + "label": "_pausers", + "astId": 350, + "type": "t_struct", + "src": "271:27:3" + }, + { + "contract": "PauserRole", + "path": "contracts/access/roles/PauserRole.sol", + "label": "______gap", + "astId": 449, + "type": "t_array:50", + "src": "1081:29:3" + }, + { + "contract": "Pausable", + "path": "contracts/lifecycle/Pausable.sol", + "label": "_paused", + "astId": 4184, + "type": "t_bool", + "src": "352:20:34" + }, + { + "contract": "Pausable", + "path": "contracts/lifecycle/Pausable.sol", + "label": "______gap", + "astId": 4265, + "type": "t_array:50", + "src": "1429:29:34" + }, + { + "contract": "ERC721Pausable", + "path": "contracts/token/ERC721/ERC721Pausable.sol", + "label": "______gap", + "astId": 11376, + "type": "t_array:50", + "src": "850:29:130" + } + ], + "warnings": { + "hasConstructor": false, + "hasSelfDestruct": false, + "hasDelegateCall": false, + "hasInitialValuesInDeclarations": false, + "uninitializedBaseContracts": [] + } + }, + "StandaloneERC20": { + "address": "0xe95Ca7dE499b425FBbdFD08C4021448FAB91cB0D", + "constructorCode": "608060405234801561001057600080fd5b50612904806100206000396000f3fe", + "bodyBytecodeHash": "68b813a3c2b5407b02238fdd29abedd7efa8d2e88e3aecea30ca59ad3cafa465", + "localBytecodeHash": "ffcdfe04a4bf5020bb4661355d65a2d6da2938f1070399f417f8fc8d301ea692", + "deployedBytecodeHash": "ffcdfe04a4bf5020bb4661355d65a2d6da2938f1070399f417f8fc8d301ea692", + "types": { + "t_bool": { + "id": "t_bool", + "kind": "elementary", + "label": "bool" + }, + "t_uint256": { + "id": "t_uint256", + "kind": "elementary", + "label": "uint256" + }, + "t_array:50": { + "id": "t_array:50", + "valueType": "t_uint256", + "length": "50", + "kind": "array", + "label": "uint256[50]" + }, + "t_string": { + "id": "t_string", + "kind": "elementary", + "label": "string" + }, + "t_uint8": { + "id": "t_uint8", + "kind": "elementary", + "label": "uint8" + }, + "t_mapping": { + "id": "t_mapping", + "valueType": "t_uint256", + "label": "mapping(key => uint256)", + "kind": "mapping" + }, + "t_struct": { + "id": "t_struct", + "kind": "struct", + "label": "Roles.Role", + "members": [ + { + "label": "bearer", + "astId": 5, + "type": "t_mapping", + "src": "150:32:0" + } + ] + }, + "t_mapping": { + "id": "t_mapping", + "valueType": "t_bool", + "label": "mapping(key => bool)", + "kind": "mapping" + } + }, + "storage": [ + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "initialized", + "astId": 11836, + "type": "t_bool", + "src": "757:24:140" + }, + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "initializing", + "astId": 11838, + "type": "t_bool", + "src": "876:25:140" + }, + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "______gap", + "astId": 11887, + "type": "t_array:50", + "src": "1891:29:140" + }, + { + "contract": "ERC20Detailed", + "path": "contracts/token/ERC20/ERC20Detailed.sol", + "label": "_name", + "astId": 9171, + "type": "t_string", + "src": "382:20:115" + }, + { + "contract": "ERC20Detailed", + "path": "contracts/token/ERC20/ERC20Detailed.sol", + "label": "_symbol", + "astId": 9173, + "type": "t_string", + "src": "408:22:115" + }, + { + "contract": "ERC20Detailed", + "path": "contracts/token/ERC20/ERC20Detailed.sol", + "label": "_decimals", + "astId": 9175, + "type": "t_uint8", + "src": "436:23:115" + }, + { + "contract": "ERC20Detailed", + "path": "contracts/token/ERC20/ERC20Detailed.sol", + "label": "______gap", + "astId": 9227, + "type": "t_array:50", + "src": "1097:29:115" + }, + { + "contract": "ERC20", + "path": "contracts/token/ERC20/ERC20.sol", + "label": "_balances", + "astId": 8675, + "type": "t_mapping", + "src": "752:46:112" + }, + { + "contract": "ERC20", + "path": "contracts/token/ERC20/ERC20.sol", + "label": "_allowed", + "astId": 8681, + "type": "t_mapping", + "src": "805:66:112" + }, + { + "contract": "ERC20", + "path": "contracts/token/ERC20/ERC20.sol", + "label": "_totalSupply", + "astId": 8683, + "type": "t_uint256", + "src": "878:28:112" + }, + { + "contract": "ERC20", + "path": "contracts/token/ERC20/ERC20.sol", + "label": "______gap", + "astId": 9048, + "type": "t_array:50", + "src": "7714:29:112" + }, + { + "contract": "MinterRole", + "path": "contracts/access/roles/MinterRole.sol", + "label": "_minters", + "astId": 231, + "type": "t_struct", + "src": "271:27:2" + }, + { + "contract": "MinterRole", + "path": "contracts/access/roles/MinterRole.sol", + "label": "______gap", + "astId": 330, + "type": "t_array:50", + "src": "1081:29:2" + }, + { + "contract": "ERC20Mintable", + "path": "contracts/token/ERC20/ERC20Mintable.sol", + "label": "______gap", + "astId": 9276, + "type": "t_array:50", + "src": "745:29:116" + }, + { + "contract": "PauserRole", + "path": "contracts/access/roles/PauserRole.sol", + "label": "_pausers", + "astId": 350, + "type": "t_struct", + "src": "271:27:3" + }, + { + "contract": "PauserRole", + "path": "contracts/access/roles/PauserRole.sol", + "label": "______gap", + "astId": 449, + "type": "t_array:50", + "src": "1081:29:3" + }, + { + "contract": "Pausable", + "path": "contracts/lifecycle/Pausable.sol", + "label": "_paused", + "astId": 4184, + "type": "t_bool", + "src": "352:20:34" + }, + { + "contract": "Pausable", + "path": "contracts/lifecycle/Pausable.sol", + "label": "______gap", + "astId": 4265, + "type": "t_array:50", + "src": "1429:29:34" + }, + { + "contract": "ERC20Pausable", + "path": "contracts/token/ERC20/ERC20Pausable.sol", + "label": "______gap", + "astId": 9399, + "type": "t_array:50", + "src": "1194:29:117" + } + ], + "warnings": { + "hasConstructor": false, + "hasSelfDestruct": false, + "hasDelegateCall": false, + "hasInitialValuesInDeclarations": false, + "uninitializedBaseContracts": [] + } + }, + "PaymentSplitter": { + "address": "0xb3E46068440Ebd9AD43A3347eDFfC63697B84544", + "constructorCode": "608060405234801561001057600080fd5b50610c17806100206000396000f3fe", + "bodyBytecodeHash": "34c5c6011ba90548e55bf061f25c0847894d8882e4fa691726bf5d70bfadfd70", + "localBytecodeHash": "d2ee04ff44581e396d308fb7e8f6ff66680f1eda86ee165873c4c16a65b4269d", + "deployedBytecodeHash": "d2ee04ff44581e396d308fb7e8f6ff66680f1eda86ee165873c4c16a65b4269d", + "types": { + "t_bool": { + "id": "t_bool", + "kind": "elementary", + "label": "bool" + }, + "t_uint256": { + "id": "t_uint256", + "kind": "elementary", + "label": "uint256" + }, + "t_array:50": { + "id": "t_array:50", + "valueType": "t_uint256", + "length": "50", + "kind": "array", + "label": "uint256[50]" + }, + "t_mapping": { + "id": "t_mapping", + "valueType": "t_uint256", + "label": "mapping(key => uint256)", + "kind": "mapping" + }, + "t_address": { + "id": "t_address", + "kind": "elementary", + "label": "address" + }, + "t_array:dyn": { + "id": "t_array:dyn", + "valueType": "t_address", + "length": "dyn", + "kind": "array", + "label": "address[]" + } + }, + "storage": [ + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "initialized", + "astId": 11836, + "type": "t_bool", + "src": "757:24:140" + }, + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "initializing", + "astId": 11838, + "type": "t_bool", + "src": "876:25:140" + }, + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "______gap", + "astId": 11887, + "type": "t_array:50", + "src": "1891:29:140" + }, + { + "contract": "PaymentSplitter", + "path": "contracts/payment/PaymentSplitter.sol", + "label": "_totalShares", + "astId": 7977, + "type": "t_uint256", + "src": "540:28:107" + }, + { + "contract": "PaymentSplitter", + "path": "contracts/payment/PaymentSplitter.sol", + "label": "_totalReleased", + "astId": 7979, + "type": "t_uint256", + "src": "574:30:107" + }, + { + "contract": "PaymentSplitter", + "path": "contracts/payment/PaymentSplitter.sol", + "label": "_shares", + "astId": 7983, + "type": "t_mapping", + "src": "611:43:107" + }, + { + "contract": "PaymentSplitter", + "path": "contracts/payment/PaymentSplitter.sol", + "label": "_released", + "astId": 7987, + "type": "t_mapping", + "src": "660:45:107" + }, + { + "contract": "PaymentSplitter", + "path": "contracts/payment/PaymentSplitter.sol", + "label": "_payees", + "astId": 7990, + "type": "t_array:dyn", + "src": "711:25:107" + }, + { + "contract": "PaymentSplitter", + "path": "contracts/payment/PaymentSplitter.sol", + "label": "______gap", + "astId": 8236, + "type": "t_array:50", + "src": "3236:29:107" + } + ], + "warnings": { + "hasConstructor": false, + "hasSelfDestruct": false, + "hasDelegateCall": false, + "hasInitialValuesInDeclarations": false, + "uninitializedBaseContracts": [] + } + }, + "TokenVesting": { + "address": "0xF0fcf1a5aaf25CDe77cb6ef95717323FAEfE492d", + "constructorCode": "608060405234801561001057600080fd5b50611559806100206000396000f3fe", + "bodyBytecodeHash": "01f22f428367f86242e342322247e732d645b5cfdd40a9411cb3a10842ee2bac", + "localBytecodeHash": "f5eb9bf4cd80d75f1e0928674f0436601837641bdbc0196a89f8ea392097a282", + "deployedBytecodeHash": "f5eb9bf4cd80d75f1e0928674f0436601837641bdbc0196a89f8ea392097a282", + "types": { + "t_bool": { + "id": "t_bool", + "kind": "elementary", + "label": "bool" + }, + "t_uint256": { + "id": "t_uint256", + "kind": "elementary", + "label": "uint256" + }, + "t_array:50": { + "id": "t_array:50", + "valueType": "t_uint256", + "length": "50", + "kind": "array", + "label": "uint256[50]" + }, + "t_address": { + "id": "t_address", + "kind": "elementary", + "label": "address" + }, + "t_mapping": { + "id": "t_mapping", + "valueType": "t_uint256", + "label": "mapping(key => uint256)", + "kind": "mapping" + }, + "t_mapping": { + "id": "t_mapping", + "valueType": "t_bool", + "label": "mapping(key => bool)", + "kind": "mapping" + } + }, + "storage": [ + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "initialized", + "astId": 11836, + "type": "t_bool", + "src": "757:24:140" + }, + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "initializing", + "astId": 11838, + "type": "t_bool", + "src": "876:25:140" + }, + { + "contract": "Initializable", + "path": "zos-lib/contracts/Initializable.sol", + "label": "______gap", + "astId": 11887, + "type": "t_array:50", + "src": "1891:29:140" + }, + { + "contract": "Ownable", + "path": "contracts/ownership/Ownable.sol", + "label": "_owner", + "astId": 7761, + "type": "t_address", + "src": "302:22:105" + }, + { + "contract": "Ownable", + "path": "contracts/ownership/Ownable.sol", + "label": "______gap", + "astId": 7872, + "type": "t_array:50", + "src": "2262:29:105" + }, + { + "contract": "TokenVesting", + "path": "contracts/drafts/TokenVesting.sol", + "label": "_beneficiary", + "astId": 3441, + "type": "t_address", + "src": "1133:28:28" + }, + { + "contract": "TokenVesting", + "path": "contracts/drafts/TokenVesting.sol", + "label": "_cliff", + "astId": 3443, + "type": "t_uint256", + "src": "1263:22:28" + }, + { + "contract": "TokenVesting", + "path": "contracts/drafts/TokenVesting.sol", + "label": "_start", + "astId": 3445, + "type": "t_uint256", + "src": "1291:22:28" + }, + { + "contract": "TokenVesting", + "path": "contracts/drafts/TokenVesting.sol", + "label": "_duration", + "astId": 3447, + "type": "t_uint256", + "src": "1319:25:28" + }, + { + "contract": "TokenVesting", + "path": "contracts/drafts/TokenVesting.sol", + "label": "_revocable", + "astId": 3449, + "type": "t_bool", + "src": "1351:23:28" + }, + { + "contract": "TokenVesting", + "path": "contracts/drafts/TokenVesting.sol", + "label": "_released", + "astId": 3453, + "type": "t_mapping", + "src": "1381:46:28" + }, + { + "contract": "TokenVesting", + "path": "contracts/drafts/TokenVesting.sol", + "label": "_revoked", + "astId": 3457, + "type": "t_mapping", + "src": "1433:42:28" + }, + { + "contract": "TokenVesting", + "path": "contracts/drafts/TokenVesting.sol", + "label": "______gap", + "astId": 3799, + "type": "t_array:50", + "src": "5837:29:28" + } + ], + "warnings": { + "hasConstructor": false, + "hasSelfDestruct": false, + "hasDelegateCall": false, + "hasInitialValuesInDeclarations": false, + "uninitializedBaseContracts": [] + } + } + }, "solidityLibs": {}, "proxies": {}, "zosversion": "2", - "frozen": false, + "frozen": true, "app": { - "address": "0x2ba1a8c7352a5b5ea3ea3408f89e1ba7920d36ce" + "address": "0x2Ba1a8C7352a5B5Ea3ea3408F89e1bA7920d36CE" }, "package": { - "address": "0x778dddf23ec1b5cb18394c6c110480caadb3b0f6" + "address": "0x778dddF23Ec1B5Cb18394c6C110480CaaDB3B0f6" }, "provider": { - "address": "0x06cebabebbe51b87e9d5d9bac398092bd12cd5b2" + "address": "0xdd3e0B83e5462FD4Ba012FF05A57f709FA050458" }, - "version": "2.1.3" -} \ No newline at end of file + "version": "2.2.0" +}