change allow public evolve to update

This commit is contained in:
zhl 2022-01-17 19:00:25 +08:00
parent ba1734543b
commit 37240228fc
11 changed files with 2161 additions and 1409 deletions

View File

@ -15109,7 +15109,7 @@
1508 1508
], ],
"HasSignature": [ "HasSignature": [
1998 2010
], ],
"IERC20": [ "IERC20": [
256 256
@ -15182,7 +15182,7 @@
"nameLocation": "-1:-1:-1", "nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective", "nodeType": "ImportDirective",
"scope": 1715, "scope": 1715,
"sourceUnit": 1999, "sourceUnit": 2011,
"src": "233:28:10", "src": "233:28:10",
"symbolAliases": [], "symbolAliases": [],
"unitAlias": "" "unitAlias": ""
@ -15207,7 +15207,7 @@
"id": 1529, "id": 1529,
"name": "HasSignature", "name": "HasSignature",
"nodeType": "IdentifierPath", "nodeType": "IdentifierPath",
"referencedDeclaration": 1998, "referencedDeclaration": 2010,
"src": "294:12:10" "src": "294:12:10"
}, },
"id": 1530, "id": 1530,
@ -15222,7 +15222,7 @@
"id": 1714, "id": 1714,
"linearizedBaseContracts": [ "linearizedBaseContracts": [
1714, 1714,
1998, 2010,
104, 104,
915 915
], ],
@ -16273,7 +16273,7 @@
"name": "checkSigner", "name": "checkSigner",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 1997, "referencedDeclaration": 2009,
"src": "1672:11:10", "src": "1672:11:10",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_address_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", "typeIdentifier": "t_function_internal_pure$_t_address_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$",
@ -17718,7 +17718,7 @@
1508 1508
], ],
"HasSignature": [ "HasSignature": [
1998 2010
], ],
"IERC20": [ "IERC20": [
256 256
@ -17791,7 +17791,7 @@
"nameLocation": "-1:-1:-1", "nameLocation": "-1:-1:-1",
"nodeType": "ImportDirective", "nodeType": "ImportDirective",
"scope": 1715, "scope": 1715,
"sourceUnit": 1999, "sourceUnit": 2011,
"src": "233:28:10", "src": "233:28:10",
"symbolAliases": [], "symbolAliases": [],
"unitAlias": "" "unitAlias": ""
@ -17816,7 +17816,7 @@
"id": 1529, "id": 1529,
"name": "HasSignature", "name": "HasSignature",
"nodeType": "IdentifierPath", "nodeType": "IdentifierPath",
"referencedDeclaration": 1998, "referencedDeclaration": 2010,
"src": "294:12:10" "src": "294:12:10"
}, },
"id": 1530, "id": 1530,
@ -17831,7 +17831,7 @@
"id": 1714, "id": 1714,
"linearizedBaseContracts": [ "linearizedBaseContracts": [
1714, 1714,
1998, 2010,
104, 104,
915 915
], ],
@ -18882,7 +18882,7 @@
"name": "checkSigner", "name": "checkSigner",
"nodeType": "Identifier", "nodeType": "Identifier",
"overloadedDeclarations": [], "overloadedDeclarations": [],
"referencedDeclaration": 1997, "referencedDeclaration": 2009,
"src": "1672:11:10", "src": "1672:11:10",
"typeDescriptions": { "typeDescriptions": {
"typeIdentifier": "t_function_internal_pure$_t_address_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$", "typeIdentifier": "t_function_internal_pure$_t_address_$_t_bytes32_$_t_bytes_memory_ptr_$returns$__$",
@ -20376,12 +20376,12 @@
} }
}, },
"links": {}, "links": {},
"address": "0xfc74976db6972E0D338C7495fB4a1C49A748D375", "address": "0x46Af8E31d02E6BB20335070d14004935e3AeF1A8",
"transactionHash": "0x0a32ac918a3e7401ac37f1741f76fab739190fc19e079d621ee1371771a02775" "transactionHash": "0xe346859101fee94a3ddcdd6c0681b804623f9fcb16cafef8fdc9eee6e223ee1f"
} }
}, },
"schemaVersion": "3.4.4", "schemaVersion": "3.4.4",
"updatedAt": "2022-01-17T08:25:53.101Z", "updatedAt": "2022-01-17T08:46:52.541Z",
"networkType": "ethereum", "networkType": "ethereum",
"devdoc": { "devdoc": {
"kind": "dev", "kind": "dev",

View File

@ -23898,12 +23898,12 @@
} }
}, },
"links": {}, "links": {},
"address": "0x4BF5304F85cE3D291b5d444F945e73CCe05a7735", "address": "0x328B2A164EA88A647e8aF172e0f4BCEA6e3705fD",
"transactionHash": "0x3a8a1d75467022e9eae6e2511495f28541dca0ece79298db84c9c946e7473136" "transactionHash": "0xfb260f8732c62952a6649cd177818d258f27756a4c8f7c2e7c295b23a62e9c6a"
} }
}, },
"schemaVersion": "3.4.4", "schemaVersion": "3.4.4",
"updatedAt": "2022-01-17T08:25:53.051Z", "updatedAt": "2022-01-17T08:46:52.492Z",
"networkType": "ethereum", "networkType": "ethereum",
"devdoc": { "devdoc": {
"kind": "dev", "kind": "dev",

View File

@ -18080,12 +18080,12 @@
} }
}, },
"links": {}, "links": {},
"address": "0x74cEf89Add624B17015d685B2b348Bb342D47De6", "address": "0xA4A3Ed4Fc11300EEd87A0d62a966321F3751B317",
"transactionHash": "0x75cc240d26a0b1514add3be75cd45a780024761c1bbde67d5a27929d023c42d1" "transactionHash": "0x6369a8c2aa27fcf6e30fa28f9a3ad593627bd70119c9a6f5723a4c0fde4a303e"
} }
}, },
"schemaVersion": "3.4.4", "schemaVersion": "3.4.4",
"updatedAt": "2022-01-17T08:25:53.090Z", "updatedAt": "2022-01-17T08:46:52.529Z",
"networkType": "ethereum", "networkType": "ethereum",
"devdoc": { "devdoc": {
"kind": "dev", "kind": "dev",

View File

@ -23898,12 +23898,12 @@
} }
}, },
"links": {}, "links": {},
"address": "0x96D2D8C439d0a48C6bDB38bb017E989572C68Cc9", "address": "0xf4D675AABdCa98eC15d1A2c7217CF1bAEa89940b",
"transactionHash": "0x17a91183a73eb0af7247e5c9bb418304da1440aa73a12ae2080bf70d159004bf" "transactionHash": "0x063e2a1b649f42f1aae8e692fa4f5a8976bfa9b83063805bc514e3bd9c0bbbe2"
} }
}, },
"schemaVersion": "3.4.4", "schemaVersion": "3.4.4",
"updatedAt": "2022-01-17T08:25:53.036Z", "updatedAt": "2022-01-17T08:46:52.478Z",
"networkType": "ethereum", "networkType": "ethereum",
"devdoc": { "devdoc": {
"kind": "dev", "kind": "dev",

View File

@ -23904,12 +23904,12 @@
} }
}, },
"links": {}, "links": {},
"address": "0x0C4EF120a11D2F5BC19e1C38238A366dacBb77Ff", "address": "0xce808dfc7AB9C56e5a3485377bfa8163Bd61efFf",
"transactionHash": "0x69aa3671746f802a46bfc1266eb41b3a34afba137d8b1fa6e4698adba05a60d2" "transactionHash": "0xa997482f220821f19d798013071a8b29615297faea1c4c61719b2ea87004af70"
} }
}, },
"schemaVersion": "3.4.4", "schemaVersion": "3.4.4",
"updatedAt": "2022-01-17T08:25:53.020Z", "updatedAt": "2022-01-17T08:46:52.464Z",
"networkType": "ethereum", "networkType": "ethereum",
"devdoc": { "devdoc": {
"kind": "dev", "kind": "dev",

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -30651,12 +30651,12 @@
} }
}, },
"links": {}, "links": {},
"address": "0x1E26af061552c1C6cEcfC839008B2d401B48a468", "address": "0xc6A43b2aD7e5C14310165107B566Fcd1512171Fa",
"transactionHash": "0x018fff4ffb83bdda5db0680f4452a3994a1971c6e16508ea0f875660e9dd4eaa" "transactionHash": "0xb756dbf2bf4dc412075bcf3119910059c03cea4d19bf5398f0dc8fc2b4f205e7"
} }
}, },
"schemaVersion": "3.4.4", "schemaVersion": "3.4.4",
"updatedAt": "2022-01-17T08:25:53.074Z", "updatedAt": "2022-01-17T08:46:52.514Z",
"networkType": "ethereum", "networkType": "ethereum",
"devdoc": { "devdoc": {
"kind": "dev", "kind": "dev",

View File

@ -2323,12 +2323,12 @@
"1338": { "1338": {
"events": {}, "events": {},
"links": {}, "links": {},
"address": "0xcadA70800d02Ae48f7ddD594746F9E58C956EA97", "address": "0xc16530785F2B3eE2A00A88e416bF77a9d7cc46F5",
"transactionHash": "0xc39f4b68cb850d4e927693949d8f4ae30707dc097db24cceb118cbd7b9ea7864" "transactionHash": "0x049042ef6db27e896b9506a1e5ee0d2adfc09a0bddd1d38d96e4a36cbf120ddd"
} }
}, },
"schemaVersion": "3.4.4", "schemaVersion": "3.4.4",
"updatedAt": "2022-01-17T08:25:53.114Z", "updatedAt": "2022-01-17T08:46:52.555Z",
"networkType": "ethereum", "networkType": "ethereum",
"devdoc": { "devdoc": {
"kind": "dev", "kind": "dev",

View File

@ -8953,12 +8953,12 @@
} }
}, },
"links": {}, "links": {},
"address": "0x7b17f7DC44c5e84F0197Bb0af57Bb7dE90d6a4B7", "address": "0x2478f1A8F10F17f11233264e938131b9E69A23ad",
"transactionHash": "0xde74d0537fdee837f7b744923def447f66e54f12527798e07b21f3e4330a60c1" "transactionHash": "0xf7b808cb5be0be9cc5ee836be1af157336f51e94e408244da6db16cab93888cc"
} }
}, },
"schemaVersion": "3.4.4", "schemaVersion": "3.4.4",
"updatedAt": "2022-01-17T08:25:53.062Z", "updatedAt": "2022-01-17T08:46:52.503Z",
"networkType": "ethereum", "networkType": "ethereum",
"devdoc": { "devdoc": {
"kind": "dev", "kind": "dev",

View File

@ -59,10 +59,10 @@ contract EvolveProxy is Ownable, Initializable {
/** /**
* @dev function to allow user evolve items * @dev function to update allow user evolve items
*/ */
function allowPublicEvolve() public onlyOwner { function updatePublicEvolve(bool val) public onlyOwner {
publicEvolveAllowed = true; publicEvolveAllowed = val;
} }
} }