diff --git a/.openzeppelin/base-sepolia.json b/.openzeppelin/base-sepolia.json index e0d77d7..9b3988d 100644 --- a/.openzeppelin/base-sepolia.json +++ b/.openzeppelin/base-sepolia.json @@ -880,6 +880,273 @@ }, "namespaces": {} } + }, + "3374e2edc611796055165c49e02ccebdf814460a8b82675f0d2938695e93dc3f": { + "address": "0x0a7aA9F8eab1665DD905288669447b66082E4B17", + "txHash": "0x6c53f49d38fbcd0a587b74ab32f1596af36f835ca4729ebd194f151d5753ff6f", + "layout": { + "solcVersion": "0.8.18", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "_pendingOwner", + "offset": 0, + "slot": "101", + "type": "t_address", + "contract": "Ownable2StepUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol:21" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "Ownable2StepUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol:70" + }, + { + "label": "MAX_BPS", + "offset": 0, + "slot": "151", + "type": "t_uint256", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:12" + }, + { + "label": "protocolFeePercent", + "offset": 0, + "slot": "152", + "type": "t_uint64", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:13" + }, + { + "label": "treasuryAddress", + "offset": 8, + "slot": "152", + "type": "t_address", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:14" + }, + { + "label": "_aggregatorAddress", + "offset": 0, + "slot": "153", + "type": "t_address", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:15" + }, + { + "label": "_isTokenSupported", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_address,t_uint256)", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:16" + }, + { + "label": "__gap", + "offset": 0, + "slot": "155", + "type": "t_array(t_uint256)50_storage", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:19" + }, + { + "label": "_paused", + "offset": 0, + "slot": "205", + "type": "t_bool", + "contract": "PausableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:29" + }, + { + "label": "__gap", + "offset": 0, + "slot": "206", + "type": "t_array(t_uint256)49_storage", + "contract": "PausableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:116" + }, + { + "label": "order", + "offset": 0, + "slot": "255", + "type": "t_mapping(t_bytes32,t_struct(Order)1822_storage)", + "contract": "Gateway", + "src": "contracts/Gateway.sol:19" + }, + { + "label": "_nonce", + "offset": 0, + "slot": "256", + "type": "t_mapping(t_address,t_uint256)", + "contract": "Gateway", + "src": "contracts/Gateway.sol:20" + }, + { + "label": "__gap", + "offset": 0, + "slot": "257", + "type": "t_array(t_uint256)50_storage", + "contract": "Gateway", + "src": "contracts/Gateway.sol:21" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_uint256)": { + "label": "mapping(address => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Order)1822_storage)": { + "label": "mapping(bytes32 => struct IGateway.Order)", + "numberOfBytes": "32" + }, + "t_struct(Order)1822_storage": { + "label": "struct IGateway.Order", + "members": [ + { + "label": "sender", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "token", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "senderFeeRecipient", + "type": "t_address", + "offset": 0, + "slot": "2" + }, + { + "label": "senderFee", + "type": "t_uint256", + "offset": 0, + "slot": "3" + }, + { + "label": "protocolFee", + "type": "t_uint256", + "offset": 0, + "slot": "4" + }, + { + "label": "isFulfilled", + "type": "t_bool", + "offset": 0, + "slot": "5" + }, + { + "label": "isRefunded", + "type": "t_bool", + "offset": 1, + "slot": "5" + }, + { + "label": "refundAddress", + "type": "t_address", + "offset": 2, + "slot": "5" + }, + { + "label": "currentBPS", + "type": "t_uint96", + "offset": 0, + "slot": "6" + }, + { + "label": "amount", + "type": "t_uint256", + "offset": 0, + "slot": "7" + } + ], + "numberOfBytes": "256" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + }, + "t_uint96": { + "label": "uint96", + "numberOfBytes": "12" + } + }, + "namespaces": {} + } } } } diff --git a/.openzeppelin/sepolia.json b/.openzeppelin/sepolia.json index 075a96b..669900a 100644 --- a/.openzeppelin/sepolia.json +++ b/.openzeppelin/sepolia.json @@ -1222,6 +1222,273 @@ }, "namespaces": {} } + }, + "3374e2edc611796055165c49e02ccebdf814460a8b82675f0d2938695e93dc3f": { + "address": "0x7bBeEf64680Db7bc3B00b1c9C4bAc0e57f85b7A8", + "txHash": "0x152f65e7150bc1bff92f0503d2034adb0d19b3d028109d6ddf47c7c3853e7c4c", + "layout": { + "solcVersion": "0.8.18", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "_pendingOwner", + "offset": 0, + "slot": "101", + "type": "t_address", + "contract": "Ownable2StepUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol:21" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "Ownable2StepUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol:70" + }, + { + "label": "MAX_BPS", + "offset": 0, + "slot": "151", + "type": "t_uint256", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:12" + }, + { + "label": "protocolFeePercent", + "offset": 0, + "slot": "152", + "type": "t_uint64", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:13" + }, + { + "label": "treasuryAddress", + "offset": 8, + "slot": "152", + "type": "t_address", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:14" + }, + { + "label": "_aggregatorAddress", + "offset": 0, + "slot": "153", + "type": "t_address", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:15" + }, + { + "label": "_isTokenSupported", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_address,t_uint256)", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:16" + }, + { + "label": "__gap", + "offset": 0, + "slot": "155", + "type": "t_array(t_uint256)50_storage", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:19" + }, + { + "label": "_paused", + "offset": 0, + "slot": "205", + "type": "t_bool", + "contract": "PausableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:29" + }, + { + "label": "__gap", + "offset": 0, + "slot": "206", + "type": "t_array(t_uint256)49_storage", + "contract": "PausableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:116" + }, + { + "label": "order", + "offset": 0, + "slot": "255", + "type": "t_mapping(t_bytes32,t_struct(Order)1822_storage)", + "contract": "Gateway", + "src": "contracts/Gateway.sol:19" + }, + { + "label": "_nonce", + "offset": 0, + "slot": "256", + "type": "t_mapping(t_address,t_uint256)", + "contract": "Gateway", + "src": "contracts/Gateway.sol:20" + }, + { + "label": "__gap", + "offset": 0, + "slot": "257", + "type": "t_array(t_uint256)50_storage", + "contract": "Gateway", + "src": "contracts/Gateway.sol:21" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_uint256)": { + "label": "mapping(address => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Order)1822_storage)": { + "label": "mapping(bytes32 => struct IGateway.Order)", + "numberOfBytes": "32" + }, + "t_struct(Order)1822_storage": { + "label": "struct IGateway.Order", + "members": [ + { + "label": "sender", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "token", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "senderFeeRecipient", + "type": "t_address", + "offset": 0, + "slot": "2" + }, + { + "label": "senderFee", + "type": "t_uint256", + "offset": 0, + "slot": "3" + }, + { + "label": "protocolFee", + "type": "t_uint256", + "offset": 0, + "slot": "4" + }, + { + "label": "isFulfilled", + "type": "t_bool", + "offset": 0, + "slot": "5" + }, + { + "label": "isRefunded", + "type": "t_bool", + "offset": 1, + "slot": "5" + }, + { + "label": "refundAddress", + "type": "t_address", + "offset": 2, + "slot": "5" + }, + { + "label": "currentBPS", + "type": "t_uint96", + "offset": 0, + "slot": "6" + }, + { + "label": "amount", + "type": "t_uint256", + "offset": 0, + "slot": "7" + } + ], + "numberOfBytes": "256" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + }, + "t_uint96": { + "label": "uint96", + "numberOfBytes": "12" + } + }, + "namespaces": {} + } } } } diff --git a/.openzeppelin/unknown-421614.json b/.openzeppelin/unknown-421614.json index 0b952e2..1c16958 100644 --- a/.openzeppelin/unknown-421614.json +++ b/.openzeppelin/unknown-421614.json @@ -415,7 +415,7 @@ "label": "order", "offset": 0, "slot": "255", - "type": "t_mapping(t_bytes32,t_struct(Order)2469_storage)", + "type": "t_mapping(t_bytes32,t_struct(Order)1827_storage)", "contract": "Gateway", "src": "contracts/Gateway.sol:19" }, @@ -461,11 +461,278 @@ "label": "mapping(address => uint256)", "numberOfBytes": "32" }, - "t_mapping(t_bytes32,t_struct(Order)2469_storage)": { + "t_mapping(t_bytes32,t_struct(Order)1827_storage)": { "label": "mapping(bytes32 => struct IGateway.Order)", "numberOfBytes": "32" }, - "t_struct(Order)2469_storage": { + "t_struct(Order)1827_storage": { + "label": "struct IGateway.Order", + "members": [ + { + "label": "sender", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "token", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "senderFeeRecipient", + "type": "t_address", + "offset": 0, + "slot": "2" + }, + { + "label": "senderFee", + "type": "t_uint256", + "offset": 0, + "slot": "3" + }, + { + "label": "protocolFee", + "type": "t_uint256", + "offset": 0, + "slot": "4" + }, + { + "label": "isFulfilled", + "type": "t_bool", + "offset": 0, + "slot": "5" + }, + { + "label": "isRefunded", + "type": "t_bool", + "offset": 1, + "slot": "5" + }, + { + "label": "refundAddress", + "type": "t_address", + "offset": 2, + "slot": "5" + }, + { + "label": "currentBPS", + "type": "t_uint96", + "offset": 0, + "slot": "6" + }, + { + "label": "amount", + "type": "t_uint256", + "offset": 0, + "slot": "7" + } + ], + "numberOfBytes": "256" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + }, + "t_uint96": { + "label": "uint96", + "numberOfBytes": "12" + } + }, + "namespaces": {} + } + }, + "3374e2edc611796055165c49e02ccebdf814460a8b82675f0d2938695e93dc3f": { + "address": "0x47afB97999801FD98CBD16Bb94F6efD2C779d242", + "txHash": "0x4ad9568ad5c638b4b1c1b6f3e0d13f4df142378dd555cdee40e3d7bd6d1afed2", + "layout": { + "solcVersion": "0.8.18", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "_pendingOwner", + "offset": 0, + "slot": "101", + "type": "t_address", + "contract": "Ownable2StepUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol:21" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "Ownable2StepUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol:70" + }, + { + "label": "MAX_BPS", + "offset": 0, + "slot": "151", + "type": "t_uint256", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:12" + }, + { + "label": "protocolFeePercent", + "offset": 0, + "slot": "152", + "type": "t_uint64", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:13" + }, + { + "label": "treasuryAddress", + "offset": 8, + "slot": "152", + "type": "t_address", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:14" + }, + { + "label": "_aggregatorAddress", + "offset": 0, + "slot": "153", + "type": "t_address", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:15" + }, + { + "label": "_isTokenSupported", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_address,t_uint256)", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:16" + }, + { + "label": "__gap", + "offset": 0, + "slot": "155", + "type": "t_array(t_uint256)50_storage", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:19" + }, + { + "label": "_paused", + "offset": 0, + "slot": "205", + "type": "t_bool", + "contract": "PausableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:29" + }, + { + "label": "__gap", + "offset": 0, + "slot": "206", + "type": "t_array(t_uint256)49_storage", + "contract": "PausableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:116" + }, + { + "label": "order", + "offset": 0, + "slot": "255", + "type": "t_mapping(t_bytes32,t_struct(Order)1822_storage)", + "contract": "Gateway", + "src": "contracts/Gateway.sol:19" + }, + { + "label": "_nonce", + "offset": 0, + "slot": "256", + "type": "t_mapping(t_address,t_uint256)", + "contract": "Gateway", + "src": "contracts/Gateway.sol:20" + }, + { + "label": "__gap", + "offset": 0, + "slot": "257", + "type": "t_array(t_uint256)50_storage", + "contract": "Gateway", + "src": "contracts/Gateway.sol:21" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_uint256)": { + "label": "mapping(address => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Order)1822_storage)": { + "label": "mapping(bytes32 => struct IGateway.Order)", + "numberOfBytes": "32" + }, + "t_struct(Order)1822_storage": { "label": "struct IGateway.Order", "members": [ { diff --git a/.openzeppelin/unknown-534352.json b/.openzeppelin/unknown-534352.json index 40d9c9e..d15c9d1 100644 --- a/.openzeppelin/unknown-534352.json +++ b/.openzeppelin/unknown-534352.json @@ -545,6 +545,272 @@ }, "namespaces": {} } + }, + "3374e2edc611796055165c49e02ccebdf814460a8b82675f0d2938695e93dc3f": { + "address": "0x5E7eC39915F6CD48829d06648F6682765846602a", + "layout": { + "solcVersion": "0.8.18", + "storage": [ + { + "label": "_initialized", + "offset": 0, + "slot": "0", + "type": "t_uint8", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63", + "retypedFrom": "bool" + }, + { + "label": "_initializing", + "offset": 1, + "slot": "0", + "type": "t_bool", + "contract": "Initializable", + "src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68" + }, + { + "label": "__gap", + "offset": 0, + "slot": "1", + "type": "t_array(t_uint256)50_storage", + "contract": "ContextUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40" + }, + { + "label": "_owner", + "offset": 0, + "slot": "51", + "type": "t_address", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22" + }, + { + "label": "__gap", + "offset": 0, + "slot": "52", + "type": "t_array(t_uint256)49_storage", + "contract": "OwnableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94" + }, + { + "label": "_pendingOwner", + "offset": 0, + "slot": "101", + "type": "t_address", + "contract": "Ownable2StepUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol:21" + }, + { + "label": "__gap", + "offset": 0, + "slot": "102", + "type": "t_array(t_uint256)49_storage", + "contract": "Ownable2StepUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol:70" + }, + { + "label": "MAX_BPS", + "offset": 0, + "slot": "151", + "type": "t_uint256", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:12" + }, + { + "label": "protocolFeePercent", + "offset": 0, + "slot": "152", + "type": "t_uint64", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:13" + }, + { + "label": "treasuryAddress", + "offset": 8, + "slot": "152", + "type": "t_address", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:14" + }, + { + "label": "_aggregatorAddress", + "offset": 0, + "slot": "153", + "type": "t_address", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:15" + }, + { + "label": "_isTokenSupported", + "offset": 0, + "slot": "154", + "type": "t_mapping(t_address,t_uint256)", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:16" + }, + { + "label": "__gap", + "offset": 0, + "slot": "155", + "type": "t_array(t_uint256)50_storage", + "contract": "GatewaySettingManager", + "src": "contracts/GatewaySettingManager.sol:19" + }, + { + "label": "_paused", + "offset": 0, + "slot": "205", + "type": "t_bool", + "contract": "PausableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:29" + }, + { + "label": "__gap", + "offset": 0, + "slot": "206", + "type": "t_array(t_uint256)49_storage", + "contract": "PausableUpgradeable", + "src": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol:116" + }, + { + "label": "order", + "offset": 0, + "slot": "255", + "type": "t_mapping(t_bytes32,t_struct(Order)1822_storage)", + "contract": "Gateway", + "src": "contracts/Gateway.sol:19" + }, + { + "label": "_nonce", + "offset": 0, + "slot": "256", + "type": "t_mapping(t_address,t_uint256)", + "contract": "Gateway", + "src": "contracts/Gateway.sol:20" + }, + { + "label": "__gap", + "offset": 0, + "slot": "257", + "type": "t_array(t_uint256)50_storage", + "contract": "Gateway", + "src": "contracts/Gateway.sol:21" + } + ], + "types": { + "t_address": { + "label": "address", + "numberOfBytes": "20" + }, + "t_array(t_uint256)49_storage": { + "label": "uint256[49]", + "numberOfBytes": "1568" + }, + "t_array(t_uint256)50_storage": { + "label": "uint256[50]", + "numberOfBytes": "1600" + }, + "t_bool": { + "label": "bool", + "numberOfBytes": "1" + }, + "t_bytes32": { + "label": "bytes32", + "numberOfBytes": "32" + }, + "t_mapping(t_address,t_uint256)": { + "label": "mapping(address => uint256)", + "numberOfBytes": "32" + }, + "t_mapping(t_bytes32,t_struct(Order)1822_storage)": { + "label": "mapping(bytes32 => struct IGateway.Order)", + "numberOfBytes": "32" + }, + "t_struct(Order)1822_storage": { + "label": "struct IGateway.Order", + "members": [ + { + "label": "sender", + "type": "t_address", + "offset": 0, + "slot": "0" + }, + { + "label": "token", + "type": "t_address", + "offset": 0, + "slot": "1" + }, + { + "label": "senderFeeRecipient", + "type": "t_address", + "offset": 0, + "slot": "2" + }, + { + "label": "senderFee", + "type": "t_uint256", + "offset": 0, + "slot": "3" + }, + { + "label": "protocolFee", + "type": "t_uint256", + "offset": 0, + "slot": "4" + }, + { + "label": "isFulfilled", + "type": "t_bool", + "offset": 0, + "slot": "5" + }, + { + "label": "isRefunded", + "type": "t_bool", + "offset": 1, + "slot": "5" + }, + { + "label": "refundAddress", + "type": "t_address", + "offset": 2, + "slot": "5" + }, + { + "label": "currentBPS", + "type": "t_uint96", + "offset": 0, + "slot": "6" + }, + { + "label": "amount", + "type": "t_uint256", + "offset": 0, + "slot": "7" + } + ], + "numberOfBytes": "256" + }, + "t_uint256": { + "label": "uint256", + "numberOfBytes": "32" + }, + "t_uint64": { + "label": "uint64", + "numberOfBytes": "8" + }, + "t_uint8": { + "label": "uint8", + "numberOfBytes": "1" + }, + "t_uint96": { + "label": "uint96", + "numberOfBytes": "12" + } + }, + "namespaces": {} + } } } } diff --git a/README.md b/README.md index 0d8e483..977296a 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,9 @@ npx hardhat run scripts/upgrade.ts --network # upgrade across all EVM chains npx hardhat run scripts/upgrade.ts --network arbitrumOne && npx hardhat run scripts/upgrade.ts --network base && npx hardhat run scripts/upgrade.ts --network bsc && npx hardhat run scripts/upgrade.ts --network polygon && npx hardhat run scripts/upgrade.ts --network optimisticEthereum && npx hardhat run scripts/upgrade.ts --network scroll +# upgrade across all EVM testnet chains +npx hardhat run scripts/upgrade.ts --network arbitrumSepolia && npx hardhat run scripts/upgrade.ts --network amoy && npx hardhat run scripts/upgrade.ts --network baseSepolia && npx hardhat run scripts/upgrade.ts --network sepolia + # for Tron network, tronbox migrate -f 2 --to 2 --network ``` @@ -146,7 +149,7 @@ npx hardhat run scripts/tron/updateProtocolFee.ts Gateway Implementation - 0x904aDFcf6Fd29F556aA12a64B2072bA4C426A928 + 0x46D259eF5B3E704F968cA2E50DAa800b9e674634 @@ -158,7 +161,7 @@ npx hardhat run scripts/tron/updateProtocolFee.ts Gateway Implementation - 0xfB411Cc6385Af50A562aFCb441864E9d541CDA67 + 0x0a7aA9F8eab1665DD905288669447b66082E4B17 @@ -170,7 +173,7 @@ npx hardhat run scripts/tron/updateProtocolFee.ts Gateway Implementation - 0x0a7aA9F8eab1665DD905288669447b66082E4B17 + 0x3610bF11EBF9749ECd866ad96756C5eD65B237D5 @@ -182,7 +185,7 @@ npx hardhat run scripts/tron/updateProtocolFee.ts Gateway Implementation - 0x47afB97999801FD98CBD16Bb94F6efD2C779d242 + 0x647daC4807Eb82E67CE3bca930D6202190831B4a @@ -194,7 +197,7 @@ npx hardhat run scripts/tron/updateProtocolFee.ts Gateway Implementation - 0xB04c9622a583DEbe5fef8f5E594582490604D45c + 0x847dfdAa218F9137229CF8424378871A1DA8f625 Gateway Admin diff --git a/build/contracts/AddressUpgradeable.json b/build/contracts/AddressUpgradeable.json index 112b1e0..0ef83df 100644 --- a/build/contracts/AddressUpgradeable.json +++ b/build/contracts/AddressUpgradeable.json @@ -3,23 +3,23 @@ "abi": [], "bytecode": "0x60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26474726f6e5822122088f13f5ae867781f077620bcdef1a35042456d4fbba7097ed28631198f76456364736f6c63430008120033", "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26474726f6e5822122088f13f5ae867781f077620bcdef1a35042456d4fbba7097ed28631198f76456364736f6c63430008120033", - "sourceMap": "194:9180:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "194:9180:8:-:0;;;;;;;;", + "sourceMap": "194:9180:7:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", + "deployedSourceMap": "194:9180:7:-:0;;;;;;;;", "source": "// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary AddressUpgradeable {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n *\n * Furthermore, `isContract` will also return true if the target contract within\n * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n * which only has an effect at the end of a transaction.\n * ====\n *\n * [IMPORTANT]\n * ====\n * You shouldn't rely on `isContract` to protect against flash loan attacks!\n *\n * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n * constructor.\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize/address.code.length, which returns 0\n // for contracts in construction, since the code is only stored at the end\n // of the constructor execution.\n\n return account.code.length > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n (bool success, ) = recipient.call{value: amount}(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain `call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(\n address target,\n bytes memory data,\n uint256 value,\n string memory errorMessage\n ) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n (bool success, bytes memory returndata) = target.call{value: value}(data);\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal view returns (bytes memory) {\n (bool success, bytes memory returndata) = target.staticcall(data);\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(\n address target,\n bytes memory data,\n string memory errorMessage\n ) internal returns (bytes memory) {\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n }\n\n /**\n * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n *\n * _Available since v4.8._\n */\n function verifyCallResultFromTarget(\n address target,\n bool success,\n bytes memory returndata,\n string memory errorMessage\n ) internal view returns (bytes memory) {\n if (success) {\n if (returndata.length == 0) {\n // only check isContract if the call was successful and the return data is empty\n // otherwise we already know that it was a contract\n require(isContract(target), \"Address: call to non-contract\");\n }\n return returndata;\n } else {\n _revert(returndata, errorMessage);\n }\n }\n\n /**\n * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n * revert reason or using the provided one.\n *\n * _Available since v4.3._\n */\n function verifyCallResult(\n bool success,\n bytes memory returndata,\n string memory errorMessage\n ) internal pure returns (bytes memory) {\n if (success) {\n return returndata;\n } else {\n _revert(returndata, errorMessage);\n }\n }\n\n function _revert(bytes memory returndata, string memory errorMessage) private pure {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n /// @solidity memory-safe-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n}\n", "sourcePath": "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol", "ast": { "absolutePath": "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol", "exportedSymbols": { "AddressUpgradeable": [ - 1838 + 1763 ] }, - "id": 1839, + "id": 1764, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 1510, + "id": 1435, "literals": [ "solidity", "^", @@ -27,7 +27,7 @@ ".1" ], "nodeType": "PragmaDirective", - "src": "101:23:8" + "src": "101:23:7" }, { "abstract": false, @@ -36,25 +36,25 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1511, + "id": 1436, "nodeType": "StructuredDocumentation", - "src": "126:67:8", + "src": "126:67:7", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1838, + "id": 1763, "linearizedBaseContracts": [ - 1838 + 1763 ], "name": "AddressUpgradeable", - "nameLocation": "202:18:8", + "nameLocation": "202:18:7", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1525, + "id": 1450, "nodeType": "Block", - "src": "1489:254:8", + "src": "1489:254:7", "statements": [ { "expression": { @@ -62,7 +62,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1523, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": false, @@ -70,40 +70,40 @@ "leftExpression": { "expression": { "expression": { - "id": 1519, + "id": 1444, "name": "account", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1514, - "src": "1713:7:8", + "referencedDeclaration": 1439, + "src": "1713:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1520, + "id": 1445, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1721:4:8", + "memberLocation": "1721:4:7", "memberName": "code", "nodeType": "MemberAccess", - "src": "1713:12:8", + "src": "1713:12:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1521, + "id": 1446, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1726:6:8", + "memberLocation": "1726:6:7", "memberName": "length", "nodeType": "MemberAccess", - "src": "1713:19:8", + "src": "1713:19:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -113,59 +113,59 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1522, + "id": 1447, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1735:1:8", + "src": "1735:1:7", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "1713:23:8", + "src": "1713:23:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1518, - "id": 1524, + "functionReturnParameters": 1443, + "id": 1449, "nodeType": "Return", - "src": "1706:30:8" + "src": "1706:30:7" } ] }, "documentation": { - "id": 1512, + "id": 1437, "nodeType": "StructuredDocumentation", - "src": "227:1191:8", + "src": "227:1191:7", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n Furthermore, `isContract` will also return true if the target contract within\n the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n which only has an effect at the end of a transaction.\n ====\n [IMPORTANT]\n ====\n You shouldn't rely on `isContract` to protect against flash loan attacks!\n Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n constructor.\n ====" }, - "id": 1526, + "id": 1451, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", - "nameLocation": "1432:10:8", + "nameLocation": "1432:10:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1515, + "id": 1440, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1514, + "id": 1439, "mutability": "mutable", "name": "account", - "nameLocation": "1451:7:8", + "nameLocation": "1451:7:7", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "1443:15:8", + "scope": 1451, + "src": "1443:15:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -173,10 +173,10 @@ "typeString": "address" }, "typeName": { - "id": 1513, + "id": 1438, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1443:7:8", + "src": "1443:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -186,21 +186,21 @@ "visibility": "internal" } ], - "src": "1442:17:8" + "src": "1442:17:7" }, "returnParameters": { - "id": 1518, + "id": 1443, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1517, + "id": 1442, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "1483:4:8", + "scope": 1451, + "src": "1483:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -208,10 +208,10 @@ "typeString": "bool" }, "typeName": { - "id": 1516, + "id": 1441, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1483:4:8", + "src": "1483:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -220,19 +220,19 @@ "visibility": "internal" } ], - "src": "1482:6:8" + "src": "1482:6:7" }, - "scope": 1838, - "src": "1423:320:8", + "scope": 1763, + "src": "1423:320:7", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1559, + "id": 1484, "nodeType": "Block", - "src": "2729:241:8", + "src": "2729:241:7", "statements": [ { "expression": { @@ -242,7 +242,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1541, + "id": 1466, "isConstant": false, "isLValue": false, "isPure": false, @@ -251,14 +251,14 @@ "expression": { "arguments": [ { - "id": 1537, + "id": 1462, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "2755:4:8", + "src": "2755:4:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_AddressUpgradeable_$1838", + "typeIdentifier": "t_contract$_AddressUpgradeable_$1763", "typeString": "library AddressUpgradeable" } } @@ -266,30 +266,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_AddressUpgradeable_$1838", + "typeIdentifier": "t_contract$_AddressUpgradeable_$1763", "typeString": "library AddressUpgradeable" } ], - "id": 1536, + "id": 1461, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2747:7:8", + "src": "2747:7:7", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1535, + "id": 1460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2747:7:8", + "src": "2747:7:7", "typeDescriptions": {} } }, - "id": 1538, + "id": 1463, "isConstant": false, "isLValue": false, "isPure": false, @@ -298,22 +298,22 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2747:13:8", + "src": "2747:13:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1539, + "id": 1464, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "2761:7:8", + "memberLocation": "2761:7:7", "memberName": "balance", "nodeType": "MemberAccess", - "src": "2747:21:8", + "src": "2747:21:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -322,18 +322,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1540, + "id": 1465, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1531, - "src": "2772:6:8", + "referencedDeclaration": 1456, + "src": "2772:6:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2747:31:8", + "src": "2747:31:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -341,14 +341,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1542, + "id": 1467, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2780:31:8", + "src": "2780:31:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -367,7 +367,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1534, + "id": 1459, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -375,13 +375,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2739:7:8", + "src": "2739:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1543, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, @@ -390,32 +390,32 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2739:73:8", + "src": "2739:73:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1544, + "id": 1469, "nodeType": "ExpressionStatement", - "src": "2739:73:8" + "src": "2739:73:7" }, { "assignments": [ - 1546, + 1471, null ], "declarations": [ { "constant": false, - "id": 1546, + "id": 1471, "mutability": "mutable", "name": "success", - "nameLocation": "2829:7:8", + "nameLocation": "2829:7:7", "nodeType": "VariableDeclaration", - "scope": 1559, - "src": "2824:12:8", + "scope": 1484, + "src": "2824:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -423,10 +423,10 @@ "typeString": "bool" }, "typeName": { - "id": 1545, + "id": 1470, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2824:4:8", + "src": "2824:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -436,19 +436,19 @@ }, null ], - "id": 1553, + "id": 1478, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1551, + "id": 1476, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2872:2:8", + "src": "2872:2:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -471,32 +471,32 @@ } ], "expression": { - "id": 1547, + "id": 1472, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1529, - "src": "2842:9:8", + "referencedDeclaration": 1454, + "src": "2842:9:7", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1548, + "id": 1473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "2852:4:8", + "memberLocation": "2852:4:7", "memberName": "call", "nodeType": "MemberAccess", - "src": "2842:14:8", + "src": "2842:14:7", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1550, + "id": 1475, "isConstant": false, "isLValue": false, "isPure": false, @@ -507,25 +507,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1549, + "id": 1474, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1531, - "src": "2864:6:8", + "referencedDeclaration": 1456, + "src": "2864:6:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "2842:29:8", + "src": "2842:29:7", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1552, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": false, @@ -534,7 +534,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2842:33:8", + "src": "2842:33:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -542,18 +542,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "2823:52:8" + "src": "2823:52:7" }, { "expression": { "arguments": [ { - "id": 1555, + "id": 1480, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1546, - "src": "2893:7:8", + "referencedDeclaration": 1471, + "src": "2893:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -561,14 +561,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1556, + "id": 1481, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2902:60:8", + "src": "2902:60:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -587,7 +587,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1554, + "id": 1479, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -595,13 +595,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2885:7:8", + "src": "2885:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1557, + "id": 1482, "isConstant": false, "isLValue": false, "isPure": false, @@ -610,45 +610,45 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2885:78:8", + "src": "2885:78:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1558, + "id": 1483, "nodeType": "ExpressionStatement", - "src": "2885:78:8" + "src": "2885:78:7" } ] }, "documentation": { - "id": 1527, + "id": 1452, "nodeType": "StructuredDocumentation", - "src": "1749:904:8", + "src": "1749:904:7", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1560, + "id": 1485, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", - "nameLocation": "2667:9:8", + "nameLocation": "2667:9:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1532, + "id": 1457, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1529, + "id": 1454, "mutability": "mutable", "name": "recipient", - "nameLocation": "2693:9:8", + "nameLocation": "2693:9:7", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "2677:25:8", + "scope": 1485, + "src": "2677:25:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -656,10 +656,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1528, + "id": 1453, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2677:15:8", + "src": "2677:15:7", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -670,13 +670,13 @@ }, { "constant": false, - "id": 1531, + "id": 1456, "mutability": "mutable", "name": "amount", - "nameLocation": "2712:6:8", + "nameLocation": "2712:6:7", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "2704:14:8", + "scope": 1485, + "src": "2704:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -684,10 +684,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1530, + "id": 1455, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2704:7:8", + "src": "2704:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -696,48 +696,48 @@ "visibility": "internal" } ], - "src": "2676:43:8" + "src": "2676:43:7" }, "returnParameters": { - "id": 1533, + "id": 1458, "nodeType": "ParameterList", "parameters": [], - "src": "2729:0:8" + "src": "2729:0:7" }, - "scope": 1838, - "src": "2658:312:8", + "scope": 1763, + "src": "2658:312:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1577, + "id": 1502, "nodeType": "Block", - "src": "3801:96:8", + "src": "3801:96:7", "statements": [ { "expression": { "arguments": [ { - "id": 1571, + "id": 1496, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1563, - "src": "3840:6:8", + "referencedDeclaration": 1488, + "src": "3840:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1572, + "id": 1497, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1565, - "src": "3848:4:8", + "referencedDeclaration": 1490, + "src": "3848:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -745,14 +745,14 @@ }, { "hexValue": "30", - "id": 1573, + "id": 1498, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3854:1:8", + "src": "3854:1:7", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -761,14 +761,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1574, + "id": 1499, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "3857:32:8", + "src": "3857:32:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -795,21 +795,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1570, + "id": 1495, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1618, - 1662 + 1543, + 1587 ], - "referencedDeclaration": 1662, - "src": "3818:21:8", + "referencedDeclaration": 1587, + "src": "3818:21:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1575, + "id": 1500, "isConstant": false, "isLValue": false, "isPure": false, @@ -818,46 +818,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3818:72:8", + "src": "3818:72:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1569, - "id": 1576, + "functionReturnParameters": 1494, + "id": 1501, "nodeType": "Return", - "src": "3811:79:8" + "src": "3811:79:7" } ] }, "documentation": { - "id": 1561, + "id": 1486, "nodeType": "StructuredDocumentation", - "src": "2976:731:8", + "src": "2976:731:7", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain `call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1578, + "id": 1503, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", - "nameLocation": "3721:12:8", + "nameLocation": "3721:12:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1566, + "id": 1491, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1563, + "id": 1488, "mutability": "mutable", "name": "target", - "nameLocation": "3742:6:8", + "nameLocation": "3742:6:7", "nodeType": "VariableDeclaration", - "scope": 1578, - "src": "3734:14:8", + "scope": 1503, + "src": "3734:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -865,10 +865,10 @@ "typeString": "address" }, "typeName": { - "id": 1562, + "id": 1487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3734:7:8", + "src": "3734:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -879,13 +879,13 @@ }, { "constant": false, - "id": 1565, + "id": 1490, "mutability": "mutable", "name": "data", - "nameLocation": "3763:4:8", + "nameLocation": "3763:4:7", "nodeType": "VariableDeclaration", - "scope": 1578, - "src": "3750:17:8", + "scope": 1503, + "src": "3750:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -893,10 +893,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1564, + "id": 1489, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3750:5:8", + "src": "3750:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -905,21 +905,21 @@ "visibility": "internal" } ], - "src": "3733:35:8" + "src": "3733:35:7" }, "returnParameters": { - "id": 1569, + "id": 1494, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1568, + "id": 1493, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1578, - "src": "3787:12:8", + "scope": 1503, + "src": "3787:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -927,10 +927,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1567, + "id": 1492, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3787:5:8", + "src": "3787:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -939,42 +939,42 @@ "visibility": "internal" } ], - "src": "3786:14:8" + "src": "3786:14:7" }, - "scope": 1838, - "src": "3712:185:8", + "scope": 1763, + "src": "3712:185:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1597, + "id": 1522, "nodeType": "Block", - "src": "4266:76:8", + "src": "4266:76:7", "statements": [ { "expression": { "arguments": [ { - "id": 1591, + "id": 1516, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1581, - "src": "4305:6:8", + "referencedDeclaration": 1506, + "src": "4305:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1592, + "id": 1517, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1583, - "src": "4313:4:8", + "referencedDeclaration": 1508, + "src": "4313:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -982,14 +982,14 @@ }, { "hexValue": "30", - "id": 1593, + "id": 1518, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "4319:1:8", + "src": "4319:1:7", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -997,12 +997,12 @@ "value": "0" }, { - "id": 1594, + "id": 1519, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1585, - "src": "4322:12:8", + "referencedDeclaration": 1510, + "src": "4322:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -1028,21 +1028,21 @@ "typeString": "string memory" } ], - "id": 1590, + "id": 1515, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1618, - 1662 + 1543, + 1587 ], - "referencedDeclaration": 1662, - "src": "4283:21:8", + "referencedDeclaration": 1587, + "src": "4283:21:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1595, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, @@ -1051,46 +1051,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "4283:52:8", + "src": "4283:52:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1589, - "id": 1596, + "functionReturnParameters": 1514, + "id": 1521, "nodeType": "Return", - "src": "4276:59:8" + "src": "4276:59:7" } ] }, "documentation": { - "id": 1579, + "id": 1504, "nodeType": "StructuredDocumentation", - "src": "3903:211:8", + "src": "3903:211:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1598, + "id": 1523, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", - "nameLocation": "4128:12:8", + "nameLocation": "4128:12:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1586, + "id": 1511, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1581, + "id": 1506, "mutability": "mutable", "name": "target", - "nameLocation": "4158:6:8", + "nameLocation": "4158:6:7", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "4150:14:8", + "scope": 1523, + "src": "4150:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1098,10 +1098,10 @@ "typeString": "address" }, "typeName": { - "id": 1580, + "id": 1505, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4150:7:8", + "src": "4150:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1112,13 +1112,13 @@ }, { "constant": false, - "id": 1583, + "id": 1508, "mutability": "mutable", "name": "data", - "nameLocation": "4187:4:8", + "nameLocation": "4187:4:7", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "4174:17:8", + "scope": 1523, + "src": "4174:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1126,10 +1126,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1582, + "id": 1507, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4174:5:8", + "src": "4174:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1139,13 +1139,13 @@ }, { "constant": false, - "id": 1585, + "id": 1510, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "4215:12:8", + "nameLocation": "4215:12:7", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "4201:26:8", + "scope": 1523, + "src": "4201:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1153,10 +1153,10 @@ "typeString": "string" }, "typeName": { - "id": 1584, + "id": 1509, "name": "string", "nodeType": "ElementaryTypeName", - "src": "4201:6:8", + "src": "4201:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1165,21 +1165,21 @@ "visibility": "internal" } ], - "src": "4140:93:8" + "src": "4140:93:7" }, "returnParameters": { - "id": 1589, + "id": 1514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1588, + "id": 1513, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "4252:12:8", + "scope": 1523, + "src": "4252:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1187,10 +1187,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1587, + "id": 1512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4252:5:8", + "src": "4252:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1199,54 +1199,54 @@ "visibility": "internal" } ], - "src": "4251:14:8" + "src": "4251:14:7" }, - "scope": 1838, - "src": "4119:223:8", + "scope": 1763, + "src": "4119:223:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1617, + "id": 1542, "nodeType": "Block", - "src": "4817:111:8", + "src": "4817:111:7", "statements": [ { "expression": { "arguments": [ { - "id": 1611, + "id": 1536, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1601, - "src": "4856:6:8", + "referencedDeclaration": 1526, + "src": "4856:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1612, + "id": 1537, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1603, - "src": "4864:4:8", + "referencedDeclaration": 1528, + "src": "4864:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1613, + "id": 1538, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1605, - "src": "4870:5:8", + "referencedDeclaration": 1530, + "src": "4870:5:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1254,14 +1254,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1614, + "id": 1539, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4877:43:8", + "src": "4877:43:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -1288,21 +1288,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1610, + "id": 1535, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1618, - 1662 + 1543, + 1587 ], - "referencedDeclaration": 1662, - "src": "4834:21:8", + "referencedDeclaration": 1587, + "src": "4834:21:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1615, + "id": 1540, "isConstant": false, "isLValue": false, "isPure": false, @@ -1311,46 +1311,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "4834:87:8", + "src": "4834:87:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1609, - "id": 1616, + "functionReturnParameters": 1534, + "id": 1541, "nodeType": "Return", - "src": "4827:94:8" + "src": "4827:94:7" } ] }, "documentation": { - "id": 1599, + "id": 1524, "nodeType": "StructuredDocumentation", - "src": "4348:351:8", + "src": "4348:351:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1618, + "id": 1543, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", - "nameLocation": "4713:21:8", + "nameLocation": "4713:21:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1606, + "id": 1531, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1601, + "id": 1526, "mutability": "mutable", "name": "target", - "nameLocation": "4743:6:8", + "nameLocation": "4743:6:7", "nodeType": "VariableDeclaration", - "scope": 1618, - "src": "4735:14:8", + "scope": 1543, + "src": "4735:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1358,10 +1358,10 @@ "typeString": "address" }, "typeName": { - "id": 1600, + "id": 1525, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4735:7:8", + "src": "4735:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1372,13 +1372,13 @@ }, { "constant": false, - "id": 1603, + "id": 1528, "mutability": "mutable", "name": "data", - "nameLocation": "4764:4:8", + "nameLocation": "4764:4:7", "nodeType": "VariableDeclaration", - "scope": 1618, - "src": "4751:17:8", + "scope": 1543, + "src": "4751:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1386,10 +1386,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1602, + "id": 1527, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4751:5:8", + "src": "4751:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1399,13 +1399,13 @@ }, { "constant": false, - "id": 1605, + "id": 1530, "mutability": "mutable", "name": "value", - "nameLocation": "4778:5:8", + "nameLocation": "4778:5:7", "nodeType": "VariableDeclaration", - "scope": 1618, - "src": "4770:13:8", + "scope": 1543, + "src": "4770:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1413,10 +1413,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1604, + "id": 1529, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4770:7:8", + "src": "4770:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1425,21 +1425,21 @@ "visibility": "internal" } ], - "src": "4734:50:8" + "src": "4734:50:7" }, "returnParameters": { - "id": 1609, + "id": 1534, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1608, + "id": 1533, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1618, - "src": "4803:12:8", + "scope": 1543, + "src": "4803:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1447,10 +1447,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1607, + "id": 1532, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4803:5:8", + "src": "4803:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1459,19 +1459,19 @@ "visibility": "internal" } ], - "src": "4802:14:8" + "src": "4802:14:7" }, - "scope": 1838, - "src": "4704:224:8", + "scope": 1763, + "src": "4704:224:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1661, + "id": 1586, "nodeType": "Block", - "src": "5355:267:8", + "src": "5355:267:7", "statements": [ { "expression": { @@ -1481,7 +1481,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1639, + "id": 1564, "isConstant": false, "isLValue": false, "isPure": false, @@ -1490,14 +1490,14 @@ "expression": { "arguments": [ { - "id": 1635, + "id": 1560, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "5381:4:8", + "src": "5381:4:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_AddressUpgradeable_$1838", + "typeIdentifier": "t_contract$_AddressUpgradeable_$1763", "typeString": "library AddressUpgradeable" } } @@ -1505,30 +1505,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_AddressUpgradeable_$1838", + "typeIdentifier": "t_contract$_AddressUpgradeable_$1763", "typeString": "library AddressUpgradeable" } ], - "id": 1634, + "id": 1559, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "5373:7:8", + "src": "5373:7:7", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1633, + "id": 1558, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5373:7:8", + "src": "5373:7:7", "typeDescriptions": {} } }, - "id": 1636, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -1537,22 +1537,22 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5373:13:8", + "src": "5373:13:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1637, + "id": 1562, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "5387:7:8", + "memberLocation": "5387:7:7", "memberName": "balance", "nodeType": "MemberAccess", - "src": "5373:21:8", + "src": "5373:21:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1561,18 +1561,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1638, + "id": 1563, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "5398:5:8", + "referencedDeclaration": 1550, + "src": "5398:5:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "5373:30:8", + "src": "5373:30:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1580,14 +1580,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1640, + "id": 1565, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5405:40:8", + "src": "5405:40:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -1606,7 +1606,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1632, + "id": 1557, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1614,13 +1614,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "5365:7:8", + "src": "5365:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1641, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": false, @@ -1629,32 +1629,32 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5365:81:8", + "src": "5365:81:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1642, + "id": 1567, "nodeType": "ExpressionStatement", - "src": "5365:81:8" + "src": "5365:81:7" }, { "assignments": [ - 1644, - 1646 + 1569, + 1571 ], "declarations": [ { "constant": false, - "id": 1644, + "id": 1569, "mutability": "mutable", "name": "success", - "nameLocation": "5462:7:8", + "nameLocation": "5462:7:7", "nodeType": "VariableDeclaration", - "scope": 1661, - "src": "5457:12:8", + "scope": 1586, + "src": "5457:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1662,10 +1662,10 @@ "typeString": "bool" }, "typeName": { - "id": 1643, + "id": 1568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5457:4:8", + "src": "5457:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1675,13 +1675,13 @@ }, { "constant": false, - "id": 1646, + "id": 1571, "mutability": "mutable", "name": "returndata", - "nameLocation": "5484:10:8", + "nameLocation": "5484:10:7", "nodeType": "VariableDeclaration", - "scope": 1661, - "src": "5471:23:8", + "scope": 1586, + "src": "5471:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1689,10 +1689,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1645, + "id": 1570, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5471:5:8", + "src": "5471:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1701,16 +1701,16 @@ "visibility": "internal" } ], - "id": 1653, + "id": 1578, "initialValue": { "arguments": [ { - "id": 1651, + "id": 1576, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "5524:4:8", + "referencedDeclaration": 1548, + "src": "5524:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -1732,32 +1732,32 @@ } ], "expression": { - "id": 1647, + "id": 1572, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1621, - "src": "5498:6:8", + "referencedDeclaration": 1546, + "src": "5498:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1648, + "id": 1573, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "5505:4:8", + "memberLocation": "5505:4:7", "memberName": "call", "nodeType": "MemberAccess", - "src": "5498:11:8", + "src": "5498:11:7", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1650, + "id": 1575, "isConstant": false, "isLValue": false, "isPure": false, @@ -1768,25 +1768,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1649, + "id": 1574, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "5517:5:8", + "referencedDeclaration": 1550, + "src": "5517:5:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "5498:25:8", + "src": "5498:25:7", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1652, + "id": 1577, "isConstant": false, "isLValue": false, "isPure": false, @@ -1795,7 +1795,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5498:31:8", + "src": "5498:31:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -1803,54 +1803,54 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "5456:73:8" + "src": "5456:73:7" }, { "expression": { "arguments": [ { - "id": 1655, + "id": 1580, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1621, - "src": "5573:6:8", + "referencedDeclaration": 1546, + "src": "5573:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1656, + "id": 1581, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1644, - "src": "5581:7:8", + "referencedDeclaration": 1569, + "src": "5581:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1657, + "id": 1582, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1646, - "src": "5590:10:8", + "referencedDeclaration": 1571, + "src": "5590:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1658, + "id": 1583, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1627, - "src": "5602:12:8", + "referencedDeclaration": 1552, + "src": "5602:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -1876,18 +1876,18 @@ "typeString": "string memory" } ], - "id": 1654, + "id": 1579, "name": "verifyCallResultFromTarget", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1793, - "src": "5546:26:8", + "referencedDeclaration": 1718, + "src": "5546:26:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1659, + "id": 1584, "isConstant": false, "isLValue": false, "isPure": false, @@ -1896,46 +1896,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5546:69:8", + "src": "5546:69:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1631, - "id": 1660, + "functionReturnParameters": 1556, + "id": 1585, "nodeType": "Return", - "src": "5539:76:8" + "src": "5539:76:7" } ] }, "documentation": { - "id": 1619, + "id": 1544, "nodeType": "StructuredDocumentation", - "src": "4934:237:8", + "src": "4934:237:7", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1662, + "id": 1587, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", - "nameLocation": "5185:21:8", + "nameLocation": "5185:21:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1628, + "id": 1553, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1621, + "id": 1546, "mutability": "mutable", "name": "target", - "nameLocation": "5224:6:8", + "nameLocation": "5224:6:7", "nodeType": "VariableDeclaration", - "scope": 1662, - "src": "5216:14:8", + "scope": 1587, + "src": "5216:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1943,10 +1943,10 @@ "typeString": "address" }, "typeName": { - "id": 1620, + "id": 1545, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5216:7:8", + "src": "5216:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1957,13 +1957,13 @@ }, { "constant": false, - "id": 1623, + "id": 1548, "mutability": "mutable", "name": "data", - "nameLocation": "5253:4:8", + "nameLocation": "5253:4:7", "nodeType": "VariableDeclaration", - "scope": 1662, - "src": "5240:17:8", + "scope": 1587, + "src": "5240:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1971,10 +1971,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1622, + "id": 1547, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5240:5:8", + "src": "5240:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1984,13 +1984,13 @@ }, { "constant": false, - "id": 1625, + "id": 1550, "mutability": "mutable", "name": "value", - "nameLocation": "5275:5:8", + "nameLocation": "5275:5:7", "nodeType": "VariableDeclaration", - "scope": 1662, - "src": "5267:13:8", + "scope": 1587, + "src": "5267:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1998,10 +1998,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1624, + "id": 1549, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5267:7:8", + "src": "5267:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2011,13 +2011,13 @@ }, { "constant": false, - "id": 1627, + "id": 1552, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "5304:12:8", + "nameLocation": "5304:12:7", "nodeType": "VariableDeclaration", - "scope": 1662, - "src": "5290:26:8", + "scope": 1587, + "src": "5290:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2025,10 +2025,10 @@ "typeString": "string" }, "typeName": { - "id": 1626, + "id": 1551, "name": "string", "nodeType": "ElementaryTypeName", - "src": "5290:6:8", + "src": "5290:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2037,21 +2037,21 @@ "visibility": "internal" } ], - "src": "5206:116:8" + "src": "5206:116:7" }, "returnParameters": { - "id": 1631, + "id": 1556, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1630, + "id": 1555, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1662, - "src": "5341:12:8", + "scope": 1587, + "src": "5341:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2059,10 +2059,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1629, + "id": 1554, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5341:5:8", + "src": "5341:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2071,42 +2071,42 @@ "visibility": "internal" } ], - "src": "5340:14:8" + "src": "5340:14:7" }, - "scope": 1838, - "src": "5176:446:8", + "scope": 1763, + "src": "5176:446:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1678, + "id": 1603, "nodeType": "Block", - "src": "5899:97:8", + "src": "5899:97:7", "statements": [ { "expression": { "arguments": [ { - "id": 1673, + "id": 1598, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1665, - "src": "5935:6:8", + "referencedDeclaration": 1590, + "src": "5935:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1674, + "id": 1599, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1667, - "src": "5943:4:8", + "referencedDeclaration": 1592, + "src": "5943:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -2114,14 +2114,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1675, + "id": 1600, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5949:39:8", + "src": "5949:39:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -2144,21 +2144,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1672, + "id": 1597, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1679, - 1708 + 1604, + 1633 ], - "referencedDeclaration": 1708, - "src": "5916:18:8", + "referencedDeclaration": 1633, + "src": "5916:18:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1676, + "id": 1601, "isConstant": false, "isLValue": false, "isPure": false, @@ -2167,46 +2167,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5916:73:8", + "src": "5916:73:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1671, - "id": 1677, + "functionReturnParameters": 1596, + "id": 1602, "nodeType": "Return", - "src": "5909:80:8" + "src": "5909:80:7" } ] }, "documentation": { - "id": 1663, + "id": 1588, "nodeType": "StructuredDocumentation", - "src": "5628:166:8", + "src": "5628:166:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1679, + "id": 1604, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", - "nameLocation": "5808:18:8", + "nameLocation": "5808:18:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1668, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1665, + "id": 1590, "mutability": "mutable", "name": "target", - "nameLocation": "5835:6:8", + "nameLocation": "5835:6:7", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "5827:14:8", + "scope": 1604, + "src": "5827:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2214,10 +2214,10 @@ "typeString": "address" }, "typeName": { - "id": 1664, + "id": 1589, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5827:7:8", + "src": "5827:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2228,13 +2228,13 @@ }, { "constant": false, - "id": 1667, + "id": 1592, "mutability": "mutable", "name": "data", - "nameLocation": "5856:4:8", + "nameLocation": "5856:4:7", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "5843:17:8", + "scope": 1604, + "src": "5843:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2242,10 +2242,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1666, + "id": 1591, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5843:5:8", + "src": "5843:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2254,21 +2254,21 @@ "visibility": "internal" } ], - "src": "5826:35:8" + "src": "5826:35:7" }, "returnParameters": { - "id": 1671, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1670, + "id": 1595, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "5885:12:8", + "scope": 1604, + "src": "5885:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2276,10 +2276,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1669, + "id": 1594, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5885:5:8", + "src": "5885:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2288,35 +2288,35 @@ "visibility": "internal" } ], - "src": "5884:14:8" + "src": "5884:14:7" }, - "scope": 1838, - "src": "5799:197:8", + "scope": 1763, + "src": "5799:197:7", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1707, + "id": 1632, "nodeType": "Block", - "src": "6338:168:8", + "src": "6338:168:7", "statements": [ { "assignments": [ - 1692, - 1694 + 1617, + 1619 ], "declarations": [ { "constant": false, - "id": 1692, + "id": 1617, "mutability": "mutable", "name": "success", - "nameLocation": "6354:7:8", + "nameLocation": "6354:7:7", "nodeType": "VariableDeclaration", - "scope": 1707, - "src": "6349:12:8", + "scope": 1632, + "src": "6349:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2324,10 +2324,10 @@ "typeString": "bool" }, "typeName": { - "id": 1691, + "id": 1616, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "6349:4:8", + "src": "6349:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2337,13 +2337,13 @@ }, { "constant": false, - "id": 1694, + "id": 1619, "mutability": "mutable", "name": "returndata", - "nameLocation": "6376:10:8", + "nameLocation": "6376:10:7", "nodeType": "VariableDeclaration", - "scope": 1707, - "src": "6363:23:8", + "scope": 1632, + "src": "6363:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2351,10 +2351,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1693, + "id": 1618, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6363:5:8", + "src": "6363:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2363,16 +2363,16 @@ "visibility": "internal" } ], - "id": 1699, + "id": 1624, "initialValue": { "arguments": [ { - "id": 1697, + "id": 1622, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1684, - "src": "6408:4:8", + "referencedDeclaration": 1609, + "src": "6408:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -2387,32 +2387,32 @@ } ], "expression": { - "id": 1695, + "id": 1620, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1682, - "src": "6390:6:8", + "referencedDeclaration": 1607, + "src": "6390:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1696, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "6397:10:8", + "memberLocation": "6397:10:7", "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "6390:17:8", + "src": "6390:17:7", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1698, + "id": 1623, "isConstant": false, "isLValue": false, "isPure": false, @@ -2421,7 +2421,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6390:23:8", + "src": "6390:23:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -2429,54 +2429,54 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "6348:65:8" + "src": "6348:65:7" }, { "expression": { "arguments": [ { - "id": 1701, + "id": 1626, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1682, - "src": "6457:6:8", + "referencedDeclaration": 1607, + "src": "6457:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1702, + "id": 1627, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1692, - "src": "6465:7:8", + "referencedDeclaration": 1617, + "src": "6465:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1703, + "id": 1628, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1694, - "src": "6474:10:8", + "referencedDeclaration": 1619, + "src": "6474:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1704, + "id": 1629, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1686, - "src": "6486:12:8", + "referencedDeclaration": 1611, + "src": "6486:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -2502,18 +2502,18 @@ "typeString": "string memory" } ], - "id": 1700, + "id": 1625, "name": "verifyCallResultFromTarget", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1793, - "src": "6430:26:8", + "referencedDeclaration": 1718, + "src": "6430:26:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1705, + "id": 1630, "isConstant": false, "isLValue": false, "isPure": false, @@ -2522,46 +2522,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6430:69:8", + "src": "6430:69:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1690, - "id": 1706, + "functionReturnParameters": 1615, + "id": 1631, "nodeType": "Return", - "src": "6423:76:8" + "src": "6423:76:7" } ] }, "documentation": { - "id": 1680, + "id": 1605, "nodeType": "StructuredDocumentation", - "src": "6002:173:8", + "src": "6002:173:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1708, + "id": 1633, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", - "nameLocation": "6189:18:8", + "nameLocation": "6189:18:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1687, + "id": 1612, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1682, + "id": 1607, "mutability": "mutable", "name": "target", - "nameLocation": "6225:6:8", + "nameLocation": "6225:6:7", "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "6217:14:8", + "scope": 1633, + "src": "6217:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2569,10 +2569,10 @@ "typeString": "address" }, "typeName": { - "id": 1681, + "id": 1606, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6217:7:8", + "src": "6217:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2583,13 +2583,13 @@ }, { "constant": false, - "id": 1684, + "id": 1609, "mutability": "mutable", "name": "data", - "nameLocation": "6254:4:8", + "nameLocation": "6254:4:7", "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "6241:17:8", + "scope": 1633, + "src": "6241:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2597,10 +2597,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1683, + "id": 1608, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6241:5:8", + "src": "6241:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2610,13 +2610,13 @@ }, { "constant": false, - "id": 1686, + "id": 1611, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "6282:12:8", + "nameLocation": "6282:12:7", "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "6268:26:8", + "scope": 1633, + "src": "6268:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2624,10 +2624,10 @@ "typeString": "string" }, "typeName": { - "id": 1685, + "id": 1610, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6268:6:8", + "src": "6268:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2636,21 +2636,21 @@ "visibility": "internal" } ], - "src": "6207:93:8" + "src": "6207:93:7" }, "returnParameters": { - "id": 1690, + "id": 1615, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1689, + "id": 1614, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "6324:12:8", + "scope": 1633, + "src": "6324:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2658,10 +2658,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1688, + "id": 1613, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6324:5:8", + "src": "6324:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2670,42 +2670,42 @@ "visibility": "internal" } ], - "src": "6323:14:8" + "src": "6323:14:7" }, - "scope": 1838, - "src": "6180:326:8", + "scope": 1763, + "src": "6180:326:7", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1724, + "id": 1649, "nodeType": "Block", - "src": "6782:101:8", + "src": "6782:101:7", "statements": [ { "expression": { "arguments": [ { - "id": 1719, + "id": 1644, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1711, - "src": "6820:6:8", + "referencedDeclaration": 1636, + "src": "6820:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1720, + "id": 1645, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1713, - "src": "6828:4:8", + "referencedDeclaration": 1638, + "src": "6828:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -2713,14 +2713,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1721, + "id": 1646, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6834:41:8", + "src": "6834:41:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -2743,21 +2743,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1718, + "id": 1643, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1725, - 1754 + 1650, + 1679 ], - "referencedDeclaration": 1754, - "src": "6799:20:8", + "referencedDeclaration": 1679, + "src": "6799:20:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1722, + "id": 1647, "isConstant": false, "isLValue": false, "isPure": false, @@ -2766,46 +2766,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6799:77:8", + "src": "6799:77:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1717, - "id": 1723, + "functionReturnParameters": 1642, + "id": 1648, "nodeType": "Return", - "src": "6792:84:8" + "src": "6792:84:7" } ] }, "documentation": { - "id": 1709, + "id": 1634, "nodeType": "StructuredDocumentation", - "src": "6512:168:8", + "src": "6512:168:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1725, + "id": 1650, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", - "nameLocation": "6694:20:8", + "nameLocation": "6694:20:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1714, + "id": 1639, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1711, + "id": 1636, "mutability": "mutable", "name": "target", - "nameLocation": "6723:6:8", + "nameLocation": "6723:6:7", "nodeType": "VariableDeclaration", - "scope": 1725, - "src": "6715:14:8", + "scope": 1650, + "src": "6715:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2813,10 +2813,10 @@ "typeString": "address" }, "typeName": { - "id": 1710, + "id": 1635, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6715:7:8", + "src": "6715:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2827,13 +2827,13 @@ }, { "constant": false, - "id": 1713, + "id": 1638, "mutability": "mutable", "name": "data", - "nameLocation": "6744:4:8", + "nameLocation": "6744:4:7", "nodeType": "VariableDeclaration", - "scope": 1725, - "src": "6731:17:8", + "scope": 1650, + "src": "6731:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2841,10 +2841,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1712, + "id": 1637, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6731:5:8", + "src": "6731:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2853,21 +2853,21 @@ "visibility": "internal" } ], - "src": "6714:35:8" + "src": "6714:35:7" }, "returnParameters": { - "id": 1717, + "id": 1642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1716, + "id": 1641, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1725, - "src": "6768:12:8", + "scope": 1650, + "src": "6768:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2875,10 +2875,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1715, + "id": 1640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6768:5:8", + "src": "6768:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2887,35 +2887,35 @@ "visibility": "internal" } ], - "src": "6767:14:8" + "src": "6767:14:7" }, - "scope": 1838, - "src": "6685:198:8", + "scope": 1763, + "src": "6685:198:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1753, + "id": 1678, "nodeType": "Block", - "src": "7224:170:8", + "src": "7224:170:7", "statements": [ { "assignments": [ - 1738, - 1740 + 1663, + 1665 ], "declarations": [ { "constant": false, - "id": 1738, + "id": 1663, "mutability": "mutable", "name": "success", - "nameLocation": "7240:7:8", + "nameLocation": "7240:7:7", "nodeType": "VariableDeclaration", - "scope": 1753, - "src": "7235:12:8", + "scope": 1678, + "src": "7235:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2923,10 +2923,10 @@ "typeString": "bool" }, "typeName": { - "id": 1737, + "id": 1662, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "7235:4:8", + "src": "7235:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2936,13 +2936,13 @@ }, { "constant": false, - "id": 1740, + "id": 1665, "mutability": "mutable", "name": "returndata", - "nameLocation": "7262:10:8", + "nameLocation": "7262:10:7", "nodeType": "VariableDeclaration", - "scope": 1753, - "src": "7249:23:8", + "scope": 1678, + "src": "7249:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2950,10 +2950,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1739, + "id": 1664, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7249:5:8", + "src": "7249:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2962,16 +2962,16 @@ "visibility": "internal" } ], - "id": 1745, + "id": 1670, "initialValue": { "arguments": [ { - "id": 1743, + "id": 1668, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1730, - "src": "7296:4:8", + "referencedDeclaration": 1655, + "src": "7296:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -2986,32 +2986,32 @@ } ], "expression": { - "id": 1741, + "id": 1666, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1728, - "src": "7276:6:8", + "referencedDeclaration": 1653, + "src": "7276:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1742, + "id": 1667, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7283:12:8", + "memberLocation": "7283:12:7", "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "7276:19:8", + "src": "7276:19:7", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1744, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, @@ -3020,7 +3020,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7276:25:8", + "src": "7276:25:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -3028,54 +3028,54 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "7234:67:8" + "src": "7234:67:7" }, { "expression": { "arguments": [ { - "id": 1747, + "id": 1672, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1728, - "src": "7345:6:8", + "referencedDeclaration": 1653, + "src": "7345:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1748, + "id": 1673, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1738, - "src": "7353:7:8", + "referencedDeclaration": 1663, + "src": "7353:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1749, + "id": 1674, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1740, - "src": "7362:10:8", + "referencedDeclaration": 1665, + "src": "7362:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1750, + "id": 1675, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1732, - "src": "7374:12:8", + "referencedDeclaration": 1657, + "src": "7374:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -3101,18 +3101,18 @@ "typeString": "string memory" } ], - "id": 1746, + "id": 1671, "name": "verifyCallResultFromTarget", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1793, - "src": "7318:26:8", + "referencedDeclaration": 1718, + "src": "7318:26:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1751, + "id": 1676, "isConstant": false, "isLValue": false, "isPure": false, @@ -3121,46 +3121,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7318:69:8", + "src": "7318:69:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1736, - "id": 1752, + "functionReturnParameters": 1661, + "id": 1677, "nodeType": "Return", - "src": "7311:76:8" + "src": "7311:76:7" } ] }, "documentation": { - "id": 1726, + "id": 1651, "nodeType": "StructuredDocumentation", - "src": "6889:175:8", + "src": "6889:175:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1754, + "id": 1679, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", - "nameLocation": "7078:20:8", + "nameLocation": "7078:20:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1733, + "id": 1658, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1728, + "id": 1653, "mutability": "mutable", "name": "target", - "nameLocation": "7116:6:8", + "nameLocation": "7116:6:7", "nodeType": "VariableDeclaration", - "scope": 1754, - "src": "7108:14:8", + "scope": 1679, + "src": "7108:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3168,10 +3168,10 @@ "typeString": "address" }, "typeName": { - "id": 1727, + "id": 1652, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7108:7:8", + "src": "7108:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3182,13 +3182,13 @@ }, { "constant": false, - "id": 1730, + "id": 1655, "mutability": "mutable", "name": "data", - "nameLocation": "7145:4:8", + "nameLocation": "7145:4:7", "nodeType": "VariableDeclaration", - "scope": 1754, - "src": "7132:17:8", + "scope": 1679, + "src": "7132:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -3196,10 +3196,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1729, + "id": 1654, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7132:5:8", + "src": "7132:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -3209,13 +3209,13 @@ }, { "constant": false, - "id": 1732, + "id": 1657, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "7173:12:8", + "nameLocation": "7173:12:7", "nodeType": "VariableDeclaration", - "scope": 1754, - "src": "7159:26:8", + "scope": 1679, + "src": "7159:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -3223,10 +3223,10 @@ "typeString": "string" }, "typeName": { - "id": 1731, + "id": 1656, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7159:6:8", + "src": "7159:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -3235,21 +3235,21 @@ "visibility": "internal" } ], - "src": "7098:93:8" + "src": "7098:93:7" }, "returnParameters": { - "id": 1736, + "id": 1661, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1735, + "id": 1660, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1754, - "src": "7210:12:8", + "scope": 1679, + "src": "7210:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -3257,10 +3257,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1734, + "id": 1659, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7210:5:8", + "src": "7210:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -3269,60 +3269,60 @@ "visibility": "internal" } ], - "src": "7209:14:8" + "src": "7209:14:7" }, - "scope": 1838, - "src": "7069:325:8", + "scope": 1763, + "src": "7069:325:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1792, + "id": 1717, "nodeType": "Block", - "src": "7876:434:8", + "src": "7876:434:7", "statements": [ { "condition": { - "id": 1768, + "id": 1693, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1759, - "src": "7890:7:8", + "referencedDeclaration": 1684, + "src": "7890:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1790, + "id": 1715, "nodeType": "Block", - "src": "8246:58:8", + "src": "8246:58:7", "statements": [ { "expression": { "arguments": [ { - "id": 1786, + "id": 1711, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1761, - "src": "8268:10:8", + "referencedDeclaration": 1686, + "src": "8268:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1787, + "id": 1712, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1763, - "src": "8280:12:8", + "referencedDeclaration": 1688, + "src": "8280:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -3340,18 +3340,18 @@ "typeString": "string memory" } ], - "id": 1785, + "id": 1710, "name": "_revert", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1837, - "src": "8260:7:8", + "referencedDeclaration": 1762, + "src": "8260:7:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bytes memory,string memory) pure" } }, - "id": 1788, + "id": 1713, "isConstant": false, "isLValue": false, "isPure": false, @@ -3360,26 +3360,26 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8260:33:8", + "src": "8260:33:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1789, + "id": 1714, "nodeType": "ExpressionStatement", - "src": "8260:33:8" + "src": "8260:33:7" } ] }, - "id": 1791, + "id": 1716, "nodeType": "IfStatement", - "src": "7886:418:8", + "src": "7886:418:7", "trueBody": { - "id": 1784, + "id": 1709, "nodeType": "Block", - "src": "7899:341:8", + "src": "7899:341:7", "statements": [ { "condition": { @@ -3387,33 +3387,33 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1772, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1769, + "id": 1694, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1761, - "src": "7917:10:8", + "referencedDeclaration": 1686, + "src": "7917:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1770, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7928:6:8", + "memberLocation": "7928:6:7", "memberName": "length", "nodeType": "MemberAccess", - "src": "7917:17:8", + "src": "7917:17:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3423,33 +3423,33 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1771, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7938:1:8", + "src": "7938:1:7", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "7917:22:8", + "src": "7917:22:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1781, + "id": 1706, "nodeType": "IfStatement", - "src": "7913:286:8", + "src": "7913:286:7", "trueBody": { - "id": 1780, + "id": 1705, "nodeType": "Block", - "src": "7941:258:8", + "src": "7941:258:7", "statements": [ { "expression": { @@ -3457,12 +3457,12 @@ { "arguments": [ { - "id": 1775, + "id": 1700, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1757, - "src": "8143:6:8", + "referencedDeclaration": 1682, + "src": "8143:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -3476,18 +3476,18 @@ "typeString": "address" } ], - "id": 1774, + "id": 1699, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1526, - "src": "8132:10:8", + "referencedDeclaration": 1451, + "src": "8132:10:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1776, + "id": 1701, "isConstant": false, "isLValue": false, "isPure": false, @@ -3496,7 +3496,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8132:18:8", + "src": "8132:18:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -3505,14 +3505,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1777, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "8152:31:8", + "src": "8152:31:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -3531,7 +3531,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1773, + "id": 1698, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -3539,13 +3539,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "8124:7:8", + "src": "8124:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1778, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, @@ -3554,37 +3554,37 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8124:60:8", + "src": "8124:60:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1779, + "id": 1704, "nodeType": "ExpressionStatement", - "src": "8124:60:8" + "src": "8124:60:7" } ] } }, { "expression": { - "id": 1782, + "id": 1707, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1761, - "src": "8219:10:8", + "referencedDeclaration": 1686, + "src": "8219:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1767, - "id": 1783, + "functionReturnParameters": 1692, + "id": 1708, "nodeType": "Return", - "src": "8212:17:8" + "src": "8212:17:7" } ] } @@ -3592,31 +3592,31 @@ ] }, "documentation": { - "id": 1755, + "id": 1680, "nodeType": "StructuredDocumentation", - "src": "7400:277:8", + "src": "7400:277:7", "text": " @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n _Available since v4.8._" }, - "id": 1793, + "id": 1718, "implemented": true, "kind": "function", "modifiers": [], "name": "verifyCallResultFromTarget", - "nameLocation": "7691:26:8", + "nameLocation": "7691:26:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1764, + "id": 1689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1757, + "id": 1682, "mutability": "mutable", "name": "target", - "nameLocation": "7735:6:8", + "nameLocation": "7735:6:7", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "7727:14:8", + "scope": 1718, + "src": "7727:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3624,10 +3624,10 @@ "typeString": "address" }, "typeName": { - "id": 1756, + "id": 1681, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7727:7:8", + "src": "7727:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3638,13 +3638,13 @@ }, { "constant": false, - "id": 1759, + "id": 1684, "mutability": "mutable", "name": "success", - "nameLocation": "7756:7:8", + "nameLocation": "7756:7:7", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "7751:12:8", + "scope": 1718, + "src": "7751:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3652,10 +3652,10 @@ "typeString": "bool" }, "typeName": { - "id": 1758, + "id": 1683, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "7751:4:8", + "src": "7751:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3665,13 +3665,13 @@ }, { "constant": false, - "id": 1761, + "id": 1686, "mutability": "mutable", "name": "returndata", - "nameLocation": "7786:10:8", + "nameLocation": "7786:10:7", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "7773:23:8", + "scope": 1718, + "src": "7773:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -3679,10 +3679,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1760, + "id": 1685, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7773:5:8", + "src": "7773:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -3692,13 +3692,13 @@ }, { "constant": false, - "id": 1763, + "id": 1688, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "7820:12:8", + "nameLocation": "7820:12:7", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "7806:26:8", + "scope": 1718, + "src": "7806:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -3706,10 +3706,10 @@ "typeString": "string" }, "typeName": { - "id": 1762, + "id": 1687, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7806:6:8", + "src": "7806:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -3718,21 +3718,21 @@ "visibility": "internal" } ], - "src": "7717:121:8" + "src": "7717:121:7" }, "returnParameters": { - "id": 1767, + "id": 1692, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1766, + "id": 1691, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "7862:12:8", + "scope": 1718, + "src": "7862:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -3740,10 +3740,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1765, + "id": 1690, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7862:5:8", + "src": "7862:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -3752,60 +3752,60 @@ "visibility": "internal" } ], - "src": "7861:14:8" + "src": "7861:14:7" }, - "scope": 1838, - "src": "7682:628:8", + "scope": 1763, + "src": "7682:628:7", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1816, + "id": 1741, "nodeType": "Block", - "src": "8691:135:8", + "src": "8691:135:7", "statements": [ { "condition": { - "id": 1805, + "id": 1730, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1796, - "src": "8705:7:8", + "referencedDeclaration": 1721, + "src": "8705:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1814, + "id": 1739, "nodeType": "Block", - "src": "8762:58:8", + "src": "8762:58:7", "statements": [ { "expression": { "arguments": [ { - "id": 1810, + "id": 1735, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1798, - "src": "8784:10:8", + "referencedDeclaration": 1723, + "src": "8784:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1811, + "id": 1736, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "8796:12:8", + "referencedDeclaration": 1725, + "src": "8796:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -3823,18 +3823,18 @@ "typeString": "string memory" } ], - "id": 1809, + "id": 1734, "name": "_revert", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1837, - "src": "8776:7:8", + "referencedDeclaration": 1762, + "src": "8776:7:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bytes memory,string memory) pure" } }, - "id": 1812, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": false, @@ -3843,44 +3843,44 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8776:33:8", + "src": "8776:33:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1813, + "id": 1738, "nodeType": "ExpressionStatement", - "src": "8776:33:8" + "src": "8776:33:7" } ] }, - "id": 1815, + "id": 1740, "nodeType": "IfStatement", - "src": "8701:119:8", + "src": "8701:119:7", "trueBody": { - "id": 1808, + "id": 1733, "nodeType": "Block", - "src": "8714:42:8", + "src": "8714:42:7", "statements": [ { "expression": { - "id": 1806, + "id": 1731, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1798, - "src": "8735:10:8", + "referencedDeclaration": 1723, + "src": "8735:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1804, - "id": 1807, + "functionReturnParameters": 1729, + "id": 1732, "nodeType": "Return", - "src": "8728:17:8" + "src": "8728:17:7" } ] } @@ -3888,31 +3888,31 @@ ] }, "documentation": { - "id": 1794, + "id": 1719, "nodeType": "StructuredDocumentation", - "src": "8316:210:8", + "src": "8316:210:7", "text": " @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n revert reason or using the provided one.\n _Available since v4.3._" }, - "id": 1817, + "id": 1742, "implemented": true, "kind": "function", "modifiers": [], "name": "verifyCallResult", - "nameLocation": "8540:16:8", + "nameLocation": "8540:16:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1801, + "id": 1726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1796, + "id": 1721, "mutability": "mutable", "name": "success", - "nameLocation": "8571:7:8", + "nameLocation": "8571:7:7", "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "8566:12:8", + "scope": 1742, + "src": "8566:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3920,10 +3920,10 @@ "typeString": "bool" }, "typeName": { - "id": 1795, + "id": 1720, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "8566:4:8", + "src": "8566:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3933,13 +3933,13 @@ }, { "constant": false, - "id": 1798, + "id": 1723, "mutability": "mutable", "name": "returndata", - "nameLocation": "8601:10:8", + "nameLocation": "8601:10:7", "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "8588:23:8", + "scope": 1742, + "src": "8588:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -3947,10 +3947,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1797, + "id": 1722, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8588:5:8", + "src": "8588:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -3960,13 +3960,13 @@ }, { "constant": false, - "id": 1800, + "id": 1725, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "8635:12:8", + "nameLocation": "8635:12:7", "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "8621:26:8", + "scope": 1742, + "src": "8621:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -3974,10 +3974,10 @@ "typeString": "string" }, "typeName": { - "id": 1799, + "id": 1724, "name": "string", "nodeType": "ElementaryTypeName", - "src": "8621:6:8", + "src": "8621:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -3986,21 +3986,21 @@ "visibility": "internal" } ], - "src": "8556:97:8" + "src": "8556:97:7" }, "returnParameters": { - "id": 1804, + "id": 1729, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1803, + "id": 1728, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "8677:12:8", + "scope": 1742, + "src": "8677:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -4008,10 +4008,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1802, + "id": 1727, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8677:5:8", + "src": "8677:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -4020,19 +4020,19 @@ "visibility": "internal" } ], - "src": "8676:14:8" + "src": "8676:14:7" }, - "scope": 1838, - "src": "8531:295:8", + "scope": 1763, + "src": "8531:295:7", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1836, + "id": 1761, "nodeType": "Block", - "src": "8915:457:8", + "src": "8915:457:7", "statements": [ { "condition": { @@ -4040,33 +4040,33 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1827, + "id": 1752, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1824, + "id": 1749, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1819, - "src": "8991:10:8", + "referencedDeclaration": 1744, + "src": "8991:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1825, + "id": 1750, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "9002:6:8", + "memberLocation": "9002:6:7", "memberName": "length", "nodeType": "MemberAccess", - "src": "8991:17:8", + "src": "8991:17:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4076,41 +4076,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1826, + "id": 1751, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9011:1:8", + "src": "9011:1:7", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "8991:21:8", + "src": "8991:21:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1834, + "id": 1759, "nodeType": "Block", - "src": "9321:45:8", + "src": "9321:45:7", "statements": [ { "expression": { "arguments": [ { - "id": 1831, + "id": 1756, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1821, - "src": "9342:12:8", + "referencedDeclaration": 1746, + "src": "9342:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -4124,7 +4124,7 @@ "typeString": "string memory" } ], - "id": 1830, + "id": 1755, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -4132,13 +4132,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "9335:6:8", + "src": "9335:6:7", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1832, + "id": 1757, "isConstant": false, "isLValue": false, "isPure": false, @@ -4147,56 +4147,56 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "9335:20:8", + "src": "9335:20:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1833, + "id": 1758, "nodeType": "ExpressionStatement", - "src": "9335:20:8" + "src": "9335:20:7" } ] }, - "id": 1835, + "id": 1760, "nodeType": "IfStatement", - "src": "8987:379:8", + "src": "8987:379:7", "trueBody": { - "id": 1829, + "id": 1754, "nodeType": "Block", - "src": "9014:301:8", + "src": "9014:301:7", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "9172:133:8", + "src": "9172:133:7", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "9190:40:8", + "src": "9190:40:7", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "9219:10:8" + "src": "9219:10:7" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "9213:5:8" + "src": "9213:5:7" }, "nodeType": "YulFunctionCall", - "src": "9213:17:8" + "src": "9213:17:7" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "9194:15:8", + "src": "9194:15:7", "type": "" } ] @@ -4209,40 +4209,40 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "9258:2:8", + "src": "9258:2:7", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "9262:10:8" + "src": "9262:10:7" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "9254:3:8" + "src": "9254:3:7" }, "nodeType": "YulFunctionCall", - "src": "9254:19:8" + "src": "9254:19:7" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "9275:15:8" + "src": "9275:15:7" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "9247:6:8" + "src": "9247:6:7" }, "nodeType": "YulFunctionCall", - "src": "9247:44:8" + "src": "9247:44:7" }, "nodeType": "YulExpressionStatement", - "src": "9247:44:8" + "src": "9247:44:7" } ] }, @@ -4250,49 +4250,49 @@ "evmVersion": "paris", "externalReferences": [ { - "declaration": 1819, + "declaration": 1744, "isOffset": false, "isSlot": false, - "src": "9219:10:8", + "src": "9219:10:7", "valueSize": 1 }, { - "declaration": 1819, + "declaration": 1744, "isOffset": false, "isSlot": false, - "src": "9262:10:8", + "src": "9262:10:7", "valueSize": 1 } ], - "id": 1828, + "id": 1753, "nodeType": "InlineAssembly", - "src": "9163:142:8" + "src": "9163:142:7" } ] } } ] }, - "id": 1837, + "id": 1762, "implemented": true, "kind": "function", "modifiers": [], "name": "_revert", - "nameLocation": "8841:7:8", + "nameLocation": "8841:7:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1822, + "id": 1747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1819, + "id": 1744, "mutability": "mutable", "name": "returndata", - "nameLocation": "8862:10:8", + "nameLocation": "8862:10:7", "nodeType": "VariableDeclaration", - "scope": 1837, - "src": "8849:23:8", + "scope": 1762, + "src": "8849:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -4300,10 +4300,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1818, + "id": 1743, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8849:5:8", + "src": "8849:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -4313,13 +4313,13 @@ }, { "constant": false, - "id": 1821, + "id": 1746, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "8888:12:8", + "nameLocation": "8888:12:7", "nodeType": "VariableDeclaration", - "scope": 1837, - "src": "8874:26:8", + "scope": 1762, + "src": "8874:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -4327,10 +4327,10 @@ "typeString": "string" }, "typeName": { - "id": 1820, + "id": 1745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "8874:6:8", + "src": "8874:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -4339,41 +4339,41 @@ "visibility": "internal" } ], - "src": "8848:53:8" + "src": "8848:53:7" }, "returnParameters": { - "id": 1823, + "id": 1748, "nodeType": "ParameterList", "parameters": [], - "src": "8915:0:8" + "src": "8915:0:7" }, - "scope": 1838, - "src": "8832:540:8", + "scope": 1763, + "src": "8832:540:7", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 1839, - "src": "194:9180:8", + "scope": 1764, + "src": "194:9180:7", "usedErrors": [] } ], - "src": "101:9274:8" + "src": "101:9274:7" }, "legacyAST": { "absolutePath": "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol", "exportedSymbols": { "AddressUpgradeable": [ - 1838 + 1763 ] }, - "id": 1839, + "id": 1764, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 1510, + "id": 1435, "literals": [ "solidity", "^", @@ -4381,7 +4381,7 @@ ".1" ], "nodeType": "PragmaDirective", - "src": "101:23:8" + "src": "101:23:7" }, { "abstract": false, @@ -4390,25 +4390,25 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1511, + "id": 1436, "nodeType": "StructuredDocumentation", - "src": "126:67:8", + "src": "126:67:7", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1838, + "id": 1763, "linearizedBaseContracts": [ - 1838 + 1763 ], "name": "AddressUpgradeable", - "nameLocation": "202:18:8", + "nameLocation": "202:18:7", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1525, + "id": 1450, "nodeType": "Block", - "src": "1489:254:8", + "src": "1489:254:7", "statements": [ { "expression": { @@ -4416,7 +4416,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1523, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": false, @@ -4424,40 +4424,40 @@ "leftExpression": { "expression": { "expression": { - "id": 1519, + "id": 1444, "name": "account", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1514, - "src": "1713:7:8", + "referencedDeclaration": 1439, + "src": "1713:7:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1520, + "id": 1445, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1721:4:8", + "memberLocation": "1721:4:7", "memberName": "code", "nodeType": "MemberAccess", - "src": "1713:12:8", + "src": "1713:12:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1521, + "id": 1446, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1726:6:8", + "memberLocation": "1726:6:7", "memberName": "length", "nodeType": "MemberAccess", - "src": "1713:19:8", + "src": "1713:19:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4467,59 +4467,59 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1522, + "id": 1447, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1735:1:8", + "src": "1735:1:7", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "1713:23:8", + "src": "1713:23:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1518, - "id": 1524, + "functionReturnParameters": 1443, + "id": 1449, "nodeType": "Return", - "src": "1706:30:8" + "src": "1706:30:7" } ] }, "documentation": { - "id": 1512, + "id": 1437, "nodeType": "StructuredDocumentation", - "src": "227:1191:8", + "src": "227:1191:7", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n Furthermore, `isContract` will also return true if the target contract within\n the same transaction is already scheduled for destruction by `SELFDESTRUCT`,\n which only has an effect at the end of a transaction.\n ====\n [IMPORTANT]\n ====\n You shouldn't rely on `isContract` to protect against flash loan attacks!\n Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n constructor.\n ====" }, - "id": 1526, + "id": 1451, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", - "nameLocation": "1432:10:8", + "nameLocation": "1432:10:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1515, + "id": 1440, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1514, + "id": 1439, "mutability": "mutable", "name": "account", - "nameLocation": "1451:7:8", + "nameLocation": "1451:7:7", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "1443:15:8", + "scope": 1451, + "src": "1443:15:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4527,10 +4527,10 @@ "typeString": "address" }, "typeName": { - "id": 1513, + "id": 1438, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1443:7:8", + "src": "1443:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4540,21 +4540,21 @@ "visibility": "internal" } ], - "src": "1442:17:8" + "src": "1442:17:7" }, "returnParameters": { - "id": 1518, + "id": 1443, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1517, + "id": 1442, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1526, - "src": "1483:4:8", + "scope": 1451, + "src": "1483:4:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4562,10 +4562,10 @@ "typeString": "bool" }, "typeName": { - "id": 1516, + "id": 1441, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1483:4:8", + "src": "1483:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4574,19 +4574,19 @@ "visibility": "internal" } ], - "src": "1482:6:8" + "src": "1482:6:7" }, - "scope": 1838, - "src": "1423:320:8", + "scope": 1763, + "src": "1423:320:7", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1559, + "id": 1484, "nodeType": "Block", - "src": "2729:241:8", + "src": "2729:241:7", "statements": [ { "expression": { @@ -4596,7 +4596,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1541, + "id": 1466, "isConstant": false, "isLValue": false, "isPure": false, @@ -4605,14 +4605,14 @@ "expression": { "arguments": [ { - "id": 1537, + "id": 1462, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "2755:4:8", + "src": "2755:4:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_AddressUpgradeable_$1838", + "typeIdentifier": "t_contract$_AddressUpgradeable_$1763", "typeString": "library AddressUpgradeable" } } @@ -4620,30 +4620,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_AddressUpgradeable_$1838", + "typeIdentifier": "t_contract$_AddressUpgradeable_$1763", "typeString": "library AddressUpgradeable" } ], - "id": 1536, + "id": 1461, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2747:7:8", + "src": "2747:7:7", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1535, + "id": 1460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2747:7:8", + "src": "2747:7:7", "typeDescriptions": {} } }, - "id": 1538, + "id": 1463, "isConstant": false, "isLValue": false, "isPure": false, @@ -4652,22 +4652,22 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2747:13:8", + "src": "2747:13:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1539, + "id": 1464, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "2761:7:8", + "memberLocation": "2761:7:7", "memberName": "balance", "nodeType": "MemberAccess", - "src": "2747:21:8", + "src": "2747:21:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4676,18 +4676,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1540, + "id": 1465, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1531, - "src": "2772:6:8", + "referencedDeclaration": 1456, + "src": "2772:6:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2747:31:8", + "src": "2747:31:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4695,14 +4695,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1542, + "id": 1467, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2780:31:8", + "src": "2780:31:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -4721,7 +4721,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1534, + "id": 1459, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -4729,13 +4729,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2739:7:8", + "src": "2739:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1543, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, @@ -4744,32 +4744,32 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2739:73:8", + "src": "2739:73:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1544, + "id": 1469, "nodeType": "ExpressionStatement", - "src": "2739:73:8" + "src": "2739:73:7" }, { "assignments": [ - 1546, + 1471, null ], "declarations": [ { "constant": false, - "id": 1546, + "id": 1471, "mutability": "mutable", "name": "success", - "nameLocation": "2829:7:8", + "nameLocation": "2829:7:7", "nodeType": "VariableDeclaration", - "scope": 1559, - "src": "2824:12:8", + "scope": 1484, + "src": "2824:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4777,10 +4777,10 @@ "typeString": "bool" }, "typeName": { - "id": 1545, + "id": 1470, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2824:4:8", + "src": "2824:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4790,19 +4790,19 @@ }, null ], - "id": 1553, + "id": 1478, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1551, + "id": 1476, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2872:2:8", + "src": "2872:2:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -4825,32 +4825,32 @@ } ], "expression": { - "id": 1547, + "id": 1472, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1529, - "src": "2842:9:8", + "referencedDeclaration": 1454, + "src": "2842:9:7", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1548, + "id": 1473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "2852:4:8", + "memberLocation": "2852:4:7", "memberName": "call", "nodeType": "MemberAccess", - "src": "2842:14:8", + "src": "2842:14:7", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1550, + "id": 1475, "isConstant": false, "isLValue": false, "isPure": false, @@ -4861,25 +4861,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1549, + "id": 1474, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1531, - "src": "2864:6:8", + "referencedDeclaration": 1456, + "src": "2864:6:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "2842:29:8", + "src": "2842:29:7", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1552, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": false, @@ -4888,7 +4888,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2842:33:8", + "src": "2842:33:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -4896,18 +4896,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "2823:52:8" + "src": "2823:52:7" }, { "expression": { "arguments": [ { - "id": 1555, + "id": 1480, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1546, - "src": "2893:7:8", + "referencedDeclaration": 1471, + "src": "2893:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4915,14 +4915,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1556, + "id": 1481, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2902:60:8", + "src": "2902:60:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -4941,7 +4941,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1554, + "id": 1479, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -4949,13 +4949,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2885:7:8", + "src": "2885:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1557, + "id": 1482, "isConstant": false, "isLValue": false, "isPure": false, @@ -4964,45 +4964,45 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2885:78:8", + "src": "2885:78:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1558, + "id": 1483, "nodeType": "ExpressionStatement", - "src": "2885:78:8" + "src": "2885:78:7" } ] }, "documentation": { - "id": 1527, + "id": 1452, "nodeType": "StructuredDocumentation", - "src": "1749:904:8", + "src": "1749:904:7", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1560, + "id": 1485, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", - "nameLocation": "2667:9:8", + "nameLocation": "2667:9:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1532, + "id": 1457, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1529, + "id": 1454, "mutability": "mutable", "name": "recipient", - "nameLocation": "2693:9:8", + "nameLocation": "2693:9:7", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "2677:25:8", + "scope": 1485, + "src": "2677:25:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5010,10 +5010,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1528, + "id": 1453, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2677:15:8", + "src": "2677:15:7", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -5024,13 +5024,13 @@ }, { "constant": false, - "id": 1531, + "id": 1456, "mutability": "mutable", "name": "amount", - "nameLocation": "2712:6:8", + "nameLocation": "2712:6:7", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "2704:14:8", + "scope": 1485, + "src": "2704:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5038,10 +5038,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1530, + "id": 1455, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2704:7:8", + "src": "2704:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5050,48 +5050,48 @@ "visibility": "internal" } ], - "src": "2676:43:8" + "src": "2676:43:7" }, "returnParameters": { - "id": 1533, + "id": 1458, "nodeType": "ParameterList", "parameters": [], - "src": "2729:0:8" + "src": "2729:0:7" }, - "scope": 1838, - "src": "2658:312:8", + "scope": 1763, + "src": "2658:312:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1577, + "id": 1502, "nodeType": "Block", - "src": "3801:96:8", + "src": "3801:96:7", "statements": [ { "expression": { "arguments": [ { - "id": 1571, + "id": 1496, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1563, - "src": "3840:6:8", + "referencedDeclaration": 1488, + "src": "3840:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1572, + "id": 1497, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1565, - "src": "3848:4:8", + "referencedDeclaration": 1490, + "src": "3848:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -5099,14 +5099,14 @@ }, { "hexValue": "30", - "id": 1573, + "id": 1498, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3854:1:8", + "src": "3854:1:7", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -5115,14 +5115,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1574, + "id": 1499, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "3857:32:8", + "src": "3857:32:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -5149,21 +5149,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1570, + "id": 1495, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1618, - 1662 + 1543, + 1587 ], - "referencedDeclaration": 1662, - "src": "3818:21:8", + "referencedDeclaration": 1587, + "src": "3818:21:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1575, + "id": 1500, "isConstant": false, "isLValue": false, "isPure": false, @@ -5172,46 +5172,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3818:72:8", + "src": "3818:72:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1569, - "id": 1576, + "functionReturnParameters": 1494, + "id": 1501, "nodeType": "Return", - "src": "3811:79:8" + "src": "3811:79:7" } ] }, "documentation": { - "id": 1561, + "id": 1486, "nodeType": "StructuredDocumentation", - "src": "2976:731:8", + "src": "2976:731:7", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain `call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1578, + "id": 1503, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", - "nameLocation": "3721:12:8", + "nameLocation": "3721:12:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1566, + "id": 1491, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1563, + "id": 1488, "mutability": "mutable", "name": "target", - "nameLocation": "3742:6:8", + "nameLocation": "3742:6:7", "nodeType": "VariableDeclaration", - "scope": 1578, - "src": "3734:14:8", + "scope": 1503, + "src": "3734:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5219,10 +5219,10 @@ "typeString": "address" }, "typeName": { - "id": 1562, + "id": 1487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3734:7:8", + "src": "3734:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5233,13 +5233,13 @@ }, { "constant": false, - "id": 1565, + "id": 1490, "mutability": "mutable", "name": "data", - "nameLocation": "3763:4:8", + "nameLocation": "3763:4:7", "nodeType": "VariableDeclaration", - "scope": 1578, - "src": "3750:17:8", + "scope": 1503, + "src": "3750:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -5247,10 +5247,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1564, + "id": 1489, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3750:5:8", + "src": "3750:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -5259,21 +5259,21 @@ "visibility": "internal" } ], - "src": "3733:35:8" + "src": "3733:35:7" }, "returnParameters": { - "id": 1569, + "id": 1494, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1568, + "id": 1493, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1578, - "src": "3787:12:8", + "scope": 1503, + "src": "3787:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -5281,10 +5281,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1567, + "id": 1492, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "3787:5:8", + "src": "3787:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -5293,42 +5293,42 @@ "visibility": "internal" } ], - "src": "3786:14:8" + "src": "3786:14:7" }, - "scope": 1838, - "src": "3712:185:8", + "scope": 1763, + "src": "3712:185:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1597, + "id": 1522, "nodeType": "Block", - "src": "4266:76:8", + "src": "4266:76:7", "statements": [ { "expression": { "arguments": [ { - "id": 1591, + "id": 1516, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1581, - "src": "4305:6:8", + "referencedDeclaration": 1506, + "src": "4305:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1592, + "id": 1517, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1583, - "src": "4313:4:8", + "referencedDeclaration": 1508, + "src": "4313:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -5336,14 +5336,14 @@ }, { "hexValue": "30", - "id": 1593, + "id": 1518, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "4319:1:8", + "src": "4319:1:7", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -5351,12 +5351,12 @@ "value": "0" }, { - "id": 1594, + "id": 1519, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1585, - "src": "4322:12:8", + "referencedDeclaration": 1510, + "src": "4322:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -5382,21 +5382,21 @@ "typeString": "string memory" } ], - "id": 1590, + "id": 1515, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1618, - 1662 + 1543, + 1587 ], - "referencedDeclaration": 1662, - "src": "4283:21:8", + "referencedDeclaration": 1587, + "src": "4283:21:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1595, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, @@ -5405,46 +5405,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "4283:52:8", + "src": "4283:52:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1589, - "id": 1596, + "functionReturnParameters": 1514, + "id": 1521, "nodeType": "Return", - "src": "4276:59:8" + "src": "4276:59:7" } ] }, "documentation": { - "id": 1579, + "id": 1504, "nodeType": "StructuredDocumentation", - "src": "3903:211:8", + "src": "3903:211:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1598, + "id": 1523, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", - "nameLocation": "4128:12:8", + "nameLocation": "4128:12:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1586, + "id": 1511, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1581, + "id": 1506, "mutability": "mutable", "name": "target", - "nameLocation": "4158:6:8", + "nameLocation": "4158:6:7", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "4150:14:8", + "scope": 1523, + "src": "4150:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5452,10 +5452,10 @@ "typeString": "address" }, "typeName": { - "id": 1580, + "id": 1505, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4150:7:8", + "src": "4150:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5466,13 +5466,13 @@ }, { "constant": false, - "id": 1583, + "id": 1508, "mutability": "mutable", "name": "data", - "nameLocation": "4187:4:8", + "nameLocation": "4187:4:7", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "4174:17:8", + "scope": 1523, + "src": "4174:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -5480,10 +5480,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1582, + "id": 1507, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4174:5:8", + "src": "4174:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -5493,13 +5493,13 @@ }, { "constant": false, - "id": 1585, + "id": 1510, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "4215:12:8", + "nameLocation": "4215:12:7", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "4201:26:8", + "scope": 1523, + "src": "4201:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -5507,10 +5507,10 @@ "typeString": "string" }, "typeName": { - "id": 1584, + "id": 1509, "name": "string", "nodeType": "ElementaryTypeName", - "src": "4201:6:8", + "src": "4201:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -5519,21 +5519,21 @@ "visibility": "internal" } ], - "src": "4140:93:8" + "src": "4140:93:7" }, "returnParameters": { - "id": 1589, + "id": 1514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1588, + "id": 1513, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1598, - "src": "4252:12:8", + "scope": 1523, + "src": "4252:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -5541,10 +5541,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1587, + "id": 1512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4252:5:8", + "src": "4252:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -5553,54 +5553,54 @@ "visibility": "internal" } ], - "src": "4251:14:8" + "src": "4251:14:7" }, - "scope": 1838, - "src": "4119:223:8", + "scope": 1763, + "src": "4119:223:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1617, + "id": 1542, "nodeType": "Block", - "src": "4817:111:8", + "src": "4817:111:7", "statements": [ { "expression": { "arguments": [ { - "id": 1611, + "id": 1536, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1601, - "src": "4856:6:8", + "referencedDeclaration": 1526, + "src": "4856:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1612, + "id": 1537, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1603, - "src": "4864:4:8", + "referencedDeclaration": 1528, + "src": "4864:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1613, + "id": 1538, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1605, - "src": "4870:5:8", + "referencedDeclaration": 1530, + "src": "4870:5:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5608,14 +5608,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1614, + "id": 1539, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4877:43:8", + "src": "4877:43:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -5642,21 +5642,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1610, + "id": 1535, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1618, - 1662 + 1543, + 1587 ], - "referencedDeclaration": 1662, - "src": "4834:21:8", + "referencedDeclaration": 1587, + "src": "4834:21:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1615, + "id": 1540, "isConstant": false, "isLValue": false, "isPure": false, @@ -5665,46 +5665,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "4834:87:8", + "src": "4834:87:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1609, - "id": 1616, + "functionReturnParameters": 1534, + "id": 1541, "nodeType": "Return", - "src": "4827:94:8" + "src": "4827:94:7" } ] }, "documentation": { - "id": 1599, + "id": 1524, "nodeType": "StructuredDocumentation", - "src": "4348:351:8", + "src": "4348:351:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1618, + "id": 1543, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", - "nameLocation": "4713:21:8", + "nameLocation": "4713:21:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1606, + "id": 1531, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1601, + "id": 1526, "mutability": "mutable", "name": "target", - "nameLocation": "4743:6:8", + "nameLocation": "4743:6:7", "nodeType": "VariableDeclaration", - "scope": 1618, - "src": "4735:14:8", + "scope": 1543, + "src": "4735:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5712,10 +5712,10 @@ "typeString": "address" }, "typeName": { - "id": 1600, + "id": 1525, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4735:7:8", + "src": "4735:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5726,13 +5726,13 @@ }, { "constant": false, - "id": 1603, + "id": 1528, "mutability": "mutable", "name": "data", - "nameLocation": "4764:4:8", + "nameLocation": "4764:4:7", "nodeType": "VariableDeclaration", - "scope": 1618, - "src": "4751:17:8", + "scope": 1543, + "src": "4751:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -5740,10 +5740,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1602, + "id": 1527, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4751:5:8", + "src": "4751:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -5753,13 +5753,13 @@ }, { "constant": false, - "id": 1605, + "id": 1530, "mutability": "mutable", "name": "value", - "nameLocation": "4778:5:8", + "nameLocation": "4778:5:7", "nodeType": "VariableDeclaration", - "scope": 1618, - "src": "4770:13:8", + "scope": 1543, + "src": "4770:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5767,10 +5767,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1604, + "id": 1529, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4770:7:8", + "src": "4770:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5779,21 +5779,21 @@ "visibility": "internal" } ], - "src": "4734:50:8" + "src": "4734:50:7" }, "returnParameters": { - "id": 1609, + "id": 1534, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1608, + "id": 1533, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1618, - "src": "4803:12:8", + "scope": 1543, + "src": "4803:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -5801,10 +5801,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1607, + "id": 1532, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "4803:5:8", + "src": "4803:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -5813,19 +5813,19 @@ "visibility": "internal" } ], - "src": "4802:14:8" + "src": "4802:14:7" }, - "scope": 1838, - "src": "4704:224:8", + "scope": 1763, + "src": "4704:224:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1661, + "id": 1586, "nodeType": "Block", - "src": "5355:267:8", + "src": "5355:267:7", "statements": [ { "expression": { @@ -5835,7 +5835,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1639, + "id": 1564, "isConstant": false, "isLValue": false, "isPure": false, @@ -5844,14 +5844,14 @@ "expression": { "arguments": [ { - "id": 1635, + "id": 1560, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "5381:4:8", + "src": "5381:4:7", "typeDescriptions": { - "typeIdentifier": "t_contract$_AddressUpgradeable_$1838", + "typeIdentifier": "t_contract$_AddressUpgradeable_$1763", "typeString": "library AddressUpgradeable" } } @@ -5859,30 +5859,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_AddressUpgradeable_$1838", + "typeIdentifier": "t_contract$_AddressUpgradeable_$1763", "typeString": "library AddressUpgradeable" } ], - "id": 1634, + "id": 1559, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "5373:7:8", + "src": "5373:7:7", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1633, + "id": 1558, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5373:7:8", + "src": "5373:7:7", "typeDescriptions": {} } }, - "id": 1636, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -5891,22 +5891,22 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5373:13:8", + "src": "5373:13:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1637, + "id": 1562, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "5387:7:8", + "memberLocation": "5387:7:7", "memberName": "balance", "nodeType": "MemberAccess", - "src": "5373:21:8", + "src": "5373:21:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5915,18 +5915,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1638, + "id": 1563, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "5398:5:8", + "referencedDeclaration": 1550, + "src": "5398:5:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "5373:30:8", + "src": "5373:30:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5934,14 +5934,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1640, + "id": 1565, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5405:40:8", + "src": "5405:40:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -5960,7 +5960,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1632, + "id": 1557, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5968,13 +5968,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "5365:7:8", + "src": "5365:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1641, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": false, @@ -5983,32 +5983,32 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5365:81:8", + "src": "5365:81:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1642, + "id": 1567, "nodeType": "ExpressionStatement", - "src": "5365:81:8" + "src": "5365:81:7" }, { "assignments": [ - 1644, - 1646 + 1569, + 1571 ], "declarations": [ { "constant": false, - "id": 1644, + "id": 1569, "mutability": "mutable", "name": "success", - "nameLocation": "5462:7:8", + "nameLocation": "5462:7:7", "nodeType": "VariableDeclaration", - "scope": 1661, - "src": "5457:12:8", + "scope": 1586, + "src": "5457:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6016,10 +6016,10 @@ "typeString": "bool" }, "typeName": { - "id": 1643, + "id": 1568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5457:4:8", + "src": "5457:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6029,13 +6029,13 @@ }, { "constant": false, - "id": 1646, + "id": 1571, "mutability": "mutable", "name": "returndata", - "nameLocation": "5484:10:8", + "nameLocation": "5484:10:7", "nodeType": "VariableDeclaration", - "scope": 1661, - "src": "5471:23:8", + "scope": 1586, + "src": "5471:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6043,10 +6043,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1645, + "id": 1570, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5471:5:8", + "src": "5471:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -6055,16 +6055,16 @@ "visibility": "internal" } ], - "id": 1653, + "id": 1578, "initialValue": { "arguments": [ { - "id": 1651, + "id": 1576, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "5524:4:8", + "referencedDeclaration": 1548, + "src": "5524:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -6086,32 +6086,32 @@ } ], "expression": { - "id": 1647, + "id": 1572, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1621, - "src": "5498:6:8", + "referencedDeclaration": 1546, + "src": "5498:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1648, + "id": 1573, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "5505:4:8", + "memberLocation": "5505:4:7", "memberName": "call", "nodeType": "MemberAccess", - "src": "5498:11:8", + "src": "5498:11:7", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1650, + "id": 1575, "isConstant": false, "isLValue": false, "isPure": false, @@ -6122,25 +6122,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1649, + "id": 1574, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "5517:5:8", + "referencedDeclaration": 1550, + "src": "5517:5:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "5498:25:8", + "src": "5498:25:7", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1652, + "id": 1577, "isConstant": false, "isLValue": false, "isPure": false, @@ -6149,7 +6149,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5498:31:8", + "src": "5498:31:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -6157,54 +6157,54 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "5456:73:8" + "src": "5456:73:7" }, { "expression": { "arguments": [ { - "id": 1655, + "id": 1580, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1621, - "src": "5573:6:8", + "referencedDeclaration": 1546, + "src": "5573:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1656, + "id": 1581, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1644, - "src": "5581:7:8", + "referencedDeclaration": 1569, + "src": "5581:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1657, + "id": 1582, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1646, - "src": "5590:10:8", + "referencedDeclaration": 1571, + "src": "5590:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1658, + "id": 1583, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1627, - "src": "5602:12:8", + "referencedDeclaration": 1552, + "src": "5602:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6230,18 +6230,18 @@ "typeString": "string memory" } ], - "id": 1654, + "id": 1579, "name": "verifyCallResultFromTarget", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1793, - "src": "5546:26:8", + "referencedDeclaration": 1718, + "src": "5546:26:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1659, + "id": 1584, "isConstant": false, "isLValue": false, "isPure": false, @@ -6250,46 +6250,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5546:69:8", + "src": "5546:69:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1631, - "id": 1660, + "functionReturnParameters": 1556, + "id": 1585, "nodeType": "Return", - "src": "5539:76:8" + "src": "5539:76:7" } ] }, "documentation": { - "id": 1619, + "id": 1544, "nodeType": "StructuredDocumentation", - "src": "4934:237:8", + "src": "4934:237:7", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1662, + "id": 1587, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", - "nameLocation": "5185:21:8", + "nameLocation": "5185:21:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1628, + "id": 1553, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1621, + "id": 1546, "mutability": "mutable", "name": "target", - "nameLocation": "5224:6:8", + "nameLocation": "5224:6:7", "nodeType": "VariableDeclaration", - "scope": 1662, - "src": "5216:14:8", + "scope": 1587, + "src": "5216:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6297,10 +6297,10 @@ "typeString": "address" }, "typeName": { - "id": 1620, + "id": 1545, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5216:7:8", + "src": "5216:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -6311,13 +6311,13 @@ }, { "constant": false, - "id": 1623, + "id": 1548, "mutability": "mutable", "name": "data", - "nameLocation": "5253:4:8", + "nameLocation": "5253:4:7", "nodeType": "VariableDeclaration", - "scope": 1662, - "src": "5240:17:8", + "scope": 1587, + "src": "5240:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6325,10 +6325,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1622, + "id": 1547, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5240:5:8", + "src": "5240:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -6338,13 +6338,13 @@ }, { "constant": false, - "id": 1625, + "id": 1550, "mutability": "mutable", "name": "value", - "nameLocation": "5275:5:8", + "nameLocation": "5275:5:7", "nodeType": "VariableDeclaration", - "scope": 1662, - "src": "5267:13:8", + "scope": 1587, + "src": "5267:13:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6352,10 +6352,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1624, + "id": 1549, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5267:7:8", + "src": "5267:7:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6365,13 +6365,13 @@ }, { "constant": false, - "id": 1627, + "id": 1552, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "5304:12:8", + "nameLocation": "5304:12:7", "nodeType": "VariableDeclaration", - "scope": 1662, - "src": "5290:26:8", + "scope": 1587, + "src": "5290:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6379,10 +6379,10 @@ "typeString": "string" }, "typeName": { - "id": 1626, + "id": 1551, "name": "string", "nodeType": "ElementaryTypeName", - "src": "5290:6:8", + "src": "5290:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6391,21 +6391,21 @@ "visibility": "internal" } ], - "src": "5206:116:8" + "src": "5206:116:7" }, "returnParameters": { - "id": 1631, + "id": 1556, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1630, + "id": 1555, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1662, - "src": "5341:12:8", + "scope": 1587, + "src": "5341:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6413,10 +6413,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1629, + "id": 1554, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5341:5:8", + "src": "5341:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -6425,42 +6425,42 @@ "visibility": "internal" } ], - "src": "5340:14:8" + "src": "5340:14:7" }, - "scope": 1838, - "src": "5176:446:8", + "scope": 1763, + "src": "5176:446:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1678, + "id": 1603, "nodeType": "Block", - "src": "5899:97:8", + "src": "5899:97:7", "statements": [ { "expression": { "arguments": [ { - "id": 1673, + "id": 1598, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1665, - "src": "5935:6:8", + "referencedDeclaration": 1590, + "src": "5935:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1674, + "id": 1599, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1667, - "src": "5943:4:8", + "referencedDeclaration": 1592, + "src": "5943:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -6468,14 +6468,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1675, + "id": 1600, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5949:39:8", + "src": "5949:39:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -6498,21 +6498,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1672, + "id": 1597, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1679, - 1708 + 1604, + 1633 ], - "referencedDeclaration": 1708, - "src": "5916:18:8", + "referencedDeclaration": 1633, + "src": "5916:18:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1676, + "id": 1601, "isConstant": false, "isLValue": false, "isPure": false, @@ -6521,46 +6521,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5916:73:8", + "src": "5916:73:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1671, - "id": 1677, + "functionReturnParameters": 1596, + "id": 1602, "nodeType": "Return", - "src": "5909:80:8" + "src": "5909:80:7" } ] }, "documentation": { - "id": 1663, + "id": 1588, "nodeType": "StructuredDocumentation", - "src": "5628:166:8", + "src": "5628:166:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1679, + "id": 1604, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", - "nameLocation": "5808:18:8", + "nameLocation": "5808:18:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1668, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1665, + "id": 1590, "mutability": "mutable", "name": "target", - "nameLocation": "5835:6:8", + "nameLocation": "5835:6:7", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "5827:14:8", + "scope": 1604, + "src": "5827:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6568,10 +6568,10 @@ "typeString": "address" }, "typeName": { - "id": 1664, + "id": 1589, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5827:7:8", + "src": "5827:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -6582,13 +6582,13 @@ }, { "constant": false, - "id": 1667, + "id": 1592, "mutability": "mutable", "name": "data", - "nameLocation": "5856:4:8", + "nameLocation": "5856:4:7", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "5843:17:8", + "scope": 1604, + "src": "5843:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6596,10 +6596,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1666, + "id": 1591, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5843:5:8", + "src": "5843:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -6608,21 +6608,21 @@ "visibility": "internal" } ], - "src": "5826:35:8" + "src": "5826:35:7" }, "returnParameters": { - "id": 1671, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1670, + "id": 1595, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1679, - "src": "5885:12:8", + "scope": 1604, + "src": "5885:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6630,10 +6630,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1669, + "id": 1594, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "5885:5:8", + "src": "5885:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -6642,35 +6642,35 @@ "visibility": "internal" } ], - "src": "5884:14:8" + "src": "5884:14:7" }, - "scope": 1838, - "src": "5799:197:8", + "scope": 1763, + "src": "5799:197:7", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1707, + "id": 1632, "nodeType": "Block", - "src": "6338:168:8", + "src": "6338:168:7", "statements": [ { "assignments": [ - 1692, - 1694 + 1617, + 1619 ], "declarations": [ { "constant": false, - "id": 1692, + "id": 1617, "mutability": "mutable", "name": "success", - "nameLocation": "6354:7:8", + "nameLocation": "6354:7:7", "nodeType": "VariableDeclaration", - "scope": 1707, - "src": "6349:12:8", + "scope": 1632, + "src": "6349:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6678,10 +6678,10 @@ "typeString": "bool" }, "typeName": { - "id": 1691, + "id": 1616, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "6349:4:8", + "src": "6349:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6691,13 +6691,13 @@ }, { "constant": false, - "id": 1694, + "id": 1619, "mutability": "mutable", "name": "returndata", - "nameLocation": "6376:10:8", + "nameLocation": "6376:10:7", "nodeType": "VariableDeclaration", - "scope": 1707, - "src": "6363:23:8", + "scope": 1632, + "src": "6363:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6705,10 +6705,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1693, + "id": 1618, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6363:5:8", + "src": "6363:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -6717,16 +6717,16 @@ "visibility": "internal" } ], - "id": 1699, + "id": 1624, "initialValue": { "arguments": [ { - "id": 1697, + "id": 1622, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1684, - "src": "6408:4:8", + "referencedDeclaration": 1609, + "src": "6408:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -6741,32 +6741,32 @@ } ], "expression": { - "id": 1695, + "id": 1620, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1682, - "src": "6390:6:8", + "referencedDeclaration": 1607, + "src": "6390:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1696, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "6397:10:8", + "memberLocation": "6397:10:7", "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "6390:17:8", + "src": "6390:17:7", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1698, + "id": 1623, "isConstant": false, "isLValue": false, "isPure": false, @@ -6775,7 +6775,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6390:23:8", + "src": "6390:23:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -6783,54 +6783,54 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "6348:65:8" + "src": "6348:65:7" }, { "expression": { "arguments": [ { - "id": 1701, + "id": 1626, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1682, - "src": "6457:6:8", + "referencedDeclaration": 1607, + "src": "6457:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1702, + "id": 1627, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1692, - "src": "6465:7:8", + "referencedDeclaration": 1617, + "src": "6465:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1703, + "id": 1628, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1694, - "src": "6474:10:8", + "referencedDeclaration": 1619, + "src": "6474:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1704, + "id": 1629, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1686, - "src": "6486:12:8", + "referencedDeclaration": 1611, + "src": "6486:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6856,18 +6856,18 @@ "typeString": "string memory" } ], - "id": 1700, + "id": 1625, "name": "verifyCallResultFromTarget", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1793, - "src": "6430:26:8", + "referencedDeclaration": 1718, + "src": "6430:26:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1705, + "id": 1630, "isConstant": false, "isLValue": false, "isPure": false, @@ -6876,46 +6876,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6430:69:8", + "src": "6430:69:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1690, - "id": 1706, + "functionReturnParameters": 1615, + "id": 1631, "nodeType": "Return", - "src": "6423:76:8" + "src": "6423:76:7" } ] }, "documentation": { - "id": 1680, + "id": 1605, "nodeType": "StructuredDocumentation", - "src": "6002:173:8", + "src": "6002:173:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1708, + "id": 1633, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", - "nameLocation": "6189:18:8", + "nameLocation": "6189:18:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1687, + "id": 1612, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1682, + "id": 1607, "mutability": "mutable", "name": "target", - "nameLocation": "6225:6:8", + "nameLocation": "6225:6:7", "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "6217:14:8", + "scope": 1633, + "src": "6217:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6923,10 +6923,10 @@ "typeString": "address" }, "typeName": { - "id": 1681, + "id": 1606, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6217:7:8", + "src": "6217:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -6937,13 +6937,13 @@ }, { "constant": false, - "id": 1684, + "id": 1609, "mutability": "mutable", "name": "data", - "nameLocation": "6254:4:8", + "nameLocation": "6254:4:7", "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "6241:17:8", + "scope": 1633, + "src": "6241:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6951,10 +6951,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1683, + "id": 1608, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6241:5:8", + "src": "6241:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -6964,13 +6964,13 @@ }, { "constant": false, - "id": 1686, + "id": 1611, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "6282:12:8", + "nameLocation": "6282:12:7", "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "6268:26:8", + "scope": 1633, + "src": "6268:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6978,10 +6978,10 @@ "typeString": "string" }, "typeName": { - "id": 1685, + "id": 1610, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6268:6:8", + "src": "6268:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6990,21 +6990,21 @@ "visibility": "internal" } ], - "src": "6207:93:8" + "src": "6207:93:7" }, "returnParameters": { - "id": 1690, + "id": 1615, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1689, + "id": 1614, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1708, - "src": "6324:12:8", + "scope": 1633, + "src": "6324:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7012,10 +7012,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1688, + "id": 1613, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6324:5:8", + "src": "6324:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -7024,42 +7024,42 @@ "visibility": "internal" } ], - "src": "6323:14:8" + "src": "6323:14:7" }, - "scope": 1838, - "src": "6180:326:8", + "scope": 1763, + "src": "6180:326:7", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1724, + "id": 1649, "nodeType": "Block", - "src": "6782:101:8", + "src": "6782:101:7", "statements": [ { "expression": { "arguments": [ { - "id": 1719, + "id": 1644, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1711, - "src": "6820:6:8", + "referencedDeclaration": 1636, + "src": "6820:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1720, + "id": 1645, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1713, - "src": "6828:4:8", + "referencedDeclaration": 1638, + "src": "6828:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -7067,14 +7067,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1721, + "id": 1646, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6834:41:8", + "src": "6834:41:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -7097,21 +7097,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1718, + "id": 1643, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1725, - 1754 + 1650, + 1679 ], - "referencedDeclaration": 1754, - "src": "6799:20:8", + "referencedDeclaration": 1679, + "src": "6799:20:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1722, + "id": 1647, "isConstant": false, "isLValue": false, "isPure": false, @@ -7120,46 +7120,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6799:77:8", + "src": "6799:77:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1717, - "id": 1723, + "functionReturnParameters": 1642, + "id": 1648, "nodeType": "Return", - "src": "6792:84:8" + "src": "6792:84:7" } ] }, "documentation": { - "id": 1709, + "id": 1634, "nodeType": "StructuredDocumentation", - "src": "6512:168:8", + "src": "6512:168:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1725, + "id": 1650, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", - "nameLocation": "6694:20:8", + "nameLocation": "6694:20:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1714, + "id": 1639, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1711, + "id": 1636, "mutability": "mutable", "name": "target", - "nameLocation": "6723:6:8", + "nameLocation": "6723:6:7", "nodeType": "VariableDeclaration", - "scope": 1725, - "src": "6715:14:8", + "scope": 1650, + "src": "6715:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7167,10 +7167,10 @@ "typeString": "address" }, "typeName": { - "id": 1710, + "id": 1635, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6715:7:8", + "src": "6715:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7181,13 +7181,13 @@ }, { "constant": false, - "id": 1713, + "id": 1638, "mutability": "mutable", "name": "data", - "nameLocation": "6744:4:8", + "nameLocation": "6744:4:7", "nodeType": "VariableDeclaration", - "scope": 1725, - "src": "6731:17:8", + "scope": 1650, + "src": "6731:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7195,10 +7195,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1712, + "id": 1637, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6731:5:8", + "src": "6731:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -7207,21 +7207,21 @@ "visibility": "internal" } ], - "src": "6714:35:8" + "src": "6714:35:7" }, "returnParameters": { - "id": 1717, + "id": 1642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1716, + "id": 1641, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1725, - "src": "6768:12:8", + "scope": 1650, + "src": "6768:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7229,10 +7229,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1715, + "id": 1640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6768:5:8", + "src": "6768:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -7241,35 +7241,35 @@ "visibility": "internal" } ], - "src": "6767:14:8" + "src": "6767:14:7" }, - "scope": 1838, - "src": "6685:198:8", + "scope": 1763, + "src": "6685:198:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1753, + "id": 1678, "nodeType": "Block", - "src": "7224:170:8", + "src": "7224:170:7", "statements": [ { "assignments": [ - 1738, - 1740 + 1663, + 1665 ], "declarations": [ { "constant": false, - "id": 1738, + "id": 1663, "mutability": "mutable", "name": "success", - "nameLocation": "7240:7:8", + "nameLocation": "7240:7:7", "nodeType": "VariableDeclaration", - "scope": 1753, - "src": "7235:12:8", + "scope": 1678, + "src": "7235:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7277,10 +7277,10 @@ "typeString": "bool" }, "typeName": { - "id": 1737, + "id": 1662, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "7235:4:8", + "src": "7235:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7290,13 +7290,13 @@ }, { "constant": false, - "id": 1740, + "id": 1665, "mutability": "mutable", "name": "returndata", - "nameLocation": "7262:10:8", + "nameLocation": "7262:10:7", "nodeType": "VariableDeclaration", - "scope": 1753, - "src": "7249:23:8", + "scope": 1678, + "src": "7249:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7304,10 +7304,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1739, + "id": 1664, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7249:5:8", + "src": "7249:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -7316,16 +7316,16 @@ "visibility": "internal" } ], - "id": 1745, + "id": 1670, "initialValue": { "arguments": [ { - "id": 1743, + "id": 1668, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1730, - "src": "7296:4:8", + "referencedDeclaration": 1655, + "src": "7296:4:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -7340,32 +7340,32 @@ } ], "expression": { - "id": 1741, + "id": 1666, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1728, - "src": "7276:6:8", + "referencedDeclaration": 1653, + "src": "7276:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1742, + "id": 1667, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7283:12:8", + "memberLocation": "7283:12:7", "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "7276:19:8", + "src": "7276:19:7", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1744, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, @@ -7374,7 +7374,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7276:25:8", + "src": "7276:25:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -7382,54 +7382,54 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "7234:67:8" + "src": "7234:67:7" }, { "expression": { "arguments": [ { - "id": 1747, + "id": 1672, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1728, - "src": "7345:6:8", + "referencedDeclaration": 1653, + "src": "7345:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1748, + "id": 1673, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1738, - "src": "7353:7:8", + "referencedDeclaration": 1663, + "src": "7353:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1749, + "id": 1674, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1740, - "src": "7362:10:8", + "referencedDeclaration": 1665, + "src": "7362:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1750, + "id": 1675, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1732, - "src": "7374:12:8", + "referencedDeclaration": 1657, + "src": "7374:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7455,18 +7455,18 @@ "typeString": "string memory" } ], - "id": 1746, + "id": 1671, "name": "verifyCallResultFromTarget", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1793, - "src": "7318:26:8", + "referencedDeclaration": 1718, + "src": "7318:26:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bool,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1751, + "id": 1676, "isConstant": false, "isLValue": false, "isPure": false, @@ -7475,46 +7475,46 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "7318:69:8", + "src": "7318:69:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1736, - "id": 1752, + "functionReturnParameters": 1661, + "id": 1677, "nodeType": "Return", - "src": "7311:76:8" + "src": "7311:76:7" } ] }, "documentation": { - "id": 1726, + "id": 1651, "nodeType": "StructuredDocumentation", - "src": "6889:175:8", + "src": "6889:175:7", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1754, + "id": 1679, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", - "nameLocation": "7078:20:8", + "nameLocation": "7078:20:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1733, + "id": 1658, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1728, + "id": 1653, "mutability": "mutable", "name": "target", - "nameLocation": "7116:6:8", + "nameLocation": "7116:6:7", "nodeType": "VariableDeclaration", - "scope": 1754, - "src": "7108:14:8", + "scope": 1679, + "src": "7108:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7522,10 +7522,10 @@ "typeString": "address" }, "typeName": { - "id": 1727, + "id": 1652, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7108:7:8", + "src": "7108:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7536,13 +7536,13 @@ }, { "constant": false, - "id": 1730, + "id": 1655, "mutability": "mutable", "name": "data", - "nameLocation": "7145:4:8", + "nameLocation": "7145:4:7", "nodeType": "VariableDeclaration", - "scope": 1754, - "src": "7132:17:8", + "scope": 1679, + "src": "7132:17:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7550,10 +7550,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1729, + "id": 1654, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7132:5:8", + "src": "7132:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -7563,13 +7563,13 @@ }, { "constant": false, - "id": 1732, + "id": 1657, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "7173:12:8", + "nameLocation": "7173:12:7", "nodeType": "VariableDeclaration", - "scope": 1754, - "src": "7159:26:8", + "scope": 1679, + "src": "7159:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7577,10 +7577,10 @@ "typeString": "string" }, "typeName": { - "id": 1731, + "id": 1656, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7159:6:8", + "src": "7159:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7589,21 +7589,21 @@ "visibility": "internal" } ], - "src": "7098:93:8" + "src": "7098:93:7" }, "returnParameters": { - "id": 1736, + "id": 1661, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1735, + "id": 1660, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1754, - "src": "7210:12:8", + "scope": 1679, + "src": "7210:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7611,10 +7611,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1734, + "id": 1659, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7210:5:8", + "src": "7210:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -7623,60 +7623,60 @@ "visibility": "internal" } ], - "src": "7209:14:8" + "src": "7209:14:7" }, - "scope": 1838, - "src": "7069:325:8", + "scope": 1763, + "src": "7069:325:7", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1792, + "id": 1717, "nodeType": "Block", - "src": "7876:434:8", + "src": "7876:434:7", "statements": [ { "condition": { - "id": 1768, + "id": 1693, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1759, - "src": "7890:7:8", + "referencedDeclaration": 1684, + "src": "7890:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1790, + "id": 1715, "nodeType": "Block", - "src": "8246:58:8", + "src": "8246:58:7", "statements": [ { "expression": { "arguments": [ { - "id": 1786, + "id": 1711, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1761, - "src": "8268:10:8", + "referencedDeclaration": 1686, + "src": "8268:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1787, + "id": 1712, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1763, - "src": "8280:12:8", + "referencedDeclaration": 1688, + "src": "8280:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7694,18 +7694,18 @@ "typeString": "string memory" } ], - "id": 1785, + "id": 1710, "name": "_revert", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1837, - "src": "8260:7:8", + "referencedDeclaration": 1762, + "src": "8260:7:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bytes memory,string memory) pure" } }, - "id": 1788, + "id": 1713, "isConstant": false, "isLValue": false, "isPure": false, @@ -7714,26 +7714,26 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8260:33:8", + "src": "8260:33:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1789, + "id": 1714, "nodeType": "ExpressionStatement", - "src": "8260:33:8" + "src": "8260:33:7" } ] }, - "id": 1791, + "id": 1716, "nodeType": "IfStatement", - "src": "7886:418:8", + "src": "7886:418:7", "trueBody": { - "id": 1784, + "id": 1709, "nodeType": "Block", - "src": "7899:341:8", + "src": "7899:341:7", "statements": [ { "condition": { @@ -7741,33 +7741,33 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1772, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1769, + "id": 1694, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1761, - "src": "7917:10:8", + "referencedDeclaration": 1686, + "src": "7917:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1770, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "7928:6:8", + "memberLocation": "7928:6:7", "memberName": "length", "nodeType": "MemberAccess", - "src": "7917:17:8", + "src": "7917:17:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7777,33 +7777,33 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1771, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7938:1:8", + "src": "7938:1:7", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "7917:22:8", + "src": "7917:22:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1781, + "id": 1706, "nodeType": "IfStatement", - "src": "7913:286:8", + "src": "7913:286:7", "trueBody": { - "id": 1780, + "id": 1705, "nodeType": "Block", - "src": "7941:258:8", + "src": "7941:258:7", "statements": [ { "expression": { @@ -7811,12 +7811,12 @@ { "arguments": [ { - "id": 1775, + "id": 1700, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1757, - "src": "8143:6:8", + "referencedDeclaration": 1682, + "src": "8143:6:7", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7830,18 +7830,18 @@ "typeString": "address" } ], - "id": 1774, + "id": 1699, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1526, - "src": "8132:10:8", + "referencedDeclaration": 1451, + "src": "8132:10:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1776, + "id": 1701, "isConstant": false, "isLValue": false, "isPure": false, @@ -7850,7 +7850,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8132:18:8", + "src": "8132:18:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7859,14 +7859,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1777, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "8152:31:8", + "src": "8152:31:7", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -7885,7 +7885,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1773, + "id": 1698, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7893,13 +7893,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "8124:7:8", + "src": "8124:7:7", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1778, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, @@ -7908,37 +7908,37 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8124:60:8", + "src": "8124:60:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1779, + "id": 1704, "nodeType": "ExpressionStatement", - "src": "8124:60:8" + "src": "8124:60:7" } ] } }, { "expression": { - "id": 1782, + "id": 1707, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1761, - "src": "8219:10:8", + "referencedDeclaration": 1686, + "src": "8219:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1767, - "id": 1783, + "functionReturnParameters": 1692, + "id": 1708, "nodeType": "Return", - "src": "8212:17:8" + "src": "8212:17:7" } ] } @@ -7946,31 +7946,31 @@ ] }, "documentation": { - "id": 1755, + "id": 1680, "nodeType": "StructuredDocumentation", - "src": "7400:277:8", + "src": "7400:277:7", "text": " @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n _Available since v4.8._" }, - "id": 1793, + "id": 1718, "implemented": true, "kind": "function", "modifiers": [], "name": "verifyCallResultFromTarget", - "nameLocation": "7691:26:8", + "nameLocation": "7691:26:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1764, + "id": 1689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1757, + "id": 1682, "mutability": "mutable", "name": "target", - "nameLocation": "7735:6:8", + "nameLocation": "7735:6:7", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "7727:14:8", + "scope": 1718, + "src": "7727:14:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7978,10 +7978,10 @@ "typeString": "address" }, "typeName": { - "id": 1756, + "id": 1681, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7727:7:8", + "src": "7727:7:7", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7992,13 +7992,13 @@ }, { "constant": false, - "id": 1759, + "id": 1684, "mutability": "mutable", "name": "success", - "nameLocation": "7756:7:8", + "nameLocation": "7756:7:7", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "7751:12:8", + "scope": 1718, + "src": "7751:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8006,10 +8006,10 @@ "typeString": "bool" }, "typeName": { - "id": 1758, + "id": 1683, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "7751:4:8", + "src": "7751:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8019,13 +8019,13 @@ }, { "constant": false, - "id": 1761, + "id": 1686, "mutability": "mutable", "name": "returndata", - "nameLocation": "7786:10:8", + "nameLocation": "7786:10:7", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "7773:23:8", + "scope": 1718, + "src": "7773:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8033,10 +8033,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1760, + "id": 1685, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7773:5:8", + "src": "7773:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8046,13 +8046,13 @@ }, { "constant": false, - "id": 1763, + "id": 1688, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "7820:12:8", + "nameLocation": "7820:12:7", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "7806:26:8", + "scope": 1718, + "src": "7806:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8060,10 +8060,10 @@ "typeString": "string" }, "typeName": { - "id": 1762, + "id": 1687, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7806:6:8", + "src": "7806:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8072,21 +8072,21 @@ "visibility": "internal" } ], - "src": "7717:121:8" + "src": "7717:121:7" }, "returnParameters": { - "id": 1767, + "id": 1692, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1766, + "id": 1691, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1793, - "src": "7862:12:8", + "scope": 1718, + "src": "7862:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8094,10 +8094,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1765, + "id": 1690, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "7862:5:8", + "src": "7862:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8106,60 +8106,60 @@ "visibility": "internal" } ], - "src": "7861:14:8" + "src": "7861:14:7" }, - "scope": 1838, - "src": "7682:628:8", + "scope": 1763, + "src": "7682:628:7", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1816, + "id": 1741, "nodeType": "Block", - "src": "8691:135:8", + "src": "8691:135:7", "statements": [ { "condition": { - "id": 1805, + "id": 1730, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1796, - "src": "8705:7:8", + "referencedDeclaration": 1721, + "src": "8705:7:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1814, + "id": 1739, "nodeType": "Block", - "src": "8762:58:8", + "src": "8762:58:7", "statements": [ { "expression": { "arguments": [ { - "id": 1810, + "id": 1735, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1798, - "src": "8784:10:8", + "referencedDeclaration": 1723, + "src": "8784:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1811, + "id": 1736, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "8796:12:8", + "referencedDeclaration": 1725, + "src": "8796:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8177,18 +8177,18 @@ "typeString": "string memory" } ], - "id": 1809, + "id": 1734, "name": "_revert", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1837, - "src": "8776:7:8", + "referencedDeclaration": 1762, + "src": "8776:7:7", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bytes memory,string memory) pure" } }, - "id": 1812, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": false, @@ -8197,44 +8197,44 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "8776:33:8", + "src": "8776:33:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1813, + "id": 1738, "nodeType": "ExpressionStatement", - "src": "8776:33:8" + "src": "8776:33:7" } ] }, - "id": 1815, + "id": 1740, "nodeType": "IfStatement", - "src": "8701:119:8", + "src": "8701:119:7", "trueBody": { - "id": 1808, + "id": 1733, "nodeType": "Block", - "src": "8714:42:8", + "src": "8714:42:7", "statements": [ { "expression": { - "id": 1806, + "id": 1731, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1798, - "src": "8735:10:8", + "referencedDeclaration": 1723, + "src": "8735:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1804, - "id": 1807, + "functionReturnParameters": 1729, + "id": 1732, "nodeType": "Return", - "src": "8728:17:8" + "src": "8728:17:7" } ] } @@ -8242,31 +8242,31 @@ ] }, "documentation": { - "id": 1794, + "id": 1719, "nodeType": "StructuredDocumentation", - "src": "8316:210:8", + "src": "8316:210:7", "text": " @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n revert reason or using the provided one.\n _Available since v4.3._" }, - "id": 1817, + "id": 1742, "implemented": true, "kind": "function", "modifiers": [], "name": "verifyCallResult", - "nameLocation": "8540:16:8", + "nameLocation": "8540:16:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1801, + "id": 1726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1796, + "id": 1721, "mutability": "mutable", "name": "success", - "nameLocation": "8571:7:8", + "nameLocation": "8571:7:7", "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "8566:12:8", + "scope": 1742, + "src": "8566:12:7", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8274,10 +8274,10 @@ "typeString": "bool" }, "typeName": { - "id": 1795, + "id": 1720, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "8566:4:8", + "src": "8566:4:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8287,13 +8287,13 @@ }, { "constant": false, - "id": 1798, + "id": 1723, "mutability": "mutable", "name": "returndata", - "nameLocation": "8601:10:8", + "nameLocation": "8601:10:7", "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "8588:23:8", + "scope": 1742, + "src": "8588:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8301,10 +8301,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1797, + "id": 1722, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8588:5:8", + "src": "8588:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8314,13 +8314,13 @@ }, { "constant": false, - "id": 1800, + "id": 1725, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "8635:12:8", + "nameLocation": "8635:12:7", "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "8621:26:8", + "scope": 1742, + "src": "8621:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8328,10 +8328,10 @@ "typeString": "string" }, "typeName": { - "id": 1799, + "id": 1724, "name": "string", "nodeType": "ElementaryTypeName", - "src": "8621:6:8", + "src": "8621:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8340,21 +8340,21 @@ "visibility": "internal" } ], - "src": "8556:97:8" + "src": "8556:97:7" }, "returnParameters": { - "id": 1804, + "id": 1729, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1803, + "id": 1728, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1817, - "src": "8677:12:8", + "scope": 1742, + "src": "8677:12:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8362,10 +8362,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1802, + "id": 1727, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8677:5:8", + "src": "8677:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8374,19 +8374,19 @@ "visibility": "internal" } ], - "src": "8676:14:8" + "src": "8676:14:7" }, - "scope": 1838, - "src": "8531:295:8", + "scope": 1763, + "src": "8531:295:7", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1836, + "id": 1761, "nodeType": "Block", - "src": "8915:457:8", + "src": "8915:457:7", "statements": [ { "condition": { @@ -8394,33 +8394,33 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1827, + "id": 1752, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1824, + "id": 1749, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1819, - "src": "8991:10:8", + "referencedDeclaration": 1744, + "src": "8991:10:7", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1825, + "id": 1750, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "9002:6:8", + "memberLocation": "9002:6:7", "memberName": "length", "nodeType": "MemberAccess", - "src": "8991:17:8", + "src": "8991:17:7", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8430,41 +8430,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1826, + "id": 1751, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9011:1:8", + "src": "9011:1:7", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "8991:21:8", + "src": "8991:21:7", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1834, + "id": 1759, "nodeType": "Block", - "src": "9321:45:8", + "src": "9321:45:7", "statements": [ { "expression": { "arguments": [ { - "id": 1831, + "id": 1756, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1821, - "src": "9342:12:8", + "referencedDeclaration": 1746, + "src": "9342:12:7", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8478,7 +8478,7 @@ "typeString": "string memory" } ], - "id": 1830, + "id": 1755, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8486,13 +8486,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "9335:6:8", + "src": "9335:6:7", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1832, + "id": 1757, "isConstant": false, "isLValue": false, "isPure": false, @@ -8501,56 +8501,56 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "9335:20:8", + "src": "9335:20:7", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1833, + "id": 1758, "nodeType": "ExpressionStatement", - "src": "9335:20:8" + "src": "9335:20:7" } ] }, - "id": 1835, + "id": 1760, "nodeType": "IfStatement", - "src": "8987:379:8", + "src": "8987:379:7", "trueBody": { - "id": 1829, + "id": 1754, "nodeType": "Block", - "src": "9014:301:8", + "src": "9014:301:7", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "9172:133:8", + "src": "9172:133:7", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "9190:40:8", + "src": "9190:40:7", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "9219:10:8" + "src": "9219:10:7" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "9213:5:8" + "src": "9213:5:7" }, "nodeType": "YulFunctionCall", - "src": "9213:17:8" + "src": "9213:17:7" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "9194:15:8", + "src": "9194:15:7", "type": "" } ] @@ -8563,40 +8563,40 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "9258:2:8", + "src": "9258:2:7", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "9262:10:8" + "src": "9262:10:7" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "9254:3:8" + "src": "9254:3:7" }, "nodeType": "YulFunctionCall", - "src": "9254:19:8" + "src": "9254:19:7" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "9275:15:8" + "src": "9275:15:7" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "9247:6:8" + "src": "9247:6:7" }, "nodeType": "YulFunctionCall", - "src": "9247:44:8" + "src": "9247:44:7" }, "nodeType": "YulExpressionStatement", - "src": "9247:44:8" + "src": "9247:44:7" } ] }, @@ -8604,49 +8604,49 @@ "evmVersion": "paris", "externalReferences": [ { - "declaration": 1819, + "declaration": 1744, "isOffset": false, "isSlot": false, - "src": "9219:10:8", + "src": "9219:10:7", "valueSize": 1 }, { - "declaration": 1819, + "declaration": 1744, "isOffset": false, "isSlot": false, - "src": "9262:10:8", + "src": "9262:10:7", "valueSize": 1 } ], - "id": 1828, + "id": 1753, "nodeType": "InlineAssembly", - "src": "9163:142:8" + "src": "9163:142:7" } ] } } ] }, - "id": 1837, + "id": 1762, "implemented": true, "kind": "function", "modifiers": [], "name": "_revert", - "nameLocation": "8841:7:8", + "nameLocation": "8841:7:7", "nodeType": "FunctionDefinition", "parameters": { - "id": 1822, + "id": 1747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1819, + "id": 1744, "mutability": "mutable", "name": "returndata", - "nameLocation": "8862:10:8", + "nameLocation": "8862:10:7", "nodeType": "VariableDeclaration", - "scope": 1837, - "src": "8849:23:8", + "scope": 1762, + "src": "8849:23:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8654,10 +8654,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1818, + "id": 1743, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8849:5:8", + "src": "8849:5:7", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8667,13 +8667,13 @@ }, { "constant": false, - "id": 1821, + "id": 1746, "mutability": "mutable", "name": "errorMessage", - "nameLocation": "8888:12:8", + "nameLocation": "8888:12:7", "nodeType": "VariableDeclaration", - "scope": 1837, - "src": "8874:26:8", + "scope": 1762, + "src": "8874:26:7", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8681,10 +8681,10 @@ "typeString": "string" }, "typeName": { - "id": 1820, + "id": 1745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "8874:6:8", + "src": "8874:6:7", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8693,27 +8693,27 @@ "visibility": "internal" } ], - "src": "8848:53:8" + "src": "8848:53:7" }, "returnParameters": { - "id": 1823, + "id": 1748, "nodeType": "ParameterList", "parameters": [], - "src": "8915:0:8" + "src": "8915:0:7" }, - "scope": 1838, - "src": "8832:540:8", + "scope": 1763, + "src": "8832:540:7", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 1839, - "src": "194:9180:8", + "scope": 1764, + "src": "194:9180:7", "usedErrors": [] } ], - "src": "101:9274:8" + "src": "101:9274:7" }, "compiler": { "name": "solc", @@ -8721,5 +8721,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2024-06-27T12:24:25.260Z" + "updatedAt": "2024-07-04T18:51:17.147Z" } \ No newline at end of file diff --git a/build/contracts/ContextUpgradeable.json b/build/contracts/ContextUpgradeable.json index 981c686..cbe6ba1 100644 --- a/build/contracts/ContextUpgradeable.json +++ b/build/contracts/ContextUpgradeable.json @@ -25,18 +25,18 @@ "absolutePath": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "Initializable": [ - 1380 + 1305 ] }, - "id": 1890, + "id": 1815, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 1840, + "id": 1765, "literals": [ "solidity", "^", @@ -44,26 +44,26 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "101:23:9" + "src": "101:23:8" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "file": "../proxy/utils/Initializable.sol", - "id": 1842, + "id": 1767, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1890, - "sourceUnit": 1381, - "src": "125:63:9", + "scope": 1815, + "sourceUnit": 1306, + "src": "125:63:8", "symbolAliases": [ { "foreign": { - "id": 1841, + "id": 1766, "name": "Initializable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1380, - "src": "133:13:9", + "referencedDeclaration": 1305, + "src": "133:13:8", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -76,204 +76,204 @@ "baseContracts": [ { "baseName": { - "id": 1844, + "id": 1769, "name": "Initializable", "nameLocations": [ - "727:13:9" + "727:13:8" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1380, - "src": "727:13:9" + "referencedDeclaration": 1305, + "src": "727:13:8" }, - "id": 1845, + "id": 1770, "nodeType": "InheritanceSpecifier", - "src": "727:13:9" + "src": "727:13:8" } ], "canonicalName": "ContextUpgradeable", "contractDependencies": [], "contractKind": "contract", "documentation": { - "id": 1843, + "id": 1768, "nodeType": "StructuredDocumentation", - "src": "190:496:9", + "src": "190:496:8", "text": " @dev Provides information about the current execution context, including the\n sender of the transaction and its data. While these are generally available\n via msg.sender and msg.data, they should not be accessed in such a direct\n manner, since when dealing with meta-transactions the account sending and\n paying for execution may not be the actual sender (as far as an application\n is concerned).\n This contract is only required for intermediate, library-like contracts." }, "fullyImplemented": true, - "id": 1889, + "id": 1814, "linearizedBaseContracts": [ - 1889, - 1380 + 1814, + 1305 ], "name": "ContextUpgradeable", - "nameLocation": "705:18:9", + "nameLocation": "705:18:8", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1850, + "id": 1775, "nodeType": "Block", - "src": "799:7:9", + "src": "799:7:8", "statements": [] }, - "id": 1851, + "id": 1776, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1848, + "id": 1773, "kind": "modifierInvocation", "modifierName": { - "id": 1847, + "id": 1772, "name": "onlyInitializing", "nameLocations": [ - "782:16:9" + "782:16:8" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "782:16:9" + "referencedDeclaration": 1250, + "src": "782:16:8" }, "nodeType": "ModifierInvocation", - "src": "782:16:9" + "src": "782:16:8" } ], "name": "__Context_init", - "nameLocation": "756:14:9", + "nameLocation": "756:14:8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1846, + "id": 1771, "nodeType": "ParameterList", "parameters": [], - "src": "770:2:9" + "src": "770:2:8" }, "returnParameters": { - "id": 1849, + "id": 1774, "nodeType": "ParameterList", "parameters": [], - "src": "799:0:9" + "src": "799:0:8" }, - "scope": 1889, - "src": "747:59:9", + "scope": 1814, + "src": "747:59:8", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1856, + "id": 1781, "nodeType": "Block", - "src": "874:7:9", + "src": "874:7:8", "statements": [] }, - "id": 1857, + "id": 1782, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1854, + "id": 1779, "kind": "modifierInvocation", "modifierName": { - "id": 1853, + "id": 1778, "name": "onlyInitializing", "nameLocations": [ - "857:16:9" + "857:16:8" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "857:16:9" + "referencedDeclaration": 1250, + "src": "857:16:8" }, "nodeType": "ModifierInvocation", - "src": "857:16:9" + "src": "857:16:8" } ], "name": "__Context_init_unchained", - "nameLocation": "821:24:9", + "nameLocation": "821:24:8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1777, "nodeType": "ParameterList", "parameters": [], - "src": "845:2:9" + "src": "845:2:8" }, "returnParameters": { - "id": 1855, + "id": 1780, "nodeType": "ParameterList", "parameters": [], - "src": "874:0:9" + "src": "874:0:8" }, - "scope": 1889, - "src": "812:69:9", + "scope": 1814, + "src": "812:69:8", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1790, "nodeType": "Block", - "src": "948:34:9", + "src": "948:34:8", "statements": [ { "expression": { "expression": { - "id": 1862, + "id": 1787, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "965:3:9", + "src": "965:3:8", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1863, + "id": 1788, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "969:6:9", + "memberLocation": "969:6:8", "memberName": "sender", "nodeType": "MemberAccess", - "src": "965:10:9", + "src": "965:10:8", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 1861, - "id": 1864, + "functionReturnParameters": 1786, + "id": 1789, "nodeType": "Return", - "src": "958:17:9" + "src": "958:17:8" } ] }, - "id": 1866, + "id": 1791, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", - "nameLocation": "895:10:9", + "nameLocation": "895:10:8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1858, + "id": 1783, "nodeType": "ParameterList", "parameters": [], - "src": "905:2:9" + "src": "905:2:8" }, "returnParameters": { - "id": 1861, + "id": 1786, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1860, + "id": 1785, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "939:7:9", + "scope": 1791, + "src": "939:7:8", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -281,10 +281,10 @@ "typeString": "address" }, "typeName": { - "id": 1859, + "id": 1784, "name": "address", "nodeType": "ElementaryTypeName", - "src": "939:7:9", + "src": "939:7:8", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -294,81 +294,81 @@ "visibility": "internal" } ], - "src": "938:9:9" + "src": "938:9:8" }, - "scope": 1889, - "src": "886:96:9", + "scope": 1814, + "src": "886:96:8", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1874, + "id": 1799, "nodeType": "Block", - "src": "1055:32:9", + "src": "1055:32:8", "statements": [ { "expression": { "expression": { - "id": 1871, + "id": 1796, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "1072:3:9", + "src": "1072:3:8", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1872, + "id": 1797, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1076:4:9", + "memberLocation": "1076:4:8", "memberName": "data", "nodeType": "MemberAccess", - "src": "1072:8:9", + "src": "1072:8:8", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 1870, - "id": 1873, + "functionReturnParameters": 1795, + "id": 1798, "nodeType": "Return", - "src": "1065:15:9" + "src": "1065:15:8" } ] }, - "id": 1875, + "id": 1800, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", - "nameLocation": "997:8:9", + "nameLocation": "997:8:8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1867, + "id": 1792, "nodeType": "ParameterList", "parameters": [], - "src": "1005:2:9" + "src": "1005:2:8" }, "returnParameters": { - "id": 1870, + "id": 1795, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1794, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1875, - "src": "1039:14:9", + "scope": 1800, + "src": "1039:14:8", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -376,10 +376,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1868, + "id": 1793, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1039:5:9", + "src": "1039:5:8", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -388,70 +388,70 @@ "visibility": "internal" } ], - "src": "1038:16:9" + "src": "1038:16:8" }, - "scope": 1889, - "src": "988:99:9", + "scope": 1814, + "src": "988:99:8", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1882, + "id": 1807, "nodeType": "Block", - "src": "1165:25:9", + "src": "1165:25:8", "statements": [ { "expression": { "hexValue": "30", - "id": 1880, + "id": 1805, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1182:1:9", + "src": "1182:1:8", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 1879, - "id": 1881, + "functionReturnParameters": 1804, + "id": 1806, "nodeType": "Return", - "src": "1175:8:9" + "src": "1175:8:8" } ] }, - "id": 1883, + "id": 1808, "implemented": true, "kind": "function", "modifiers": [], "name": "_contextSuffixLength", - "nameLocation": "1102:20:9", + "nameLocation": "1102:20:8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1876, + "id": 1801, "nodeType": "ParameterList", "parameters": [], - "src": "1122:2:9" + "src": "1122:2:8" }, "returnParameters": { - "id": 1879, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1878, + "id": 1803, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1883, - "src": "1156:7:9", + "scope": 1808, + "src": "1156:7:8", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -459,10 +459,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1877, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1156:7:9", + "src": "1156:7:8", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -471,10 +471,10 @@ "visibility": "internal" } ], - "src": "1155:9:9" + "src": "1155:9:8" }, - "scope": 1889, - "src": "1093:97:9", + "scope": 1814, + "src": "1093:97:8", "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -482,18 +482,18 @@ { "constant": false, "documentation": { - "id": 1884, + "id": 1809, "nodeType": "StructuredDocumentation", - "src": "1196:254:9", + "src": "1196:254:8", "text": " @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps" }, - "id": 1888, + "id": 1813, "mutability": "mutable", "name": "__gap", - "nameLocation": "1475:5:9", + "nameLocation": "1475:5:8", "nodeType": "VariableDeclaration", - "scope": 1889, - "src": "1455:25:9", + "scope": 1814, + "src": "1455:25:8", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -502,26 +502,26 @@ }, "typeName": { "baseType": { - "id": 1885, + "id": 1810, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1455:7:9", + "src": "1455:7:8", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1887, + "id": 1812, "length": { "hexValue": "3530", - "id": 1886, + "id": 1811, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1463:2:9", + "src": "1463:2:8", "typeDescriptions": { "typeIdentifier": "t_rational_50_by_1", "typeString": "int_const 50" @@ -529,7 +529,7 @@ "value": "50" }, "nodeType": "ArrayTypeName", - "src": "1455:11:9", + "src": "1455:11:8", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$50_storage_ptr", "typeString": "uint256[50]" @@ -538,29 +538,29 @@ "visibility": "private" } ], - "scope": 1890, - "src": "687:796:9", + "scope": 1815, + "src": "687:796:8", "usedErrors": [] } ], - "src": "101:1383:9" + "src": "101:1383:8" }, "legacyAST": { "absolutePath": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "Initializable": [ - 1380 + 1305 ] }, - "id": 1890, + "id": 1815, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 1840, + "id": 1765, "literals": [ "solidity", "^", @@ -568,26 +568,26 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "101:23:9" + "src": "101:23:8" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "file": "../proxy/utils/Initializable.sol", - "id": 1842, + "id": 1767, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1890, - "sourceUnit": 1381, - "src": "125:63:9", + "scope": 1815, + "sourceUnit": 1306, + "src": "125:63:8", "symbolAliases": [ { "foreign": { - "id": 1841, + "id": 1766, "name": "Initializable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1380, - "src": "133:13:9", + "referencedDeclaration": 1305, + "src": "133:13:8", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -600,204 +600,204 @@ "baseContracts": [ { "baseName": { - "id": 1844, + "id": 1769, "name": "Initializable", "nameLocations": [ - "727:13:9" + "727:13:8" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1380, - "src": "727:13:9" + "referencedDeclaration": 1305, + "src": "727:13:8" }, - "id": 1845, + "id": 1770, "nodeType": "InheritanceSpecifier", - "src": "727:13:9" + "src": "727:13:8" } ], "canonicalName": "ContextUpgradeable", "contractDependencies": [], "contractKind": "contract", "documentation": { - "id": 1843, + "id": 1768, "nodeType": "StructuredDocumentation", - "src": "190:496:9", + "src": "190:496:8", "text": " @dev Provides information about the current execution context, including the\n sender of the transaction and its data. While these are generally available\n via msg.sender and msg.data, they should not be accessed in such a direct\n manner, since when dealing with meta-transactions the account sending and\n paying for execution may not be the actual sender (as far as an application\n is concerned).\n This contract is only required for intermediate, library-like contracts." }, "fullyImplemented": true, - "id": 1889, + "id": 1814, "linearizedBaseContracts": [ - 1889, - 1380 + 1814, + 1305 ], "name": "ContextUpgradeable", - "nameLocation": "705:18:9", + "nameLocation": "705:18:8", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1850, + "id": 1775, "nodeType": "Block", - "src": "799:7:9", + "src": "799:7:8", "statements": [] }, - "id": 1851, + "id": 1776, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1848, + "id": 1773, "kind": "modifierInvocation", "modifierName": { - "id": 1847, + "id": 1772, "name": "onlyInitializing", "nameLocations": [ - "782:16:9" + "782:16:8" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "782:16:9" + "referencedDeclaration": 1250, + "src": "782:16:8" }, "nodeType": "ModifierInvocation", - "src": "782:16:9" + "src": "782:16:8" } ], "name": "__Context_init", - "nameLocation": "756:14:9", + "nameLocation": "756:14:8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1846, + "id": 1771, "nodeType": "ParameterList", "parameters": [], - "src": "770:2:9" + "src": "770:2:8" }, "returnParameters": { - "id": 1849, + "id": 1774, "nodeType": "ParameterList", "parameters": [], - "src": "799:0:9" + "src": "799:0:8" }, - "scope": 1889, - "src": "747:59:9", + "scope": 1814, + "src": "747:59:8", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1856, + "id": 1781, "nodeType": "Block", - "src": "874:7:9", + "src": "874:7:8", "statements": [] }, - "id": 1857, + "id": 1782, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1854, + "id": 1779, "kind": "modifierInvocation", "modifierName": { - "id": 1853, + "id": 1778, "name": "onlyInitializing", "nameLocations": [ - "857:16:9" + "857:16:8" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "857:16:9" + "referencedDeclaration": 1250, + "src": "857:16:8" }, "nodeType": "ModifierInvocation", - "src": "857:16:9" + "src": "857:16:8" } ], "name": "__Context_init_unchained", - "nameLocation": "821:24:9", + "nameLocation": "821:24:8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1777, "nodeType": "ParameterList", "parameters": [], - "src": "845:2:9" + "src": "845:2:8" }, "returnParameters": { - "id": 1855, + "id": 1780, "nodeType": "ParameterList", "parameters": [], - "src": "874:0:9" + "src": "874:0:8" }, - "scope": 1889, - "src": "812:69:9", + "scope": 1814, + "src": "812:69:8", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1790, "nodeType": "Block", - "src": "948:34:9", + "src": "948:34:8", "statements": [ { "expression": { "expression": { - "id": 1862, + "id": 1787, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "965:3:9", + "src": "965:3:8", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1863, + "id": 1788, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "969:6:9", + "memberLocation": "969:6:8", "memberName": "sender", "nodeType": "MemberAccess", - "src": "965:10:9", + "src": "965:10:8", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 1861, - "id": 1864, + "functionReturnParameters": 1786, + "id": 1789, "nodeType": "Return", - "src": "958:17:9" + "src": "958:17:8" } ] }, - "id": 1866, + "id": 1791, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", - "nameLocation": "895:10:9", + "nameLocation": "895:10:8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1858, + "id": 1783, "nodeType": "ParameterList", "parameters": [], - "src": "905:2:9" + "src": "905:2:8" }, "returnParameters": { - "id": 1861, + "id": 1786, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1860, + "id": 1785, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "939:7:9", + "scope": 1791, + "src": "939:7:8", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -805,10 +805,10 @@ "typeString": "address" }, "typeName": { - "id": 1859, + "id": 1784, "name": "address", "nodeType": "ElementaryTypeName", - "src": "939:7:9", + "src": "939:7:8", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -818,81 +818,81 @@ "visibility": "internal" } ], - "src": "938:9:9" + "src": "938:9:8" }, - "scope": 1889, - "src": "886:96:9", + "scope": 1814, + "src": "886:96:8", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1874, + "id": 1799, "nodeType": "Block", - "src": "1055:32:9", + "src": "1055:32:8", "statements": [ { "expression": { "expression": { - "id": 1871, + "id": 1796, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "1072:3:9", + "src": "1072:3:8", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 1872, + "id": 1797, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1076:4:9", + "memberLocation": "1076:4:8", "memberName": "data", "nodeType": "MemberAccess", - "src": "1072:8:9", + "src": "1072:8:8", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 1870, - "id": 1873, + "functionReturnParameters": 1795, + "id": 1798, "nodeType": "Return", - "src": "1065:15:9" + "src": "1065:15:8" } ] }, - "id": 1875, + "id": 1800, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", - "nameLocation": "997:8:9", + "nameLocation": "997:8:8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1867, + "id": 1792, "nodeType": "ParameterList", "parameters": [], - "src": "1005:2:9" + "src": "1005:2:8" }, "returnParameters": { - "id": 1870, + "id": 1795, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1794, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1875, - "src": "1039:14:9", + "scope": 1800, + "src": "1039:14:8", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -900,10 +900,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1868, + "id": 1793, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "1039:5:9", + "src": "1039:5:8", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -912,70 +912,70 @@ "visibility": "internal" } ], - "src": "1038:16:9" + "src": "1038:16:8" }, - "scope": 1889, - "src": "988:99:9", + "scope": 1814, + "src": "988:99:8", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1882, + "id": 1807, "nodeType": "Block", - "src": "1165:25:9", + "src": "1165:25:8", "statements": [ { "expression": { "hexValue": "30", - "id": 1880, + "id": 1805, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1182:1:9", + "src": "1182:1:8", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 1879, - "id": 1881, + "functionReturnParameters": 1804, + "id": 1806, "nodeType": "Return", - "src": "1175:8:9" + "src": "1175:8:8" } ] }, - "id": 1883, + "id": 1808, "implemented": true, "kind": "function", "modifiers": [], "name": "_contextSuffixLength", - "nameLocation": "1102:20:9", + "nameLocation": "1102:20:8", "nodeType": "FunctionDefinition", "parameters": { - "id": 1876, + "id": 1801, "nodeType": "ParameterList", "parameters": [], - "src": "1122:2:9" + "src": "1122:2:8" }, "returnParameters": { - "id": 1879, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1878, + "id": 1803, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1883, - "src": "1156:7:9", + "scope": 1808, + "src": "1156:7:8", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -983,10 +983,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1877, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1156:7:9", + "src": "1156:7:8", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -995,10 +995,10 @@ "visibility": "internal" } ], - "src": "1155:9:9" + "src": "1155:9:8" }, - "scope": 1889, - "src": "1093:97:9", + "scope": 1814, + "src": "1093:97:8", "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -1006,18 +1006,18 @@ { "constant": false, "documentation": { - "id": 1884, + "id": 1809, "nodeType": "StructuredDocumentation", - "src": "1196:254:9", + "src": "1196:254:8", "text": " @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps" }, - "id": 1888, + "id": 1813, "mutability": "mutable", "name": "__gap", - "nameLocation": "1475:5:9", + "nameLocation": "1475:5:8", "nodeType": "VariableDeclaration", - "scope": 1889, - "src": "1455:25:9", + "scope": 1814, + "src": "1455:25:8", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1026,26 +1026,26 @@ }, "typeName": { "baseType": { - "id": 1885, + "id": 1810, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1455:7:9", + "src": "1455:7:8", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1887, + "id": 1812, "length": { "hexValue": "3530", - "id": 1886, + "id": 1811, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1463:2:9", + "src": "1463:2:8", "typeDescriptions": { "typeIdentifier": "t_rational_50_by_1", "typeString": "int_const 50" @@ -1053,7 +1053,7 @@ "value": "50" }, "nodeType": "ArrayTypeName", - "src": "1455:11:9", + "src": "1455:11:8", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$50_storage_ptr", "typeString": "uint256[50]" @@ -1062,12 +1062,12 @@ "visibility": "private" } ], - "scope": 1890, - "src": "687:796:9", + "scope": 1815, + "src": "687:796:8", "usedErrors": [] } ], - "src": "101:1383:9" + "src": "101:1383:8" }, "compiler": { "name": "solc", @@ -1075,5 +1075,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2024-06-27T12:24:25.257Z" + "updatedAt": "2024-07-04T18:51:17.145Z" } \ No newline at end of file diff --git a/build/contracts/Gateway.json b/build/contracts/Gateway.json index 078fa58..4ad66ff 100644 --- a/build/contracts/Gateway.json +++ b/build/contracts/Gateway.json @@ -628,38 +628,38 @@ "type": "function" } ], - "bytecode": "0x60806040523480156200001157600080fd5b50d380156200001f57600080fd5b50d280156200002d57600080fd5b506200003e6200004460201b60201c565b620001ee565b600060019054906101000a900460ff161562000097576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200008e9062000191565b60405180910390fd5b60ff801660008054906101000a900460ff1660ff1614620001085760ff6000806101000a81548160ff021916908360ff1602179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860ff604051620000ff9190620001d1565b60405180910390a15b565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320696e69746960008201527f616c697a696e6700000000000000000000000000000000000000000000000000602082015250565b6000620001796027836200010a565b915062000186826200011b565b604082019050919050565b60006020820190508181036000830152620001ac816200016a565b9050919050565b600060ff82169050919050565b620001cb81620001b3565b82525050565b6000602082019050620001e86000830184620001c0565b92915050565b61388080620001fe6000396000f3fe608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b50600436106101305760003560e01c8063809804f7116100bc578063b810c6361161008b578063b810c6361461029b578063cd992400146102ba578063e30c3978146102d6578063f22ee704146102f4578063f2fde38b1461032457610130565b8063809804f7146102395780638129fc1c146102695780638456cb59146102735780638da5cb5b1461027d57610130565b8063715018a611610103578063715018a61461019557806371eedb881461019f57806375151b63146101cf578063768c6ec0146101ff57806379ba50971461022f57610130565b80633f4ba83a1461013557806340ebc6771461013f57806347094e2e1461015b5780635c975abb14610177575b600080fd5b61013d610340565b005b6101596004803603810190610154919061259d565b610352565b005b6101756004803603810190610170919061261d565b61061a565b005b61017f610685565b60405161018c9190612665565b60405180910390f35b61019d61069c565b005b6101b960048036038101906101b491906126b6565b6106b0565b6040516101c69190612665565b60405180910390f35b6101e960048036038101906101e491906126f6565b610b45565b6040516101f69190612665565b60405180910390f35b61021960048036038101906102149190612723565b610ba1565b6040516102269190612870565b60405180910390f35b610237610db9565b005b610253600480360381019061024e919061291d565b610e46565b60405161026091906129ee565b60405180910390f35b61027161137b565b005b61027b6114cb565b005b6102856114dd565b6040516102929190612a18565b60405180910390f35b6102a3611507565b6040516102b1929190612a51565b60405180910390f35b6102d460048036038101906102cf9190612a7a565b61152c565b005b6102de6116b1565b6040516102eb9190612a18565b60405180910390f35b61030e60048036038101906103099190612acd565b6116db565b60405161031b9190612665565b60405180910390f35b61033e600480360381019061033991906126f6565b611d3e565b005b610348611deb565b610350611e69565b565b61035a611deb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036103c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c090612b91565b60405180910390fd5b60007f747265617375727900000000000000000000000000000000000000000000000083036104cc578173ffffffffffffffffffffffffffffffffffffffff16609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047990612c23565b60405180910390fd5b81609860086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190506105ca565b7f61676772656761746f720000000000000000000000000000000000000000000083036105c9578173ffffffffffffffffffffffffffffffffffffffff16609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057a90612cb5565b60405180910390fd5b81609960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190505b5b8015610615578173ffffffffffffffffffffffffffffffffffffffff16837fbbc5b96e57cfecb3dbeeadf92e87f15e58e64fcd75cbe256dcc5d9ef2e51e8a460405160405180910390a35b505050565b610622611deb565b80609860006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f1ce29a697a4765bd17d91df93ba75b250b629ecf030553ff1f6ab59f15ae6c7b8160405161067a9190612cd5565b60405180910390a150565b600060cd60009054906101000a900460ff16905090565b6106a4611deb565b6106ae6000611ecc565b565b6000609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073990612d3c565b60405180910390fd5b60ff600083815260200190815260200160002060050160009054906101000a900460ff16156107a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079d90612da8565b60405180910390fd5b60ff600083815260200190815260200160002060050160019054906101000a900460ff161561080a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080190612e14565b60405180910390fd5b8260ff6000848152602001908152602001600020600401541015610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a90612e80565b60405180910390fd5b60ff600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b81526004016108f6929190612ea0565b6020604051808303816000875af1158015610915573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109399190612ef5565b50600160ff600084815260200190815260200160002060050160016101000a81548160ff021916908315150217905550600060ff600084815260200190815260200160002060060160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060008360ff60008581526020019081526020016000206004015460ff6000868152602001908152602001600020600701546109ea9190612f51565b6109f49190612f85565b905060ff600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60ff600086815260200190815260200160002060050160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660ff60008781526020019081526020016000206003015484610aa19190612f51565b6040518363ffffffff1660e01b8152600401610abe929190612ea0565b6020604051808303816000875af1158015610add573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b019190612ef5565b50827f0736fe428e1747ca8d387c2e6fa1a31a0cde62d3a167c40a46ade59a3cdc828e85604051610b329190612fb9565b60405180910390a2600191505092915050565b60006001609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403610b975760019050610b9c565b600090505b919050565b610ba9612416565b60ff6000838152602001908152602001600020604051806101400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152602001600482015481526020016005820160009054906101000a900460ff161515151581526020016005820160019054906101000a900460ff161515151581526020016005820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016006820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016007820154815250509050919050565b6000610dc3611efd565b90508073ffffffffffffffffffffffffffffffffffffffff16610de46116b1565b73ffffffffffffffffffffffffffffffffffffffff1614610e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3190613046565b60405180910390fd5b610e4381611ecc565b50565b6000610e50611f05565b610e5d8989868989611f4f565b60008383905003610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a906130b2565b60405180910390fd5b8873ffffffffffffffffffffffffffffffffffffffff166323b872dd3330888c610ecd9190612f51565b6040518463ffffffff1660e01b8152600401610eeb939291906130d2565b6020604051808303816000875af1158015610f0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2e9190612ef5565b5061010060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f8090613109565b91905055503361010060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051602001610fd8929190612ea0565b6040516020818303038152906040528051906020012090506000609754609860009054906101000a900467ffffffffffffffff1667ffffffffffffffff168a6110219190613151565b61102b91906131c2565b90506040518061014001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018b73ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018281526020016000151581526020016000151581526020018673ffffffffffffffffffffffffffffffffffffffff16815260200160975467ffffffffffffffff166bffffffffffffffffffffffff1681526020018a81525060ff600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301556080820151816004015560a08201518160050160006101000a81548160ff02191690831515021790555060c08201518160050160016101000a81548160ff02191690831515021790555060e08201518160050160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101008201518160060160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550610120820151816007015590505060ff6000838152602001908152602001600020600701548a73ffffffffffffffffffffffffffffffffffffffff1660ff600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f40ccd1ceb111a3c186ef9911e1b876dc1f789ed331b86097b3b8851055b6a13784868d8a8a60405161136695949392919061327b565b60405180910390a45098975050505050505050565b60008060019054906101000a900460ff161590508080156113ac5750600160008054906101000a900460ff1660ff16105b806113d957506113bb30612102565b1580156113d85750600160008054906101000a900460ff1660ff16145b5b611418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140f9061333b565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611455576001600060016101000a81548160ff0219169083151502179055505b620186a0609781905550611467612125565b61146f61217e565b80156114c85760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516114bf91906133a3565b60405180910390a15b50565b6114d3611deb565b6114db6121d7565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080609860009054906101000a900467ffffffffffffffff16609754915091509091565b611534611deb565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a90612b91565b60405180910390fd5b60018114806115b25750600281145b6115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e89061340a565b60405180910390fd5b7f746f6b656e00000000000000000000000000000000000000000000000000000083036116ac5780609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16837fcfa976492af7c14a916cc3a239f4c9c75bbd7f5f0e398beb41d892c7eeccae4c836040516116a39190612fb9565b60405180910390a35b505050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176490612d3c565b60405180910390fd5b60ff600085815260200190815260200160002060050160009054906101000a900460ff16156117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890612da8565b60405180910390fd5b60ff600085815260200190815260200160002060050160019054906101000a900460ff1615611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90612e14565b60405180910390fd5b600060ff600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508267ffffffffffffffff1660ff600087815260200190815260200160002060060160008282829054906101000a90046bffffffffffffffffffffffff166118b7919061342a565b92506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550600060ff600087815260200190815260200160002060060160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1603611b0957600160ff600087815260200190815260200160002060050160006101000a81548160ff021916908315150217905550600060ff60008781526020019081526020016000206003015414611b085760ff600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60ff600088815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660ff6000898152602001908152602001600020600301546040518363ffffffff1660e01b8152600401611a33929190612ea0565b6020604051808303816000875af1158015611a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a769190612ef5565b5060ff60008681526020019081526020016000206003015460ff600087815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f44f6938ca4a10313aabb76f874cced61e35710a734a126e4afb34461bf8c250160405160405180910390a35b5b60006097548467ffffffffffffffff1660ff600089815260200190815260200160002060070154611b3a9190613151565b611b4491906131c2565b90508060ff60008881526020019081526020016000206007016000828254611b6c9190612f85565b925050819055506000609754609860009054906101000a900467ffffffffffffffff1667ffffffffffffffff1683611ba49190613151565b611bae91906131c2565b90508082611bbc9190612f85565b91508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401611c1b929190612ea0565b6020604051808303816000875af1158015611c3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5e9190612ef5565b508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87846040518363ffffffff1660e01b8152600401611c9a929190612ea0565b6020604051808303816000875af1158015611cb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cdd9190612ef5565b508573ffffffffffffffffffffffffffffffffffffffff16877f98ece21e01a01cbe1d1c0dad3b053c8fbd368f99be78be958fcf1d1d13fd249a8a88604051611d2792919061349b565b60405180910390a360019350505050949350505050565b611d46611deb565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16611da66114dd565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b611df3611efd565b73ffffffffffffffffffffffffffffffffffffffff16611e116114dd565b73ffffffffffffffffffffffffffffffffffffffff1614611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e90613510565b60405180910390fd5b565b611e7161223a565b600060cd60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611eb5611efd565b604051611ec29190612a18565b60405180910390a1565b606560006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055611efa81612283565b50565b600033905090565b611f0d610685565b15611f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f449061357c565b60405180910390fd5b565b6001609a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc8906135e8565b60405180910390fd5b60008403612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b90613654565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207a906136c0565b60405180910390fd5b600081146120fb57600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f19061372c565b60405180910390fd5b5b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216b906137be565b60405180910390fd5b61217c612349565b565b600060019054906101000a900460ff166121cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c4906137be565b60405180910390fd5b6121d56123aa565b565b6121df611f05565b600160cd60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612223611efd565b6040516122309190612a18565b60405180910390a1565b612242610685565b612281576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122789061382a565b60405180910390fd5b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff16612398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238f906137be565b60405180910390fd5b6123a86123a3611efd565b611ecc565b565b600060019054906101000a900460ff166123f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f0906137be565b60405180910390fd5b600060cd60006101000a81548160ff021916908315150217905550565b604051806101400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600015158152602001600015158152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600081525090565b600080fd5b600080fd5b6000819050919050565b6124f0816124dd565b81146124fb57600080fd5b50565b60008135905061250d816124e7565b92915050565b600074ffffffffffffffffffffffffffffffffffffffffff82169050919050565b61253d81612513565b811461254857600080fd5b50565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125768261254b565b9050919050565b60008135905061258c81612534565b6125958161256b565b905092915050565b600080604083850312156125b4576125b36124d3565b5b60006125c2858286016124fe565b92505060206125d38582860161257d565b9150509250929050565b600067ffffffffffffffff82169050919050565b6125fa816125dd565b811461260557600080fd5b50565b600081359050612617816125f1565b92915050565b600060208284031215612633576126326124d3565b5b600061264184828501612608565b91505092915050565b60008115159050919050565b61265f8161264a565b82525050565b600060208201905061267a6000830184612656565b92915050565b6000819050919050565b61269381612680565b811461269e57600080fd5b50565b6000813590506126b08161268a565b92915050565b600080604083850312156126cd576126cc6124d3565b5b60006126db858286016126a1565b92505060206126ec858286016124fe565b9150509250929050565b60006020828403121561270c5761270b6124d3565b5b600061271a8482850161257d565b91505092915050565b600060208284031215612739576127386124d3565b5b6000612747848285016124fe565b91505092915050565b6127598161256b565b82525050565b61276881612680565b82525050565b6127778161264a565b82525050565b60006bffffffffffffffffffffffff82169050919050565b61279e8161277d565b82525050565b610140820160008201516127bb6000850182612750565b5060208201516127ce6020850182612750565b5060408201516127e16040850182612750565b5060608201516127f4606085018261275f565b506080820151612807608085018261275f565b5060a082015161281a60a085018261276e565b5060c082015161282d60c085018261276e565b5060e082015161284060e0850182612750565b50610100820151612855610100850182612795565b5061012082015161286a61012085018261275f565b50505050565b60006101408201905061288660008301846127a4565b92915050565b6128958161277d565b81146128a057600080fd5b50565b6000813590506128b28161288c565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126128dd576128dc6128b8565b5b8235905067ffffffffffffffff8111156128fa576128f96128bd565b5b602083019150836001820283011115612916576129156128c2565b5b9250929050565b60008060008060008060008060e0898b03121561293d5761293c6124d3565b5b600061294b8b828c0161257d565b985050602061295c8b828c016126a1565b975050604061296d8b828c016128a3565b965050606061297e8b828c0161257d565b955050608061298f8b828c016126a1565b94505060a06129a08b828c0161257d565b93505060c089013567ffffffffffffffff8111156129c1576129c06124d8565b5b6129cd8b828c016128c7565b92509250509295985092959890939650565b6129e8816124dd565b82525050565b6000602082019050612a0360008301846129df565b92915050565b612a128161256b565b82525050565b6000602082019050612a2d6000830184612a09565b92915050565b612a3c816125dd565b82525050565b612a4b81612680565b82525050565b6000604082019050612a666000830185612a33565b612a736020830184612a42565b9392505050565b600080600060608486031215612a9357612a926124d3565b5b6000612aa1868287016124fe565b9350506020612ab28682870161257d565b9250506040612ac3868287016126a1565b9150509250925092565b60008060008060808587031215612ae757612ae66124d3565b5b6000612af5878288016124fe565b9450506020612b06878288016124fe565b9350506040612b178782880161257d565b9250506060612b2887828801612608565b91505092959194509250565b600082825260208201905092915050565b7f476174657761793a207a65726f20616464726573730000000000000000000000600082015250565b6000612b7b601583612b34565b9150612b8682612b45565b602082019050919050565b60006020820190508181036000830152612baa81612b6e565b9050919050565b7f476174657761793a207472656173757279206164647265737320616c7265616460008201527f7920736574000000000000000000000000000000000000000000000000000000602082015250565b6000612c0d602583612b34565b9150612c1882612bb1565b604082019050919050565b60006020820190508181036000830152612c3c81612c00565b9050919050565b7f476174657761793a2061676772656761746f72206164647265737320616c726560008201527f6164792073657400000000000000000000000000000000000000000000000000602082015250565b6000612c9f602783612b34565b9150612caa82612c43565b604082019050919050565b60006020820190508181036000830152612cce81612c92565b9050919050565b6000602082019050612cea6000830184612a33565b92915050565b7f4f6e6c7941676772656761746f72000000000000000000000000000000000000600082015250565b6000612d26600e83612b34565b9150612d3182612cf0565b602082019050919050565b60006020820190508181036000830152612d5581612d19565b9050919050565b7f4f7264657246756c66696c6c6564000000000000000000000000000000000000600082015250565b6000612d92600e83612b34565b9150612d9d82612d5c565b602082019050919050565b60006020820190508181036000830152612dc181612d85565b9050919050565b7f4f72646572526566756e64656400000000000000000000000000000000000000600082015250565b6000612dfe600d83612b34565b9150612e0982612dc8565b602082019050919050565b60006020820190508181036000830152612e2d81612df1565b9050919050565b7f4665654578636565647350726f746f636f6c4665650000000000000000000000600082015250565b6000612e6a601583612b34565b9150612e7582612e34565b602082019050919050565b60006020820190508181036000830152612e9981612e5d565b9050919050565b6000604082019050612eb56000830185612a09565b612ec26020830184612a42565b9392505050565b612ed28161264a565b8114612edd57600080fd5b50565b600081519050612eef81612ec9565b92915050565b600060208284031215612f0b57612f0a6124d3565b5b6000612f1984828501612ee0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612f5c82612680565b9150612f6783612680565b9250828201905080821115612f7f57612f7e612f22565b5b92915050565b6000612f9082612680565b9150612f9b83612680565b9250828203905081811115612fb357612fb2612f22565b5b92915050565b6000602082019050612fce6000830184612a42565b92915050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613030602983612b34565b915061303b82612fd4565b604082019050919050565b6000602082019050818103600083015261305f81613023565b9050919050565b7f496e76616c69644d657373616765486173680000000000000000000000000000600082015250565b600061309c601283612b34565b91506130a782613066565b602082019050919050565b600060208201905081810360008301526130cb8161308f565b9050919050565b60006060820190506130e76000830186612a09565b6130f46020830185612a09565b6131016040830184612a42565b949350505050565b600061311482612680565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361314657613145612f22565b5b600182019050919050565b600061315c82612680565b915061316783612680565b925082820261317581612680565b9150828204841483151761318c5761318b612f22565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006131cd82612680565b91506131d883612680565b9250826131e8576131e7613193565b5b828204905092915050565b6000819050919050565b600061321861321361320e8461277d565b6131f3565b612680565b9050919050565b613228816131fd565b82525050565b82818337600083830152505050565b6000601f19601f8301169050919050565b600061325a8385612b34565b935061326783858461322e565b6132708361323d565b840190509392505050565b60006080820190506132906000830188612a42565b61329d60208301876129df565b6132aa604083018661321f565b81810360608301526132bd81848661324e565b90509695505050505050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000613325602e83612b34565b9150613330826132c9565b604082019050919050565b6000602082019050818103600083015261335481613318565b9050919050565b6000819050919050565b600060ff82169050919050565b600061338d6133886133838461335b565b6131f3565b613365565b9050919050565b61339d81613372565b82525050565b60006020820190506133b86000830184613394565b92915050565b7f476174657761793a20696e76616c696420737461747573000000000000000000600082015250565b60006133f4601783612b34565b91506133ff826133be565b602082019050919050565b60006020820190508181036000830152613423816133e7565b9050919050565b60006134358261277d565b91506134408361277d565b925082820390506bffffffffffffffffffffffff81111561346457613463612f22565b5b92915050565b600061348561348061347b846125dd565b6131f3565b61277d565b9050919050565b6134958161346a565b82525050565b60006040820190506134b060008301856129df565b6134bd602083018461348c565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134fa602083612b34565b9150613505826134c4565b602082019050919050565b60006020820190508181036000830152613529816134ed565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613566601083612b34565b915061357182613530565b602082019050919050565b6000602082019050818103600083015261359581613559565b9050919050565b7f546f6b656e4e6f74537570706f72746564000000000000000000000000000000600082015250565b60006135d2601183612b34565b91506135dd8261359c565b602082019050919050565b60006020820190508181036000830152613601816135c5565b9050919050565b7f416d6f756e7449735a65726f0000000000000000000000000000000000000000600082015250565b600061363e600c83612b34565b915061364982613608565b602082019050919050565b6000602082019050818103600083015261366d81613631565b9050919050565b7f5468726f775a65726f4164647265737300000000000000000000000000000000600082015250565b60006136aa601083612b34565b91506136b582613674565b602082019050919050565b600060208201905081810360008301526136d98161369d565b9050919050565b7f496e76616c696453656e646572466565526563697069656e7400000000000000600082015250565b6000613716601983612b34565b9150613721826136e0565b602082019050919050565b6000602082019050818103600083015261374581613709565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b60006137a8602b83612b34565b91506137b38261374c565b604082019050919050565b600060208201905081810360008301526137d78161379b565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613814601483612b34565b915061381f826137de565b602082019050919050565b6000602082019050818103600083015261384381613807565b905091905056fea26474726f6e58221220081a009ba3e4ca96d8446d5f355740cbb5a0eb734de0a667fef6eb6fa696085264736f6c63430008120033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b50600436106101305760003560e01c8063809804f7116100bc578063b810c6361161008b578063b810c6361461029b578063cd992400146102ba578063e30c3978146102d6578063f22ee704146102f4578063f2fde38b1461032457610130565b8063809804f7146102395780638129fc1c146102695780638456cb59146102735780638da5cb5b1461027d57610130565b8063715018a611610103578063715018a61461019557806371eedb881461019f57806375151b63146101cf578063768c6ec0146101ff57806379ba50971461022f57610130565b80633f4ba83a1461013557806340ebc6771461013f57806347094e2e1461015b5780635c975abb14610177575b600080fd5b61013d610340565b005b6101596004803603810190610154919061259d565b610352565b005b6101756004803603810190610170919061261d565b61061a565b005b61017f610685565b60405161018c9190612665565b60405180910390f35b61019d61069c565b005b6101b960048036038101906101b491906126b6565b6106b0565b6040516101c69190612665565b60405180910390f35b6101e960048036038101906101e491906126f6565b610b45565b6040516101f69190612665565b60405180910390f35b61021960048036038101906102149190612723565b610ba1565b6040516102269190612870565b60405180910390f35b610237610db9565b005b610253600480360381019061024e919061291d565b610e46565b60405161026091906129ee565b60405180910390f35b61027161137b565b005b61027b6114cb565b005b6102856114dd565b6040516102929190612a18565b60405180910390f35b6102a3611507565b6040516102b1929190612a51565b60405180910390f35b6102d460048036038101906102cf9190612a7a565b61152c565b005b6102de6116b1565b6040516102eb9190612a18565b60405180910390f35b61030e60048036038101906103099190612acd565b6116db565b60405161031b9190612665565b60405180910390f35b61033e600480360381019061033991906126f6565b611d3e565b005b610348611deb565b610350611e69565b565b61035a611deb565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036103c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c090612b91565b60405180910390fd5b60007f747265617375727900000000000000000000000000000000000000000000000083036104cc578173ffffffffffffffffffffffffffffffffffffffff16609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047990612c23565b60405180910390fd5b81609860086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190506105ca565b7f61676772656761746f720000000000000000000000000000000000000000000083036105c9578173ffffffffffffffffffffffffffffffffffffffff16609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057a90612cb5565b60405180910390fd5b81609960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190505b5b8015610615578173ffffffffffffffffffffffffffffffffffffffff16837fbbc5b96e57cfecb3dbeeadf92e87f15e58e64fcd75cbe256dcc5d9ef2e51e8a460405160405180910390a35b505050565b610622611deb565b80609860006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f1ce29a697a4765bd17d91df93ba75b250b629ecf030553ff1f6ab59f15ae6c7b8160405161067a9190612cd5565b60405180910390a150565b600060cd60009054906101000a900460ff16905090565b6106a4611deb565b6106ae6000611ecc565b565b6000609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073990612d3c565b60405180910390fd5b60ff600083815260200190815260200160002060050160009054906101000a900460ff16156107a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079d90612da8565b60405180910390fd5b60ff600083815260200190815260200160002060050160019054906101000a900460ff161561080a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080190612e14565b60405180910390fd5b8260ff6000848152602001908152602001600020600401541015610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a90612e80565b60405180910390fd5b60ff600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b81526004016108f6929190612ea0565b6020604051808303816000875af1158015610915573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109399190612ef5565b50600160ff600084815260200190815260200160002060050160016101000a81548160ff021916908315150217905550600060ff600084815260200190815260200160002060060160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060008360ff60008581526020019081526020016000206004015460ff6000868152602001908152602001600020600701546109ea9190612f51565b6109f49190612f85565b905060ff600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60ff600086815260200190815260200160002060050160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660ff60008781526020019081526020016000206003015484610aa19190612f51565b6040518363ffffffff1660e01b8152600401610abe929190612ea0565b6020604051808303816000875af1158015610add573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b019190612ef5565b50827f0736fe428e1747ca8d387c2e6fa1a31a0cde62d3a167c40a46ade59a3cdc828e85604051610b329190612fb9565b60405180910390a2600191505092915050565b60006001609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403610b975760019050610b9c565b600090505b919050565b610ba9612416565b60ff6000838152602001908152602001600020604051806101400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152602001600482015481526020016005820160009054906101000a900460ff161515151581526020016005820160019054906101000a900460ff161515151581526020016005820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016006820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016007820154815250509050919050565b6000610dc3611efd565b90508073ffffffffffffffffffffffffffffffffffffffff16610de46116b1565b73ffffffffffffffffffffffffffffffffffffffff1614610e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3190613046565b60405180910390fd5b610e4381611ecc565b50565b6000610e50611f05565b610e5d8989868989611f4f565b60008383905003610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a906130b2565b60405180910390fd5b8873ffffffffffffffffffffffffffffffffffffffff166323b872dd3330888c610ecd9190612f51565b6040518463ffffffff1660e01b8152600401610eeb939291906130d2565b6020604051808303816000875af1158015610f0a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2e9190612ef5565b5061010060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f8090613109565b91905055503361010060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051602001610fd8929190612ea0565b6040516020818303038152906040528051906020012090506000609754609860009054906101000a900467ffffffffffffffff1667ffffffffffffffff168a6110219190613151565b61102b91906131c2565b90506040518061014001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018b73ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018281526020016000151581526020016000151581526020018673ffffffffffffffffffffffffffffffffffffffff16815260200160975467ffffffffffffffff166bffffffffffffffffffffffff1681526020018a81525060ff600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301556080820151816004015560a08201518160050160006101000a81548160ff02191690831515021790555060c08201518160050160016101000a81548160ff02191690831515021790555060e08201518160050160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101008201518160060160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550610120820151816007015590505060ff6000838152602001908152602001600020600701548a73ffffffffffffffffffffffffffffffffffffffff1660ff600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f40ccd1ceb111a3c186ef9911e1b876dc1f789ed331b86097b3b8851055b6a13784868d8a8a60405161136695949392919061327b565b60405180910390a45098975050505050505050565b60008060019054906101000a900460ff161590508080156113ac5750600160008054906101000a900460ff1660ff16105b806113d957506113bb30612102565b1580156113d85750600160008054906101000a900460ff1660ff16145b5b611418576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140f9061333b565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611455576001600060016101000a81548160ff0219169083151502179055505b620186a0609781905550611467612125565b61146f61217e565b80156114c85760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860016040516114bf91906133a3565b60405180910390a15b50565b6114d3611deb565b6114db6121d7565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080609860009054906101000a900467ffffffffffffffff16609754915091509091565b611534611deb565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036115a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a90612b91565b60405180910390fd5b60018114806115b25750600281145b6115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e89061340a565b60405180910390fd5b7f746f6b656e00000000000000000000000000000000000000000000000000000083036116ac5780609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16837fcfa976492af7c14a916cc3a239f4c9c75bbd7f5f0e398beb41d892c7eeccae4c836040516116a39190612fb9565b60405180910390a35b505050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461176d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176490612d3c565b60405180910390fd5b60ff600085815260200190815260200160002060050160009054906101000a900460ff16156117d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c890612da8565b60405180910390fd5b60ff600085815260200190815260200160002060050160019054906101000a900460ff1615611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90612e14565b60405180910390fd5b600060ff600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508267ffffffffffffffff1660ff600087815260200190815260200160002060060160008282829054906101000a90046bffffffffffffffffffffffff166118b7919061342a565b92506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550600060ff600087815260200190815260200160002060060160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1603611b0957600160ff600087815260200190815260200160002060050160006101000a81548160ff021916908315150217905550600060ff60008781526020019081526020016000206003015414611b085760ff600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60ff600088815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660ff6000898152602001908152602001600020600301546040518363ffffffff1660e01b8152600401611a33929190612ea0565b6020604051808303816000875af1158015611a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a769190612ef5565b5060ff60008681526020019081526020016000206003015460ff600087815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f44f6938ca4a10313aabb76f874cced61e35710a734a126e4afb34461bf8c250160405160405180910390a35b5b60006097548467ffffffffffffffff1660ff600089815260200190815260200160002060070154611b3a9190613151565b611b4491906131c2565b90508060ff60008881526020019081526020016000206007016000828254611b6c9190612f85565b925050819055506000609754609860009054906101000a900467ffffffffffffffff1667ffffffffffffffff1683611ba49190613151565b611bae91906131c2565b90508082611bbc9190612f85565b91508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401611c1b929190612ea0565b6020604051808303816000875af1158015611c3a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c5e9190612ef5565b508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87846040518363ffffffff1660e01b8152600401611c9a929190612ea0565b6020604051808303816000875af1158015611cb9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cdd9190612ef5565b508573ffffffffffffffffffffffffffffffffffffffff16877f98ece21e01a01cbe1d1c0dad3b053c8fbd368f99be78be958fcf1d1d13fd249a8a88604051611d2792919061349b565b60405180910390a360019350505050949350505050565b611d46611deb565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16611da66114dd565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b611df3611efd565b73ffffffffffffffffffffffffffffffffffffffff16611e116114dd565b73ffffffffffffffffffffffffffffffffffffffff1614611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e90613510565b60405180910390fd5b565b611e7161223a565b600060cd60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611eb5611efd565b604051611ec29190612a18565b60405180910390a1565b606560006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055611efa81612283565b50565b600033905090565b611f0d610685565b15611f4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f449061357c565b60405180910390fd5b565b6001609a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc8906135e8565b60405180910390fd5b60008403612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b90613654565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207a906136c0565b60405180910390fd5b600081146120fb57600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f19061372c565b60405180910390fd5b5b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216b906137be565b60405180910390fd5b61217c612349565b565b600060019054906101000a900460ff166121cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121c4906137be565b60405180910390fd5b6121d56123aa565b565b6121df611f05565b600160cd60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612223611efd565b6040516122309190612a18565b60405180910390a1565b612242610685565b612281576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122789061382a565b60405180910390fd5b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff16612398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238f906137be565b60405180910390fd5b6123a86123a3611efd565b611ecc565b565b600060019054906101000a900460ff166123f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f0906137be565b60405180910390fd5b600060cd60006101000a81548160ff021916908315150217905550565b604051806101400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600015158152602001600015158152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600081525090565b600080fd5b600080fd5b6000819050919050565b6124f0816124dd565b81146124fb57600080fd5b50565b60008135905061250d816124e7565b92915050565b600074ffffffffffffffffffffffffffffffffffffffffff82169050919050565b61253d81612513565b811461254857600080fd5b50565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125768261254b565b9050919050565b60008135905061258c81612534565b6125958161256b565b905092915050565b600080604083850312156125b4576125b36124d3565b5b60006125c2858286016124fe565b92505060206125d38582860161257d565b9150509250929050565b600067ffffffffffffffff82169050919050565b6125fa816125dd565b811461260557600080fd5b50565b600081359050612617816125f1565b92915050565b600060208284031215612633576126326124d3565b5b600061264184828501612608565b91505092915050565b60008115159050919050565b61265f8161264a565b82525050565b600060208201905061267a6000830184612656565b92915050565b6000819050919050565b61269381612680565b811461269e57600080fd5b50565b6000813590506126b08161268a565b92915050565b600080604083850312156126cd576126cc6124d3565b5b60006126db858286016126a1565b92505060206126ec858286016124fe565b9150509250929050565b60006020828403121561270c5761270b6124d3565b5b600061271a8482850161257d565b91505092915050565b600060208284031215612739576127386124d3565b5b6000612747848285016124fe565b91505092915050565b6127598161256b565b82525050565b61276881612680565b82525050565b6127778161264a565b82525050565b60006bffffffffffffffffffffffff82169050919050565b61279e8161277d565b82525050565b610140820160008201516127bb6000850182612750565b5060208201516127ce6020850182612750565b5060408201516127e16040850182612750565b5060608201516127f4606085018261275f565b506080820151612807608085018261275f565b5060a082015161281a60a085018261276e565b5060c082015161282d60c085018261276e565b5060e082015161284060e0850182612750565b50610100820151612855610100850182612795565b5061012082015161286a61012085018261275f565b50505050565b60006101408201905061288660008301846127a4565b92915050565b6128958161277d565b81146128a057600080fd5b50565b6000813590506128b28161288c565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126128dd576128dc6128b8565b5b8235905067ffffffffffffffff8111156128fa576128f96128bd565b5b602083019150836001820283011115612916576129156128c2565b5b9250929050565b60008060008060008060008060e0898b03121561293d5761293c6124d3565b5b600061294b8b828c0161257d565b985050602061295c8b828c016126a1565b975050604061296d8b828c016128a3565b965050606061297e8b828c0161257d565b955050608061298f8b828c016126a1565b94505060a06129a08b828c0161257d565b93505060c089013567ffffffffffffffff8111156129c1576129c06124d8565b5b6129cd8b828c016128c7565b92509250509295985092959890939650565b6129e8816124dd565b82525050565b6000602082019050612a0360008301846129df565b92915050565b612a128161256b565b82525050565b6000602082019050612a2d6000830184612a09565b92915050565b612a3c816125dd565b82525050565b612a4b81612680565b82525050565b6000604082019050612a666000830185612a33565b612a736020830184612a42565b9392505050565b600080600060608486031215612a9357612a926124d3565b5b6000612aa1868287016124fe565b9350506020612ab28682870161257d565b9250506040612ac3868287016126a1565b9150509250925092565b60008060008060808587031215612ae757612ae66124d3565b5b6000612af5878288016124fe565b9450506020612b06878288016124fe565b9350506040612b178782880161257d565b9250506060612b2887828801612608565b91505092959194509250565b600082825260208201905092915050565b7f476174657761793a207a65726f20616464726573730000000000000000000000600082015250565b6000612b7b601583612b34565b9150612b8682612b45565b602082019050919050565b60006020820190508181036000830152612baa81612b6e565b9050919050565b7f476174657761793a207472656173757279206164647265737320616c7265616460008201527f7920736574000000000000000000000000000000000000000000000000000000602082015250565b6000612c0d602583612b34565b9150612c1882612bb1565b604082019050919050565b60006020820190508181036000830152612c3c81612c00565b9050919050565b7f476174657761793a2061676772656761746f72206164647265737320616c726560008201527f6164792073657400000000000000000000000000000000000000000000000000602082015250565b6000612c9f602783612b34565b9150612caa82612c43565b604082019050919050565b60006020820190508181036000830152612cce81612c92565b9050919050565b6000602082019050612cea6000830184612a33565b92915050565b7f4f6e6c7941676772656761746f72000000000000000000000000000000000000600082015250565b6000612d26600e83612b34565b9150612d3182612cf0565b602082019050919050565b60006020820190508181036000830152612d5581612d19565b9050919050565b7f4f7264657246756c66696c6c6564000000000000000000000000000000000000600082015250565b6000612d92600e83612b34565b9150612d9d82612d5c565b602082019050919050565b60006020820190508181036000830152612dc181612d85565b9050919050565b7f4f72646572526566756e64656400000000000000000000000000000000000000600082015250565b6000612dfe600d83612b34565b9150612e0982612dc8565b602082019050919050565b60006020820190508181036000830152612e2d81612df1565b9050919050565b7f4665654578636565647350726f746f636f6c4665650000000000000000000000600082015250565b6000612e6a601583612b34565b9150612e7582612e34565b602082019050919050565b60006020820190508181036000830152612e9981612e5d565b9050919050565b6000604082019050612eb56000830185612a09565b612ec26020830184612a42565b9392505050565b612ed28161264a565b8114612edd57600080fd5b50565b600081519050612eef81612ec9565b92915050565b600060208284031215612f0b57612f0a6124d3565b5b6000612f1984828501612ee0565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612f5c82612680565b9150612f6783612680565b9250828201905080821115612f7f57612f7e612f22565b5b92915050565b6000612f9082612680565b9150612f9b83612680565b9250828203905081811115612fb357612fb2612f22565b5b92915050565b6000602082019050612fce6000830184612a42565b92915050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613030602983612b34565b915061303b82612fd4565b604082019050919050565b6000602082019050818103600083015261305f81613023565b9050919050565b7f496e76616c69644d657373616765486173680000000000000000000000000000600082015250565b600061309c601283612b34565b91506130a782613066565b602082019050919050565b600060208201905081810360008301526130cb8161308f565b9050919050565b60006060820190506130e76000830186612a09565b6130f46020830185612a09565b6131016040830184612a42565b949350505050565b600061311482612680565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361314657613145612f22565b5b600182019050919050565b600061315c82612680565b915061316783612680565b925082820261317581612680565b9150828204841483151761318c5761318b612f22565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006131cd82612680565b91506131d883612680565b9250826131e8576131e7613193565b5b828204905092915050565b6000819050919050565b600061321861321361320e8461277d565b6131f3565b612680565b9050919050565b613228816131fd565b82525050565b82818337600083830152505050565b6000601f19601f8301169050919050565b600061325a8385612b34565b935061326783858461322e565b6132708361323d565b840190509392505050565b60006080820190506132906000830188612a42565b61329d60208301876129df565b6132aa604083018661321f565b81810360608301526132bd81848661324e565b90509695505050505050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000613325602e83612b34565b9150613330826132c9565b604082019050919050565b6000602082019050818103600083015261335481613318565b9050919050565b6000819050919050565b600060ff82169050919050565b600061338d6133886133838461335b565b6131f3565b613365565b9050919050565b61339d81613372565b82525050565b60006020820190506133b86000830184613394565b92915050565b7f476174657761793a20696e76616c696420737461747573000000000000000000600082015250565b60006133f4601783612b34565b91506133ff826133be565b602082019050919050565b60006020820190508181036000830152613423816133e7565b9050919050565b60006134358261277d565b91506134408361277d565b925082820390506bffffffffffffffffffffffff81111561346457613463612f22565b5b92915050565b600061348561348061347b846125dd565b6131f3565b61277d565b9050919050565b6134958161346a565b82525050565b60006040820190506134b060008301856129df565b6134bd602083018461348c565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134fa602083612b34565b9150613505826134c4565b602082019050919050565b60006020820190508181036000830152613529816134ed565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613566601083612b34565b915061357182613530565b602082019050919050565b6000602082019050818103600083015261359581613559565b9050919050565b7f546f6b656e4e6f74537570706f72746564000000000000000000000000000000600082015250565b60006135d2601183612b34565b91506135dd8261359c565b602082019050919050565b60006020820190508181036000830152613601816135c5565b9050919050565b7f416d6f756e7449735a65726f0000000000000000000000000000000000000000600082015250565b600061363e600c83612b34565b915061364982613608565b602082019050919050565b6000602082019050818103600083015261366d81613631565b9050919050565b7f5468726f775a65726f4164647265737300000000000000000000000000000000600082015250565b60006136aa601083612b34565b91506136b582613674565b602082019050919050565b600060208201905081810360008301526136d98161369d565b9050919050565b7f496e76616c696453656e646572466565526563697069656e7400000000000000600082015250565b6000613716601983612b34565b9150613721826136e0565b602082019050919050565b6000602082019050818103600083015261374581613709565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b60006137a8602b83612b34565b91506137b38261374c565b604082019050919050565b600060208201905081810360008301526137d78161379b565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000613814601483612b34565b915061381f826137de565b602082019050919050565b6000602082019050818103600083015261384381613807565b905091905056fea26474726f6e58221220081a009ba3e4ca96d8446d5f355740cbb5a0eb734de0a667fef6eb6fa696085264736f6c63430008120033", - "sourceMap": "390:6914:0:-:0;;;708:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;726:22;:20;;;:22;;:::i;:::-;390:6914;;5939:280:6;6007:13;;;;;;;;;;;6006:14;5998:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;6094:15;6078:31;;:12;;;;;;;;;;:31;;;6074:139;;6140:15;6125:12;;:30;;;;;;;;;;;;;;;;;;6174:28;6186:15;6174:28;;;;;;:::i;:::-;;;;;;;;6074:139;5939:280::o;7:169:14:-;91:11;125:6;120:3;113:19;165:4;160:3;156:14;141:29;;7:169;;;;:::o;182:226::-;322:34;318:1;310:6;306:14;299:58;391:9;386:2;378:6;374:15;367:34;182:226;:::o;414:366::-;556:3;577:67;641:2;636:3;577:67;:::i;:::-;570:74;;653:93;742:3;653:93;:::i;:::-;771:2;766:3;762:12;755:19;;414:366;;;:::o;786:419::-;952:4;990:2;979:9;975:18;967:26;;1039:9;1033:4;1029:20;1025:1;1014:9;1010:17;1003:47;1067:131;1193:4;1067:131;:::i;:::-;1059:139;;786:419;;;:::o;1211:86::-;1246:7;1286:4;1279:5;1275:16;1264:27;;1211:86;;;:::o;1303:112::-;1386:22;1402:5;1386:22;:::i;:::-;1381:3;1374:35;1303:112;;:::o;1421:214::-;1510:4;1548:2;1537:9;1533:18;1525:26;;1561:67;1625:1;1614:9;1610:17;1601:6;1561:67;:::i;:::-;1421:214;;;;:::o;390:6914:0:-;;;;;;;", - "deployedSourceMap": "390:6914:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1421:56;;;:::i;:::-;;2293:551:1;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1894:170;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1879:84:7;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2085:101:5;;;:::i;:::-;;5690:926:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7005:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6849:107;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2031:212:4;;;:::i;:::-;;1709:1331:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;795:114;;;:::i;:::-;;1325:52;;;:::i;:::-;;1462:85:5;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7193:109:0;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;1426:335:1;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1144:99:4;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4097:1554:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1436:178:4;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1421:56:0;1355:13:5;:11;:13::i;:::-;1463:10:0::1;:8;:10::i;:::-;1421:56::o:0;2293:551:1:-;1355:13:5;:11;:13::i;:::-;2401:1:1::1;2384:19;;:5;:19;;::::0;2376:53:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2433:12;2453:18;:4;:18:::0;2449:326:::1;;2505:5;2486:24;;:15;;;;;;;;;;;:24;;::::0;2478:74:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2575:5;2557:15;;:23;;;;;;;;;;;;;;;;;;2595:4;2585:14;;2449:326;;;2614:20;:4;:20:::0;2610:165:::1;;2671:5;2649:27;;:18;;;;;;;;;;;:27;;::::0;2641:79:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2746:5;2725:18;;:26;;;;;;;;;;;;;;;;;;2766:4;2756:14;;2610:165;2449:326;2782:7;2778:63;;;2830:5;2801:35;;2824:4;2801:35;;;;;;;;;;2778:63;2372:472;2293:551:::0;;:::o;1894:170::-;1355:13:5;:11;:13::i;:::-;1993:19:1::1;1972:18;;:40;;;;;;;;;;;;;;;;;;2021:39;2040:19;2021:39;;;;;;:::i;:::-;;;;;;;;1894:170:::0;:::o;1879:84:7:-;1926:4;1949:7;;;;;;;;;;;1942:14;;1879:84;:::o;2085:101:5:-;1355:13;:11;:13::i;:::-;2149:30:::1;2176:1;2149:18;:30::i;:::-;2085:101::o:0;5690:926:0:-;5771:4;1044:18;;;;;;;;;;;1030:32;;:10;:32;;;1022:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;5841:5:::1;:15;5847:8;5841:15;;;;;;;;;;;:27;;;;;;;;;;;;5840:28;5832:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;5900:5;:15;5906:8;5900:15;;;;;;;;;;;:26;;;;;;;;;;;;5899:27;5891:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;5987:4;5956:5;:15;5962:8;5956:15;;;;;;;;;;;:27;;;:35;;5948:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;6070:5;:15;6076:8;6070:15;;;;;;;;;;;:21;;;;;;;;;;;;6063:38;;;6102:15;;;;;;;;;;;6119:4;6063:61;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6182:4;6153:5;:15;6159:8;6153:15;;;;;;;;;;;:26;;;:33;;;;;;;;;;;;;;;;;;6219:1;6190:5;:15;6196:8;6190:15;;;;;;;;;;;:26;;;:30;;;;;;;;;;;;;;;;;;6259:20;6337:4;6307:5;:15;6313:8;6307:15;;;;;;;;;;;:27;;;6282:5;:15;6288:8;6282:15;;;;;;;;;;;:22;;;:52;;;;:::i;:::-;:59;;;;:::i;:::-;6259:82;;6418:5;:15;6424:8;6418:15;;;;;;;;;;;:21;;;;;;;;;;;;6411:38;;;6454:5;:15;6460:8;6454:15;;;;;;;;;;;:29;;;;;;;;;;;;6503:5;:15;6509:8;6503:15;;;;;;;;;;;:25;;;6488:12;:40;;;;:::i;:::-;6411:121;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6587:8;6567:29;6581:4;6567:29;;;;;;:::i;:::-;;;;;;;;6608:4;6601:11;;;5690:926:::0;;;;:::o;7005:142::-;7070:4;7113:1;7084:17;:25;7102:6;7084:25;;;;;;;;;;;;;;;;:30;7080:47;;7123:4;7116:11;;;;7080:47;7138:5;7131:12;;7005:142;;;;:::o;6849:107::-;6912:12;;:::i;:::-;6937:5;:15;6943:8;6937:15;;;;;;;;;;;6930:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6849:107;;;:::o;2031:212:4:-;2083:14;2100:12;:10;:12::i;:::-;2083:29;;2148:6;2130:24;;:14;:12;:14::i;:::-;:24;;;2122:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;2210:26;2229:6;2210:18;:26::i;:::-;2073:170;2031:212::o;1709:1331:0:-;1928:15;1503:19:7;:17;:19::i;:::-;1979:74:0::1;1988:6;1996:7;2005:14;2021:19;2042:10;1979:8;:74::i;:::-;2121:1;2098:11;;2092:25;;:30:::0;2084:61:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2205:6;2198:27;;;2226:10;2246:4;2263:10;2253:7;:20;;;;:::i;:::-;2198:76;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2329:6;:18;2336:10;2329:18;;;;;;;;;;;;;;;;:20;;;;;;;;;:::i;:::-;;;;;;2434:10;2446:6;:18;2453:10;2446:18;;;;;;;;;;;;;;;;2423:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2413:53;;;;;;2403:63;;2495:20;2551:7;;2529:18;;;;;;;;;;;2519:28;;:7;:28;;;;:::i;:::-;2518:40;;;;:::i;:::-;2495:63;;2579:283;;;;;;;;2598:10;2579:283;;;;;;2620:6;2579:283;;;;;;2651:19;2579:283;;;;;;2686:10;2579:283;;;;2714:12;2579:283;;;;2744:5;2579:283;;;;;;2766:5;2579:283;;;;;;2791:14;2579:283;;;;;;2829:7;;2579:283;;;;;;;;2850:7;2579:283;;::::0;2562:5:::1;:14;2568:7;2562:14;;;;;;;;;;;:300;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2956:5;:14;2962:7;2956:14;;;;;;;;;;;:21;;;2945:6;2902:134;;2919:5;:14;2925:7;2919:14;;;;;;;;;;;:21;;;;;;;;;;;;2902:134;;;2982:12;2999:7;3011:5;3021:11;;2902:134;;;;;;;;;;:::i;:::-;;;;;;;;1945:1095;1709:1331:::0;;;;;;;;;;:::o;795:114::-;3279:19:6;3302:13;;;;;;;;;;;3301:14;3279:36;;3347:14;:34;;;;;3380:1;3365:12;;;;;;;;;;:16;;;3347:34;3346:108;;;;3388:44;3426:4;3388:29;:44::i;:::-;3387:45;:66;;;;;3452:1;3436:12;;;;;;;;;;:17;;;3387:66;3346:108;3325:201;;;;;;;;;;;;:::i;:::-;;;;;;;;;3551:1;3536:12;;:16;;;;;;;;;;;;;;;;;;3566:14;3562:65;;;3612:4;3596:13;;:20;;;;;;;;;;;;;;;;;;3562:65;852:7:0::1;842;:17;;;;863:21;:19;:21::i;:::-;888:17;:15;:17::i;:::-;3651:14:6::0;3647:99;;;3697:5;3681:13;;:21;;;;;;;;;;;;;;;;;;3721:14;3733:1;3721:14;;;;;;:::i;:::-;;;;;;;;3647:99;3269:483;795:114:0:o;1325:52::-;1355:13:5;:11;:13::i;:::-;1365:8:0::1;:6;:8::i;:::-;1325:52::o:0;1462:85:5:-;1508:7;1534:6;;;;;;;;;;;1527:13;;1462:85;:::o;7193:109:0:-;7241:6;7249:7;7270:18;;;;;;;;;;;7290:7;;7262:36;;;;7193:109;;:::o;1426:335:1:-;1355:13:5;:11;:13::i;:::-;1547:1:1::1;1530:19;;:5;:19;;::::0;1522:53:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;1597:1;1587:6;:11;:26;;;;1612:1;1602:6;:11;1587:26;1579:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;1649:15;:4;:15:::0;1645:113:::1;;1698:6;1671:17;:24;1689:5;1671:24;;;;;;;;;;;;;;;:33;;;;1739:5;1714:39;;1733:4;1714:39;1746:6;1714:39;;;;;;:::i;:::-;;;;;;;;1645:113;1426:335:::0;;;:::o;1144:99:4:-;1197:7;1223:13;;;;;;;;;;;1216:20;;1144:99;:::o;4097:1554:0:-;4249:4;1044:18;;;;;;;;;;;1030:32;;:10;:32;;;1022:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;4319:5:::1;:15;4325:8;4319:15;;;;;;;;;;;:27;;;;;;;;;;;;4318:28;4310:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;4378:5;:15;4384:8;4378:15;;;;;;;;;;;:26;;;;;;;;;;;;4377:27;4369:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;4459:13;4475:5;:15;4481:8;4475:15;;;;;;;;;;;:21;;;;;;;;;;;;4459:37;;4593:14;4563:44;;:5;:15;4569:8;4563:15;;;;;;;;;;;:26;;;:44;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4646:1;4616:5;:15;4622:8;4616:15;;;;;;;;;;;:26;;;;;;;;;;;;:31;;::::0;4612:453:::1;;4729:4;4699:5;:15;4705:8;4699:15;;;;;;;;;;;:27;;;:34;;;;;;;;;;;;;;;;;;4772:1;4743:5;:15;4749:8;4743:15;;;;;;;;;;;:25;;;:30;4739:321;;4815:5;:15;4821:8;4815:15;;;;;;;;;;;:21;;;;;;;;;;;;4808:38;;;4853:5;:15;4859:8;4853:15;;;;;;;;;;;:34;;;;;;;;;;;;4894:5;:15;4900:8;4894:15;;;;;;;;;;;:25;;;4808:117;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5023:5;:15;5029:8;5023:15;;;;;;;;;;;:25;;;4982:5;:15;4988:8;4982:15;;;;;;;;;;;:34;;;;;;;;;;;;4955:99;;;;;;;;;;;;4739:321;4612:453;5105:31;5183:7;;5165:14;5140:39;;:5;:15;5146:8;5140:15;;;;;;;;;;;:22;;;:39;;;;:::i;:::-;5139:51;;;;:::i;:::-;5105:85;;5220:23;5194:5;:15;5200:8;5194:15;;;;;;;;;;;:22;;;:49;;;;;;;:::i;:::-;;;;;;;;5248:19;5319:7;;5297:18;;;;;;;;;;;5271:44;;:23;:44;;;;:::i;:::-;5270:56;;;;:::i;:::-;5248:78;;5357:11;5330:38;;;;;:::i;:::-;;;5407:5;5400:22;;;5423:15;;;;;;;;;;;5440:11;5400:52;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5464:5;5457:22;;;5480:18;5500:23;5457:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5596:18;5558:73;;5586:8;5558:73;5571:13;5616:14;5558:73;;;;;;;:::i;:::-;;;;;;;;5643:4;5636:11;;;;;4097:1554:::0;;;;;;:::o;1436:178:4:-;1355:13:5;:11;:13::i;:::-;1541:8:4::1;1525:13;;:24;;;;;;;;;;;;;;;;;;1598:8;1564:43;;1589:7;:5;:7::i;:::-;1564:43;;;;;;;;;;;;1436:178:::0;:::o;1620:130:5:-;1694:12;:10;:12::i;:::-;1683:23;;:7;:5;:7::i;:::-;:23;;;1675:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1620:130::o;2697:117:7:-;1750:16;:14;:16::i;:::-;2765:5:::1;2755:7;;:15;;;;;;;;;;;;;;;;;;2785:22;2794:12;:10;:12::i;:::-;2785:22;;;;;;:::i;:::-;;;;;;;;2697:117::o:0;1798:153:4:-;1887:13;;1880:20;;;;;;;;;;;1910:34;1935:8;1910:24;:34::i;:::-;1798:153;:::o;886:96:9:-;939:7;965:10;958:17;;886:96;:::o;2031:106:7:-;2101:8;:6;:8::i;:::-;2100:9;2092:38;;;;;;;;;;;;:::i;:::-;;;;;;;;;2031:106::o;3433:427:0:-;3625:1;3596:17;:25;3614:6;3596:25;;;;;;;;;;;;;;;;:30;3588:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;3671:1;3660:7;:12;3652:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;3727:1;3701:28;;:14;:28;;;3693:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;3773:1;3759:10;:15;3755:102;;3820:1;3789:33;;:19;:33;;;3781:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;3755:102;3433:427;;;;;:::o;1423:320:8:-;1483:4;1735:1;1713:7;:19;;;:23;1706:30;;1423:320;;;:::o;889:100:4:-;5374:13:6;;;;;;;;;;;5366:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;956:26:4::1;:24;:26::i;:::-;889:100::o:0;1084:97:7:-;5374:13:6;;;;;;;;;;;5366:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;1147:27:7::1;:25;:27::i;:::-;1084:97::o:0;2450:115::-;1503:19;:17;:19::i;:::-;2519:4:::1;2509:7;;:14;;;;;;;;;;;;;;;;;;2538:20;2545:12;:10;:12::i;:::-;2538:20;;;;;;:::i;:::-;;;;;;;;2450:115::o:0;2209:106::-;2275:8;:6;:8::i;:::-;2267:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;2209:106::o;2687:187:5:-;2760:16;2779:6;;;;;;;;;;;2760:25;;2804:8;2795:6;;:17;;;;;;;;;;;;;;;;;;2858:8;2827:40;;2848:8;2827:40;;;;;;;;;;;;2750:124;2687:187;:::o;1125:111::-;5374:13:6;;;;;;;;;;;5366:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;1197:32:5::1;1216:12;:10;:12::i;:::-;1197:18;:32::i;:::-;1125:111::o:0;1187:95:7:-;5374:13:6;;;;;;;;;;;5366:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;1270:5:7::1;1260:7;;:15;;;;;;;;;;;;;;;;;;1187:95::o:0;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;88:117:14:-;197:1;194;187:12;211:117;320:1;317;310:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:128::-;727:7;767:44;760:5;756:56;745:67;;690:128;;;:::o;824:122::-;897:24;915:5;897:24;:::i;:::-;890:5;887:35;877:63;;936:1;933;926:12;877:63;824:122;:::o;952:126::-;989:7;1029:42;1022:5;1018:54;1007:65;;952:126;;;:::o;1084:96::-;1121:7;1150:24;1168:5;1150:24;:::i;:::-;1139:35;;1084:96;;;:::o;1186:181::-;1232:5;1270:6;1257:20;1248:29;;1286:33;1313:5;1286:33;:::i;:::-;1337:24;1355:5;1337:24;:::i;:::-;1328:33;;1186:181;;;;:::o;1373:474::-;1441:6;1449;1498:2;1486:9;1477:7;1473:23;1469:32;1466:119;;;1504:79;;:::i;:::-;1466:119;1624:1;1649:53;1694:7;1685:6;1674:9;1670:22;1649:53;:::i;:::-;1639:63;;1595:117;1751:2;1777:53;1822:7;1813:6;1802:9;1798:22;1777:53;:::i;:::-;1767:63;;1722:118;1373:474;;;;;:::o;1853:101::-;1889:7;1929:18;1922:5;1918:30;1907:41;;1853:101;;;:::o;1960:120::-;2032:23;2049:5;2032:23;:::i;:::-;2025:5;2022:34;2012:62;;2070:1;2067;2060:12;2012:62;1960:120;:::o;2086:137::-;2131:5;2169:6;2156:20;2147:29;;2185:32;2211:5;2185:32;:::i;:::-;2086:137;;;;:::o;2229:327::-;2287:6;2336:2;2324:9;2315:7;2311:23;2307:32;2304:119;;;2342:79;;:::i;:::-;2304:119;2462:1;2487:52;2531:7;2522:6;2511:9;2507:22;2487:52;:::i;:::-;2477:62;;2433:116;2229:327;;;;:::o;2562:90::-;2596:7;2639:5;2632:13;2625:21;2614:32;;2562:90;;;:::o;2658:109::-;2739:21;2754:5;2739:21;:::i;:::-;2734:3;2727:34;2658:109;;:::o;2773:210::-;2860:4;2898:2;2887:9;2883:18;2875:26;;2911:65;2973:1;2962:9;2958:17;2949:6;2911:65;:::i;:::-;2773:210;;;;:::o;2989:77::-;3026:7;3055:5;3044:16;;2989:77;;;:::o;3072:122::-;3145:24;3163:5;3145:24;:::i;:::-;3138:5;3135:35;3125:63;;3184:1;3181;3174:12;3125:63;3072:122;:::o;3200:139::-;3246:5;3284:6;3271:20;3262:29;;3300:33;3327:5;3300:33;:::i;:::-;3200:139;;;;:::o;3345:474::-;3413:6;3421;3470:2;3458:9;3449:7;3445:23;3441:32;3438:119;;;3476:79;;:::i;:::-;3438:119;3596:1;3621:53;3666:7;3657:6;3646:9;3642:22;3621:53;:::i;:::-;3611:63;;3567:117;3723:2;3749:53;3794:7;3785:6;3774:9;3770:22;3749:53;:::i;:::-;3739:63;;3694:118;3345:474;;;;;:::o;3825:329::-;3884:6;3933:2;3921:9;3912:7;3908:23;3904:32;3901:119;;;3939:79;;:::i;:::-;3901:119;4059:1;4084:53;4129:7;4120:6;4109:9;4105:22;4084:53;:::i;:::-;4074:63;;4030:117;3825:329;;;;:::o;4160:::-;4219:6;4268:2;4256:9;4247:7;4243:23;4239:32;4236:119;;;4274:79;;:::i;:::-;4236:119;4394:1;4419:53;4464:7;4455:6;4444:9;4440:22;4419:53;:::i;:::-;4409:63;;4365:117;4160:329;;;;:::o;4495:108::-;4572:24;4590:5;4572:24;:::i;:::-;4567:3;4560:37;4495:108;;:::o;4609:::-;4686:24;4704:5;4686:24;:::i;:::-;4681:3;4674:37;4609:108;;:::o;4723:99::-;4794:21;4809:5;4794:21;:::i;:::-;4789:3;4782:34;4723:99;;:::o;4828:109::-;4864:7;4904:26;4897:5;4893:38;4882:49;;4828:109;;;:::o;4943:105::-;5018:23;5035:5;5018:23;:::i;:::-;5013:3;5006:36;4943:105;;:::o;5108:1948::-;5249:6;5244:3;5240:16;5340:4;5333:5;5329:16;5323:23;5359:63;5416:4;5411:3;5407:14;5393:12;5359:63;:::i;:::-;5266:166;5515:4;5508:5;5504:16;5498:23;5534:63;5591:4;5586:3;5582:14;5568:12;5534:63;:::i;:::-;5442:165;5703:4;5696:5;5692:16;5686:23;5722:63;5779:4;5774:3;5770:14;5756:12;5722:63;:::i;:::-;5617:178;5882:4;5875:5;5871:16;5865:23;5901:63;5958:4;5953:3;5949:14;5935:12;5901:63;:::i;:::-;5805:169;6063:4;6056:5;6052:16;6046:23;6082:63;6139:4;6134:3;6130:14;6116:12;6082:63;:::i;:::-;5984:171;6244:4;6237:5;6233:16;6227:23;6263:57;6314:4;6309:3;6305:14;6291:12;6263:57;:::i;:::-;6165:165;6418:4;6411:5;6407:16;6401:23;6437:57;6488:4;6483:3;6479:14;6465:12;6437:57;:::i;:::-;6340:164;6595:4;6588:5;6584:16;6578:23;6614:63;6671:4;6666:3;6662:14;6648:12;6614:63;:::i;:::-;6514:173;6775:6;6768:5;6764:18;6758:25;6796:63;6851:6;6846:3;6842:16;6828:12;6796:63;:::i;:::-;6697:172;6953:6;6946:5;6942:18;6936:25;6974:65;7031:6;7026:3;7022:16;7008:12;6974:65;:::i;:::-;6879:170;5218:1838;5108:1948;;:::o;7062:311::-;7199:4;7237:3;7226:9;7222:19;7214:27;;7251:115;7363:1;7352:9;7348:17;7339:6;7251:115;:::i;:::-;7062:311;;;;:::o;7379:120::-;7451:23;7468:5;7451:23;:::i;:::-;7444:5;7441:34;7431:62;;7489:1;7486;7479:12;7431:62;7379:120;:::o;7505:137::-;7550:5;7588:6;7575:20;7566:29;;7604:32;7630:5;7604:32;:::i;:::-;7505:137;;;;:::o;7648:117::-;7757:1;7754;7747:12;7771:117;7880:1;7877;7870:12;7894:117;8003:1;8000;7993:12;8031:553;8089:8;8099:6;8149:3;8142:4;8134:6;8130:17;8126:27;8116:122;;8157:79;;:::i;:::-;8116:122;8270:6;8257:20;8247:30;;8300:18;8292:6;8289:30;8286:117;;;8322:79;;:::i;:::-;8286:117;8436:4;8428:6;8424:17;8412:29;;8490:3;8482:4;8474:6;8470:17;8460:8;8456:32;8453:41;8450:128;;;8497:79;;:::i;:::-;8450:128;8031:553;;;;;:::o;8590:1401::-;8714:6;8722;8730;8738;8746;8754;8762;8770;8819:3;8807:9;8798:7;8794:23;8790:33;8787:120;;;8826:79;;:::i;:::-;8787:120;8946:1;8971:53;9016:7;9007:6;8996:9;8992:22;8971:53;:::i;:::-;8961:63;;8917:117;9073:2;9099:53;9144:7;9135:6;9124:9;9120:22;9099:53;:::i;:::-;9089:63;;9044:118;9201:2;9227:52;9271:7;9262:6;9251:9;9247:22;9227:52;:::i;:::-;9217:62;;9172:117;9328:2;9354:53;9399:7;9390:6;9379:9;9375:22;9354:53;:::i;:::-;9344:63;;9299:118;9456:3;9483:53;9528:7;9519:6;9508:9;9504:22;9483:53;:::i;:::-;9473:63;;9427:119;9585:3;9612:53;9657:7;9648:6;9637:9;9633:22;9612:53;:::i;:::-;9602:63;;9556:119;9742:3;9731:9;9727:19;9714:33;9774:18;9766:6;9763:30;9760:117;;;9796:79;;:::i;:::-;9760:117;9909:65;9966:7;9957:6;9946:9;9942:22;9909:65;:::i;:::-;9891:83;;;;9685:299;8590:1401;;;;;;;;;;;:::o;9997:118::-;10084:24;10102:5;10084:24;:::i;:::-;10079:3;10072:37;9997:118;;:::o;10121:222::-;10214:4;10252:2;10241:9;10237:18;10229:26;;10265:71;10333:1;10322:9;10318:17;10309:6;10265:71;:::i;:::-;10121:222;;;;:::o;10349:118::-;10436:24;10454:5;10436:24;:::i;:::-;10431:3;10424:37;10349:118;;:::o;10473:222::-;10566:4;10604:2;10593:9;10589:18;10581:26;;10617:71;10685:1;10674:9;10670:17;10661:6;10617:71;:::i;:::-;10473:222;;;;:::o;10701:115::-;10786:23;10803:5;10786:23;:::i;:::-;10781:3;10774:36;10701:115;;:::o;10822:118::-;10909:24;10927:5;10909:24;:::i;:::-;10904:3;10897:37;10822:118;;:::o;10946:328::-;11065:4;11103:2;11092:9;11088:18;11080:26;;11116:69;11182:1;11171:9;11167:17;11158:6;11116:69;:::i;:::-;11195:72;11263:2;11252:9;11248:18;11239:6;11195:72;:::i;:::-;10946:328;;;;;:::o;11280:619::-;11357:6;11365;11373;11422:2;11410:9;11401:7;11397:23;11393:32;11390:119;;;11428:79;;:::i;:::-;11390:119;11548:1;11573:53;11618:7;11609:6;11598:9;11594:22;11573:53;:::i;:::-;11563:63;;11519:117;11675:2;11701:53;11746:7;11737:6;11726:9;11722:22;11701:53;:::i;:::-;11691:63;;11646:118;11803:2;11829:53;11874:7;11865:6;11854:9;11850:22;11829:53;:::i;:::-;11819:63;;11774:118;11280:619;;;;;:::o;11905:763::-;11990:6;11998;12006;12014;12063:3;12051:9;12042:7;12038:23;12034:33;12031:120;;;12070:79;;:::i;:::-;12031:120;12190:1;12215:53;12260:7;12251:6;12240:9;12236:22;12215:53;:::i;:::-;12205:63;;12161:117;12317:2;12343:53;12388:7;12379:6;12368:9;12364:22;12343:53;:::i;:::-;12333:63;;12288:118;12445:2;12471:53;12516:7;12507:6;12496:9;12492:22;12471:53;:::i;:::-;12461:63;;12416:118;12573:2;12599:52;12643:7;12634:6;12623:9;12619:22;12599:52;:::i;:::-;12589:62;;12544:117;11905:763;;;;;;;:::o;12674:169::-;12758:11;12792:6;12787:3;12780:19;12832:4;12827:3;12823:14;12808:29;;12674:169;;;;:::o;12849:171::-;12989:23;12985:1;12977:6;12973:14;12966:47;12849:171;:::o;13026:366::-;13168:3;13189:67;13253:2;13248:3;13189:67;:::i;:::-;13182:74;;13265:93;13354:3;13265:93;:::i;:::-;13383:2;13378:3;13374:12;13367:19;;13026:366;;;:::o;13398:419::-;13564:4;13602:2;13591:9;13587:18;13579:26;;13651:9;13645:4;13641:20;13637:1;13626:9;13622:17;13615:47;13679:131;13805:4;13679:131;:::i;:::-;13671:139;;13398:419;;;:::o;13823:224::-;13963:34;13959:1;13951:6;13947:14;13940:58;14032:7;14027:2;14019:6;14015:15;14008:32;13823:224;:::o;14053:366::-;14195:3;14216:67;14280:2;14275:3;14216:67;:::i;:::-;14209:74;;14292:93;14381:3;14292:93;:::i;:::-;14410:2;14405:3;14401:12;14394:19;;14053:366;;;:::o;14425:419::-;14591:4;14629:2;14618:9;14614:18;14606:26;;14678:9;14672:4;14668:20;14664:1;14653:9;14649:17;14642:47;14706:131;14832:4;14706:131;:::i;:::-;14698:139;;14425:419;;;:::o;14850:226::-;14990:34;14986:1;14978:6;14974:14;14967:58;15059:9;15054:2;15046:6;15042:15;15035:34;14850:226;:::o;15082:366::-;15224:3;15245:67;15309:2;15304:3;15245:67;:::i;:::-;15238:74;;15321:93;15410:3;15321:93;:::i;:::-;15439:2;15434:3;15430:12;15423:19;;15082:366;;;:::o;15454:419::-;15620:4;15658:2;15647:9;15643:18;15635:26;;15707:9;15701:4;15697:20;15693:1;15682:9;15678:17;15671:47;15735:131;15861:4;15735:131;:::i;:::-;15727:139;;15454:419;;;:::o;15879:218::-;15970:4;16008:2;15997:9;15993:18;15985:26;;16021:69;16087:1;16076:9;16072:17;16063:6;16021:69;:::i;:::-;15879:218;;;;:::o;16103:164::-;16243:16;16239:1;16231:6;16227:14;16220:40;16103:164;:::o;16273:366::-;16415:3;16436:67;16500:2;16495:3;16436:67;:::i;:::-;16429:74;;16512:93;16601:3;16512:93;:::i;:::-;16630:2;16625:3;16621:12;16614:19;;16273:366;;;:::o;16645:419::-;16811:4;16849:2;16838:9;16834:18;16826:26;;16898:9;16892:4;16888:20;16884:1;16873:9;16869:17;16862:47;16926:131;17052:4;16926:131;:::i;:::-;16918:139;;16645:419;;;:::o;17070:164::-;17210:16;17206:1;17198:6;17194:14;17187:40;17070:164;:::o;17240:366::-;17382:3;17403:67;17467:2;17462:3;17403:67;:::i;:::-;17396:74;;17479:93;17568:3;17479:93;:::i;:::-;17597:2;17592:3;17588:12;17581:19;;17240:366;;;:::o;17612:419::-;17778:4;17816:2;17805:9;17801:18;17793:26;;17865:9;17859:4;17855:20;17851:1;17840:9;17836:17;17829:47;17893:131;18019:4;17893:131;:::i;:::-;17885:139;;17612:419;;;:::o;18037:163::-;18177:15;18173:1;18165:6;18161:14;18154:39;18037:163;:::o;18206:366::-;18348:3;18369:67;18433:2;18428:3;18369:67;:::i;:::-;18362:74;;18445:93;18534:3;18445:93;:::i;:::-;18563:2;18558:3;18554:12;18547:19;;18206:366;;;:::o;18578:419::-;18744:4;18782:2;18771:9;18767:18;18759:26;;18831:9;18825:4;18821:20;18817:1;18806:9;18802:17;18795:47;18859:131;18985:4;18859:131;:::i;:::-;18851:139;;18578:419;;;:::o;19003:171::-;19143:23;19139:1;19131:6;19127:14;19120:47;19003:171;:::o;19180:366::-;19322:3;19343:67;19407:2;19402:3;19343:67;:::i;:::-;19336:74;;19419:93;19508:3;19419:93;:::i;:::-;19537:2;19532:3;19528:12;19521:19;;19180:366;;;:::o;19552:419::-;19718:4;19756:2;19745:9;19741:18;19733:26;;19805:9;19799:4;19795:20;19791:1;19780:9;19776:17;19769:47;19833:131;19959:4;19833:131;:::i;:::-;19825:139;;19552:419;;;:::o;19977:332::-;20098:4;20136:2;20125:9;20121:18;20113:26;;20149:71;20217:1;20206:9;20202:17;20193:6;20149:71;:::i;:::-;20230:72;20298:2;20287:9;20283:18;20274:6;20230:72;:::i;:::-;19977:332;;;;;:::o;20315:116::-;20385:21;20400:5;20385:21;:::i;:::-;20378:5;20375:32;20365:60;;20421:1;20418;20411:12;20365:60;20315:116;:::o;20437:137::-;20491:5;20522:6;20516:13;20507:22;;20538:30;20562:5;20538:30;:::i;:::-;20437:137;;;;:::o;20580:345::-;20647:6;20696:2;20684:9;20675:7;20671:23;20667:32;20664:119;;;20702:79;;:::i;:::-;20664:119;20822:1;20847:61;20900:7;20891:6;20880:9;20876:22;20847:61;:::i;:::-;20837:71;;20793:125;20580:345;;;;:::o;20931:180::-;20979:77;20976:1;20969:88;21076:4;21073:1;21066:15;21100:4;21097:1;21090:15;21117:191;21157:3;21176:20;21194:1;21176:20;:::i;:::-;21171:25;;21210:20;21228:1;21210:20;:::i;:::-;21205:25;;21253:1;21250;21246:9;21239:16;;21274:3;21271:1;21268:10;21265:36;;;21281:18;;:::i;:::-;21265:36;21117:191;;;;:::o;21314:194::-;21354:4;21374:20;21392:1;21374:20;:::i;:::-;21369:25;;21408:20;21426:1;21408:20;:::i;:::-;21403:25;;21452:1;21449;21445:9;21437:17;;21476:1;21470:4;21467:11;21464:37;;;21481:18;;:::i;:::-;21464:37;21314:194;;;;:::o;21514:222::-;21607:4;21645:2;21634:9;21630:18;21622:26;;21658:71;21726:1;21715:9;21711:17;21702:6;21658:71;:::i;:::-;21514:222;;;;:::o;21742:228::-;21882:34;21878:1;21870:6;21866:14;21859:58;21951:11;21946:2;21938:6;21934:15;21927:36;21742:228;:::o;21976:366::-;22118:3;22139:67;22203:2;22198:3;22139:67;:::i;:::-;22132:74;;22215:93;22304:3;22215:93;:::i;:::-;22333:2;22328:3;22324:12;22317:19;;21976:366;;;:::o;22348:419::-;22514:4;22552:2;22541:9;22537:18;22529:26;;22601:9;22595:4;22591:20;22587:1;22576:9;22572:17;22565:47;22629:131;22755:4;22629:131;:::i;:::-;22621:139;;22348:419;;;:::o;22773:168::-;22913:20;22909:1;22901:6;22897:14;22890:44;22773:168;:::o;22947:366::-;23089:3;23110:67;23174:2;23169:3;23110:67;:::i;:::-;23103:74;;23186:93;23275:3;23186:93;:::i;:::-;23304:2;23299:3;23295:12;23288:19;;22947:366;;;:::o;23319:419::-;23485:4;23523:2;23512:9;23508:18;23500:26;;23572:9;23566:4;23562:20;23558:1;23547:9;23543:17;23536:47;23600:131;23726:4;23600:131;:::i;:::-;23592:139;;23319:419;;;:::o;23744:442::-;23893:4;23931:2;23920:9;23916:18;23908:26;;23944:71;24012:1;24001:9;23997:17;23988:6;23944:71;:::i;:::-;24025:72;24093:2;24082:9;24078:18;24069:6;24025:72;:::i;:::-;24107;24175:2;24164:9;24160:18;24151:6;24107:72;:::i;:::-;23744:442;;;;;;:::o;24192:233::-;24231:3;24254:24;24272:5;24254:24;:::i;:::-;24245:33;;24300:66;24293:5;24290:77;24287:103;;24370:18;;:::i;:::-;24287:103;24417:1;24410:5;24406:13;24399:20;;24192:233;;;:::o;24431:410::-;24471:7;24494:20;24512:1;24494:20;:::i;:::-;24489:25;;24528:20;24546:1;24528:20;:::i;:::-;24523:25;;24583:1;24580;24576:9;24605:30;24623:11;24605:30;:::i;:::-;24594:41;;24784:1;24775:7;24771:15;24768:1;24765:22;24745:1;24738:9;24718:83;24695:139;;24814:18;;:::i;:::-;24695:139;24479:362;24431:410;;;;:::o;24847:180::-;24895:77;24892:1;24885:88;24992:4;24989:1;24982:15;25016:4;25013:1;25006:15;25033:185;25073:1;25090:20;25108:1;25090:20;:::i;:::-;25085:25;;25124:20;25142:1;25124:20;:::i;:::-;25119:25;;25163:1;25153:35;;25168:18;;:::i;:::-;25153:35;25210:1;25207;25203:9;25198:14;;25033:185;;;;:::o;25224:60::-;25252:3;25273:5;25266:12;;25224:60;;;:::o;25290:140::-;25339:9;25372:52;25390:33;25399:23;25416:5;25399:23;:::i;:::-;25390:33;:::i;:::-;25372:52;:::i;:::-;25359:65;;25290:140;;;:::o;25436:129::-;25522:36;25552:5;25522:36;:::i;:::-;25517:3;25510:49;25436:129;;:::o;25571:146::-;25668:6;25663:3;25658;25645:30;25709:1;25700:6;25695:3;25691:16;25684:27;25571:146;;;:::o;25723:102::-;25764:6;25815:2;25811:7;25806:2;25799:5;25795:14;25791:28;25781:38;;25723:102;;;:::o;25855:317::-;25953:3;25974:71;26038:6;26033:3;25974:71;:::i;:::-;25967:78;;26055:56;26104:6;26099:3;26092:5;26055:56;:::i;:::-;26136:29;26158:6;26136:29;:::i;:::-;26131:3;26127:39;26120:46;;25855:317;;;;;:::o;26178:662::-;26384:4;26422:3;26411:9;26407:19;26399:27;;26436:71;26504:1;26493:9;26489:17;26480:6;26436:71;:::i;:::-;26517:72;26585:2;26574:9;26570:18;26561:6;26517:72;:::i;:::-;26599:71;26666:2;26655:9;26651:18;26642:6;26599:71;:::i;:::-;26717:9;26711:4;26707:20;26702:2;26691:9;26687:18;26680:48;26745:88;26828:4;26819:6;26811;26745:88;:::i;:::-;26737:96;;26178:662;;;;;;;;:::o;26846:233::-;26986:34;26982:1;26974:6;26970:14;26963:58;27055:16;27050:2;27042:6;27038:15;27031:41;26846:233;:::o;27085:366::-;27227:3;27248:67;27312:2;27307:3;27248:67;:::i;:::-;27241:74;;27324:93;27413:3;27324:93;:::i;:::-;27442:2;27437:3;27433:12;27426:19;;27085:366;;;:::o;27457:419::-;27623:4;27661:2;27650:9;27646:18;27638:26;;27710:9;27704:4;27700:20;27696:1;27685:9;27681:17;27674:47;27738:131;27864:4;27738:131;:::i;:::-;27730:139;;27457:419;;;:::o;27882:85::-;27927:7;27956:5;27945:16;;27882:85;;;:::o;27973:86::-;28008:7;28048:4;28041:5;28037:16;28026:27;;27973:86;;;:::o;28065:154::-;28121:9;28154:59;28170:42;28179:32;28205:5;28179:32;:::i;:::-;28170:42;:::i;:::-;28154:59;:::i;:::-;28141:72;;28065:154;;;:::o;28225:143::-;28318:43;28355:5;28318:43;:::i;:::-;28313:3;28306:56;28225:143;;:::o;28374:234::-;28473:4;28511:2;28500:9;28496:18;28488:26;;28524:77;28598:1;28587:9;28583:17;28574:6;28524:77;:::i;:::-;28374:234;;;;:::o;28614:173::-;28754:25;28750:1;28742:6;28738:14;28731:49;28614:173;:::o;28793:366::-;28935:3;28956:67;29020:2;29015:3;28956:67;:::i;:::-;28949:74;;29032:93;29121:3;29032:93;:::i;:::-;29150:2;29145:3;29141:12;29134:19;;28793:366;;;:::o;29165:419::-;29331:4;29369:2;29358:9;29354:18;29346:26;;29418:9;29412:4;29408:20;29404:1;29393:9;29389:17;29382:47;29446:131;29572:4;29446:131;:::i;:::-;29438:139;;29165:419;;;:::o;29590:216::-;29629:4;29649:19;29666:1;29649:19;:::i;:::-;29644:24;;29682:19;29699:1;29682:19;:::i;:::-;29677:24;;29725:1;29722;29718:9;29710:17;;29749:26;29743:4;29740:36;29737:62;;;29779:18;;:::i;:::-;29737:62;29590:216;;;;:::o;29812:138::-;29860:9;29893:51;29910:33;29919:23;29936:5;29919:23;:::i;:::-;29910:33;:::i;:::-;29893:51;:::i;:::-;29880:64;;29812:138;;;:::o;29956:127::-;30041:35;30070:5;30041:35;:::i;:::-;30036:3;30029:48;29956:127;;:::o;30089:328::-;30208:4;30246:2;30235:9;30231:18;30223:26;;30259:71;30327:1;30316:9;30312:17;30303:6;30259:71;:::i;:::-;30340:70;30406:2;30395:9;30391:18;30382:6;30340:70;:::i;:::-;30089:328;;;;;:::o;30423:182::-;30563:34;30559:1;30551:6;30547:14;30540:58;30423:182;:::o;30611:366::-;30753:3;30774:67;30838:2;30833:3;30774:67;:::i;:::-;30767:74;;30850:93;30939:3;30850:93;:::i;:::-;30968:2;30963:3;30959:12;30952:19;;30611:366;;;:::o;30983:419::-;31149:4;31187:2;31176:9;31172:18;31164:26;;31236:9;31230:4;31226:20;31222:1;31211:9;31207:17;31200:47;31264:131;31390:4;31264:131;:::i;:::-;31256:139;;30983:419;;;:::o;31408:166::-;31548:18;31544:1;31536:6;31532:14;31525:42;31408:166;:::o;31580:366::-;31722:3;31743:67;31807:2;31802:3;31743:67;:::i;:::-;31736:74;;31819:93;31908:3;31819:93;:::i;:::-;31937:2;31932:3;31928:12;31921:19;;31580:366;;;:::o;31952:419::-;32118:4;32156:2;32145:9;32141:18;32133:26;;32205:9;32199:4;32195:20;32191:1;32180:9;32176:17;32169:47;32233:131;32359:4;32233:131;:::i;:::-;32225:139;;31952:419;;;:::o;32377:167::-;32517:19;32513:1;32505:6;32501:14;32494:43;32377:167;:::o;32550:366::-;32692:3;32713:67;32777:2;32772:3;32713:67;:::i;:::-;32706:74;;32789:93;32878:3;32789:93;:::i;:::-;32907:2;32902:3;32898:12;32891:19;;32550:366;;;:::o;32922:419::-;33088:4;33126:2;33115:9;33111:18;33103:26;;33175:9;33169:4;33165:20;33161:1;33150:9;33146:17;33139:47;33203:131;33329:4;33203:131;:::i;:::-;33195:139;;32922:419;;;:::o;33347:162::-;33487:14;33483:1;33475:6;33471:14;33464:38;33347:162;:::o;33515:366::-;33657:3;33678:67;33742:2;33737:3;33678:67;:::i;:::-;33671:74;;33754:93;33843:3;33754:93;:::i;:::-;33872:2;33867:3;33863:12;33856:19;;33515:366;;;:::o;33887:419::-;34053:4;34091:2;34080:9;34076:18;34068:26;;34140:9;34134:4;34130:20;34126:1;34115:9;34111:17;34104:47;34168:131;34294:4;34168:131;:::i;:::-;34160:139;;33887:419;;;:::o;34312:166::-;34452:18;34448:1;34440:6;34436:14;34429:42;34312:166;:::o;34484:366::-;34626:3;34647:67;34711:2;34706:3;34647:67;:::i;:::-;34640:74;;34723:93;34812:3;34723:93;:::i;:::-;34841:2;34836:3;34832:12;34825:19;;34484:366;;;:::o;34856:419::-;35022:4;35060:2;35049:9;35045:18;35037:26;;35109:9;35103:4;35099:20;35095:1;35084:9;35080:17;35073:47;35137:131;35263:4;35137:131;:::i;:::-;35129:139;;34856:419;;;:::o;35281:175::-;35421:27;35417:1;35409:6;35405:14;35398:51;35281:175;:::o;35462:366::-;35604:3;35625:67;35689:2;35684:3;35625:67;:::i;:::-;35618:74;;35701:93;35790:3;35701:93;:::i;:::-;35819:2;35814:3;35810:12;35803:19;;35462:366;;;:::o;35834:419::-;36000:4;36038:2;36027:9;36023:18;36015:26;;36087:9;36081:4;36077:20;36073:1;36062:9;36058:17;36051:47;36115:131;36241:4;36115:131;:::i;:::-;36107:139;;35834:419;;;:::o;36259:230::-;36399:34;36395:1;36387:6;36383:14;36376:58;36468:13;36463:2;36455:6;36451:15;36444:38;36259:230;:::o;36495:366::-;36637:3;36658:67;36722:2;36717:3;36658:67;:::i;:::-;36651:74;;36734:93;36823:3;36734:93;:::i;:::-;36852:2;36847:3;36843:12;36836:19;;36495:366;;;:::o;36867:419::-;37033:4;37071:2;37060:9;37056:18;37048:26;;37120:9;37114:4;37110:20;37106:1;37095:9;37091:17;37084:47;37148:131;37274:4;37148:131;:::i;:::-;37140:139;;36867:419;;;:::o;37292:170::-;37432:22;37428:1;37420:6;37416:14;37409:46;37292:170;:::o;37468:366::-;37610:3;37631:67;37695:2;37690:3;37631:67;:::i;:::-;37624:74;;37707:93;37796:3;37707:93;:::i;:::-;37825:2;37820:3;37816:12;37809:19;;37468:366;;;:::o;37840:419::-;38006:4;38044:2;38033:9;38029:18;38021:26;;38093:9;38087:4;38083:20;38079:1;38068:9;38064:17;38057:47;38121:131;38247:4;38121:131;:::i;:::-;38113:139;;37840:419;;;:::o", - "source": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.18;\n\nimport '@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol';\n\nimport {GatewaySettingManager} from './GatewaySettingManager.sol';\nimport {IGateway, IERC20} from './interfaces/IGateway.sol';\n\n/**\n * @title Gateway\n * @notice This contract serves as a gateway for creating orders and managing settlements.\n */\ncontract Gateway is IGateway, GatewaySettingManager, PausableUpgradeable {\n\tstruct fee {\n\t\tuint256 protocolFee;\n\t\tuint256 liquidityProviderAmount;\n\t}\n\n\tmapping(bytes32 => Order) private order;\n\tmapping(address => uint256) private _nonce;\n\tuint256[50] private __gap;\n\n\t/// @custom:oz-upgrades-unsafe-allow constructor\n\tconstructor() {\n\t\t_disableInitializers();\n\t}\n\n\t/**\n\t * @dev Initialize function.\n\t */\n\tfunction initialize() external initializer {\n\t\tMAX_BPS = 100_000;\n\t\t__Ownable2Step_init();\n\t\t__Pausable_init();\n\t}\n\n\t/**\n\t * @dev Modifier that allows only the aggregator to call a function.\n\t */\n\tmodifier onlyAggregator() {\n\t\trequire(msg.sender == _aggregatorAddress, 'OnlyAggregator');\n\t\t_;\n\t}\n\n\t/* ##################################################################\n OWNER FUNCTIONS\n ################################################################## */\n\t/**\n\t * @dev Pause the contract.\n\t */\n\tfunction pause() external onlyOwner {\n\t\t_pause();\n\t}\n\n\t/**\n\t * @dev Unpause the contract.\n\t */\n\tfunction unpause() external onlyOwner {\n\t\t_unpause();\n\t}\n\n\t/* ##################################################################\n USER CALLS\n ################################################################## */\n\t/** @dev See {createOrder-IGateway}. */\n\tfunction createOrder(\n\t\taddress _token,\n\t\tuint256 _amount,\n\t\tuint96 _rate,\n\t\taddress _senderFeeRecipient,\n\t\tuint256 _senderFee,\n\t\taddress _refundAddress,\n\t\tstring calldata messageHash\n\t) external whenNotPaused returns (bytes32 orderId) {\n\t\t// checks that are required\n\t\t_handler(_token, _amount, _refundAddress, _senderFeeRecipient, _senderFee);\n\n\t\t// validate messageHash\n\t\trequire(bytes(messageHash).length != 0, 'InvalidMessageHash');\n\n\t\t// transfer token from msg.sender to contract\n\t\tIERC20(_token).transferFrom(msg.sender, address(this), _amount + _senderFee);\n\n\t\t// increase users nonce to avoid replay attacks\n\t\t_nonce[msg.sender]++;\n\n\t\t// generate transaction id for the transaction\n\t\torderId = keccak256(abi.encode(msg.sender, _nonce[msg.sender]));\n\n\t\t// update transaction\n\t\tuint256 _protocolFee = (_amount * protocolFeePercent) / MAX_BPS;\n\t\torder[orderId] = Order({\n\t\t\tsender: msg.sender,\n\t\t\ttoken: _token,\n\t\t\tsenderFeeRecipient: _senderFeeRecipient,\n\t\t\tsenderFee: _senderFee,\n\t\t\tprotocolFee: _protocolFee,\n\t\t\tisFulfilled: false,\n\t\t\tisRefunded: false,\n\t\t\trefundAddress: _refundAddress,\n\t\t\tcurrentBPS: uint64(MAX_BPS),\n\t\t\tamount: _amount\n\t\t});\n\n\t\t// emit order created event\n\t\temit OrderCreated(\n\t\t\torder[orderId].sender,\n\t\t\t_token,\n\t\t\torder[orderId].amount,\n\t\t\t_protocolFee,\n\t\t\torderId,\n\t\t\t_rate,\n\t\t\tmessageHash\n\t\t);\n\t}\n\n\t/**\n\t * @dev Internal function to handle order creation.\n\t * @param _token The address of the token being traded.\n\t * @param _amount The amount of tokens being traded.\n\t * @param _refundAddress The address to refund the tokens in case of cancellation.\n\t * @param _senderFeeRecipient The address of the recipient for the sender fee.\n\t * @param _senderFee The amount of the sender fee.\n\t */\n\tfunction _handler(\n\t\taddress _token,\n\t\tuint256 _amount,\n\t\taddress _refundAddress,\n\t\taddress _senderFeeRecipient,\n\t\tuint256 _senderFee\n\t) internal view {\n\t\trequire(_isTokenSupported[_token] == 1, 'TokenNotSupported');\n\t\trequire(_amount != 0, 'AmountIsZero');\n\t\trequire(_refundAddress != address(0), 'ThrowZeroAddress');\n\n\t\tif (_senderFee != 0) {\n\t\t\trequire(_senderFeeRecipient != address(0), 'InvalidSenderFeeRecipient');\n\t\t}\n\t}\n\n\t/* ##################################################################\n AGGREGATOR FUNCTIONS\n ################################################################## */\n\t/** @dev See {settle-IGateway}. */\n\tfunction settle(\n\t\tbytes32 _splitOrderId,\n\t\tbytes32 _orderId,\n\t\taddress _liquidityProvider,\n\t\tuint64 _settlePercent\n\t) external onlyAggregator returns (bool) {\n\t\t// ensure the transaction has not been fulfilled\n\t\trequire(!order[_orderId].isFulfilled, 'OrderFulfilled');\n\t\trequire(!order[_orderId].isRefunded, 'OrderRefunded');\n\n\t\t// load the token into memory\n\t\taddress token = order[_orderId].token;\n\n\t\t// subtract sum of amount based on the input _settlePercent\n\t\torder[_orderId].currentBPS -= _settlePercent;\n\n\t\tif (order[_orderId].currentBPS == 0) {\n\t\t\t// update the transaction to be fulfilled\n\t\t\torder[_orderId].isFulfilled = true;\n\n\t\t\tif (order[_orderId].senderFee != 0) {\n\t\t\t\t// transfer sender fee\n\t\t\t\tIERC20(order[_orderId].token).transfer(\n\t\t\t\t\torder[_orderId].senderFeeRecipient,\n\t\t\t\t\torder[_orderId].senderFee\n\t\t\t\t);\n\n\t\t\t\t// emit event\n\t\t\t\temit SenderFeeTransferred(\n\t\t\t\t\torder[_orderId].senderFeeRecipient,\n\t\t\t\t\torder[_orderId].senderFee\n\t\t\t\t);\n\t\t\t}\n\n\t\t}\n\n\t\t// transfer to liquidity provider\n\t\tuint256 liquidityProviderAmount = (order[_orderId].amount * _settlePercent) / MAX_BPS;\n\t\torder[_orderId].amount -= liquidityProviderAmount;\n\n\t\tuint256 protocolFee = (liquidityProviderAmount * protocolFeePercent) / MAX_BPS;\n\t\tliquidityProviderAmount -= protocolFee;\n\n\t\t// transfer protocol fee\n\t\tIERC20(token).transfer(treasuryAddress, protocolFee);\n\n\t\tIERC20(token).transfer(_liquidityProvider, liquidityProviderAmount);\n\n\t\t// emit settled event\n\t\temit OrderSettled(_splitOrderId, _orderId, _liquidityProvider, _settlePercent);\n\n\t\treturn true;\n\t}\n\n\t/** @dev See {refund-IGateway}. */\n\tfunction refund(uint256 _fee, bytes32 _orderId) external onlyAggregator returns (bool) {\n\t\t// ensure the transaction has not been fulfilled\n\t\trequire(!order[_orderId].isFulfilled, 'OrderFulfilled');\n\t\trequire(!order[_orderId].isRefunded, 'OrderRefunded');\n\t\trequire(order[_orderId].protocolFee >= _fee, 'FeeExceedsProtocolFee');\n\n\t\t// transfer refund fee to the treasury\n\t\tIERC20(order[_orderId].token).transfer(treasuryAddress, _fee);\n\n\t\t// reset state values\n\t\torder[_orderId].isRefunded = true;\n\t\torder[_orderId].currentBPS = 0;\n\n\t\t// deduct fee from order amount\n\t\tuint256 refundAmount = order[_orderId].amount + order[_orderId].protocolFee - _fee;\n\n\t\t// transfer refund amount and sender fee to the refund address\n\t\tIERC20(order[_orderId].token).transfer(\n\t\t\torder[_orderId].refundAddress,\n\t\t\trefundAmount + order[_orderId].senderFee\n\t\t);\n\n\t\t// emit refunded event\n\t\temit OrderRefunded(_fee, _orderId);\n\n\t\treturn true;\n\t}\n\n\t/* ##################################################################\n VIEW CALLS\n ################################################################## */\n\t/** @dev See {getOrderInfo-IGateway}. */\n\tfunction getOrderInfo(bytes32 _orderId) external view returns (Order memory) {\n\t\treturn order[_orderId];\n\t}\n\n\t/** @dev See {isTokenSupported-IGateway}. */\n\tfunction isTokenSupported(address _token) external view returns (bool) {\n\t\tif (_isTokenSupported[_token] == 1) return true;\n\t\treturn false;\n\t}\n\n\t/** @dev See {getFeeDetails-IGateway}. */\n\tfunction getFeeDetails() external view returns (uint64, uint256) {\n\t\treturn (protocolFeePercent, MAX_BPS);\n\t}\n}\n", + "bytecode": "0x60806040523480156200001157600080fd5b50d380156200001f57600080fd5b50d280156200002d57600080fd5b506200003e6200004460201b60201c565b620001ee565b600060019054906101000a900460ff161562000097576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200008e9062000191565b60405180910390fd5b60ff801660008054906101000a900460ff1660ff1614620001085760ff6000806101000a81548160ff021916908360ff1602179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb384740249860ff604051620000ff9190620001d1565b60405180910390a15b565b600082825260208201905092915050565b7f496e697469616c697a61626c653a20636f6e747261637420697320696e69746960008201527f616c697a696e6700000000000000000000000000000000000000000000000000602082015250565b6000620001796027836200010a565b915062000186826200011b565b604082019050919050565b60006020820190508181036000830152620001ac816200016a565b9050919050565b600060ff82169050919050565b620001cb81620001b3565b82525050565b6000602082019050620001e86000830184620001c0565b92915050565b61385f80620001fe6000396000f3fe608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b50600436106101305760003560e01c8063809804f7116100bc578063b810c6361161008b578063b810c6361461029b578063cd992400146102ba578063e30c3978146102d6578063f22ee704146102f4578063f2fde38b1461032457610130565b8063809804f7146102395780638129fc1c146102695780638456cb59146102735780638da5cb5b1461027d57610130565b8063715018a611610103578063715018a61461019557806371eedb881461019f57806375151b63146101cf578063768c6ec0146101ff57806379ba50971461022f57610130565b80633f4ba83a1461013557806340ebc6771461013f57806347094e2e1461015b5780635c975abb14610177575b600080fd5b61013d610340565b005b6101596004803603810190610154919061257c565b610352565b005b610175600480360381019061017091906125fc565b61061a565b005b61017f610685565b60405161018c9190612644565b60405180910390f35b61019d61069c565b005b6101b960048036038101906101b49190612695565b6106b0565b6040516101c69190612644565b60405180910390f35b6101e960048036038101906101e491906126d5565b610b24565b6040516101f69190612644565b60405180910390f35b61021960048036038101906102149190612702565b610b80565b604051610226919061284f565b60405180910390f35b610237610d98565b005b610253600480360381019061024e91906128fc565b610e25565b60405161026091906129cd565b60405180910390f35b61027161135a565b005b61027b6114aa565b005b6102856114bc565b60405161029291906129f7565b60405180910390f35b6102a36114e6565b6040516102b1929190612a30565b60405180910390f35b6102d460048036038101906102cf9190612a59565b61150b565b005b6102de611690565b6040516102eb91906129f7565b60405180910390f35b61030e60048036038101906103099190612aac565b6116ba565b60405161031b9190612644565b60405180910390f35b61033e600480360381019061033991906126d5565b611d1d565b005b610348611dca565b610350611e48565b565b61035a611dca565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036103c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c090612b70565b60405180910390fd5b60007f747265617375727900000000000000000000000000000000000000000000000083036104cc578173ffffffffffffffffffffffffffffffffffffffff16609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047990612c02565b60405180910390fd5b81609860086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190506105ca565b7f61676772656761746f720000000000000000000000000000000000000000000083036105c9578173ffffffffffffffffffffffffffffffffffffffff16609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057a90612c94565b60405180910390fd5b81609960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190505b5b8015610615578173ffffffffffffffffffffffffffffffffffffffff16837fbbc5b96e57cfecb3dbeeadf92e87f15e58e64fcd75cbe256dcc5d9ef2e51e8a460405160405180910390a35b505050565b610622611dca565b80609860006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f1ce29a697a4765bd17d91df93ba75b250b629ecf030553ff1f6ab59f15ae6c7b8160405161067a9190612cb4565b60405180910390a150565b600060cd60009054906101000a900460ff16905090565b6106a4611dca565b6106ae6000611eab565b565b6000609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073990612d1b565b60405180910390fd5b60ff600083815260200190815260200160002060050160009054906101000a900460ff16156107a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079d90612d87565b60405180910390fd5b60ff600083815260200190815260200160002060050160019054906101000a900460ff161561080a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080190612df3565b60405180910390fd5b8260ff6000848152602001908152602001600020600401541015610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a90612e5f565b60405180910390fd5b60ff600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b81526004016108f6929190612e7f565b6020604051808303816000875af1158015610915573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109399190612ed4565b50600160ff600084815260200190815260200160002060050160016101000a81548160ff021916908315150217905550600060ff600084815260200190815260200160002060060160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060008360ff6000858152602001908152602001600020600701546109d39190612f30565b905060ff600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60ff600086815260200190815260200160002060050160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660ff60008781526020019081526020016000206003015484610a809190612f64565b6040518363ffffffff1660e01b8152600401610a9d929190612e7f565b6020604051808303816000875af1158015610abc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae09190612ed4565b50827f0736fe428e1747ca8d387c2e6fa1a31a0cde62d3a167c40a46ade59a3cdc828e85604051610b119190612f98565b60405180910390a2600191505092915050565b60006001609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403610b765760019050610b7b565b600090505b919050565b610b886123f5565b60ff6000838152602001908152602001600020604051806101400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152602001600482015481526020016005820160009054906101000a900460ff161515151581526020016005820160019054906101000a900460ff161515151581526020016005820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016006820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016007820154815250509050919050565b6000610da2611edc565b90508073ffffffffffffffffffffffffffffffffffffffff16610dc3611690565b73ffffffffffffffffffffffffffffffffffffffff1614610e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1090613025565b60405180910390fd5b610e2281611eab565b50565b6000610e2f611ee4565b610e3c8989868989611f2e565b60008383905003610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7990613091565b60405180910390fd5b8873ffffffffffffffffffffffffffffffffffffffff166323b872dd3330888c610eac9190612f64565b6040518463ffffffff1660e01b8152600401610eca939291906130b1565b6020604051808303816000875af1158015610ee9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0d9190612ed4565b5061010060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f5f906130e8565b91905055503361010060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051602001610fb7929190612e7f565b6040516020818303038152906040528051906020012090506000609754609860009054906101000a900467ffffffffffffffff1667ffffffffffffffff168a6110009190613130565b61100a91906131a1565b90506040518061014001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018b73ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018281526020016000151581526020016000151581526020018673ffffffffffffffffffffffffffffffffffffffff16815260200160975467ffffffffffffffff166bffffffffffffffffffffffff1681526020018a81525060ff600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301556080820151816004015560a08201518160050160006101000a81548160ff02191690831515021790555060c08201518160050160016101000a81548160ff02191690831515021790555060e08201518160050160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101008201518160060160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550610120820151816007015590505060ff6000838152602001908152602001600020600701548a73ffffffffffffffffffffffffffffffffffffffff1660ff600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f40ccd1ceb111a3c186ef9911e1b876dc1f789ed331b86097b3b8851055b6a13784868d8a8a60405161134595949392919061325a565b60405180910390a45098975050505050505050565b60008060019054906101000a900460ff1615905080801561138b5750600160008054906101000a900460ff1660ff16105b806113b8575061139a306120e1565b1580156113b75750600160008054906101000a900460ff1660ff16145b5b6113f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ee9061331a565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611434576001600060016101000a81548160ff0219169083151502179055505b620186a0609781905550611446612104565b61144e61215d565b80156114a75760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498600160405161149e9190613382565b60405180910390a15b50565b6114b2611dca565b6114ba6121b6565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080609860009054906101000a900467ffffffffffffffff16609754915091509091565b611513611dca565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157990612b70565b60405180910390fd5b60018114806115915750600281145b6115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c7906133e9565b60405180910390fd5b7f746f6b656e000000000000000000000000000000000000000000000000000000830361168b5780609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16837fcfa976492af7c14a916cc3a239f4c9c75bbd7f5f0e398beb41d892c7eeccae4c836040516116829190612f98565b60405180910390a35b505050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390612d1b565b60405180910390fd5b60ff600085815260200190815260200160002060050160009054906101000a900460ff16156117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a790612d87565b60405180910390fd5b60ff600085815260200190815260200160002060050160019054906101000a900460ff1615611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90612df3565b60405180910390fd5b600060ff600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508267ffffffffffffffff1660ff600087815260200190815260200160002060060160008282829054906101000a90046bffffffffffffffffffffffff166118969190613409565b92506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550600060ff600087815260200190815260200160002060060160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1603611ae857600160ff600087815260200190815260200160002060050160006101000a81548160ff021916908315150217905550600060ff60008781526020019081526020016000206003015414611ae75760ff600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60ff600088815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660ff6000898152602001908152602001600020600301546040518363ffffffff1660e01b8152600401611a12929190612e7f565b6020604051808303816000875af1158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a559190612ed4565b5060ff60008681526020019081526020016000206003015460ff600087815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f44f6938ca4a10313aabb76f874cced61e35710a734a126e4afb34461bf8c250160405160405180910390a35b5b60006097548467ffffffffffffffff1660ff600089815260200190815260200160002060070154611b199190613130565b611b2391906131a1565b90508060ff60008881526020019081526020016000206007016000828254611b4b9190612f30565b925050819055506000609754609860009054906101000a900467ffffffffffffffff1667ffffffffffffffff1683611b839190613130565b611b8d91906131a1565b90508082611b9b9190612f30565b91508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401611bfa929190612e7f565b6020604051808303816000875af1158015611c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3d9190612ed4565b508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87846040518363ffffffff1660e01b8152600401611c79929190612e7f565b6020604051808303816000875af1158015611c98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbc9190612ed4565b508573ffffffffffffffffffffffffffffffffffffffff16877f98ece21e01a01cbe1d1c0dad3b053c8fbd368f99be78be958fcf1d1d13fd249a8a88604051611d0692919061347a565b60405180910390a360019350505050949350505050565b611d25611dca565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16611d856114bc565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b611dd2611edc565b73ffffffffffffffffffffffffffffffffffffffff16611df06114bc565b73ffffffffffffffffffffffffffffffffffffffff1614611e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3d906134ef565b60405180910390fd5b565b611e50612219565b600060cd60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611e94611edc565b604051611ea191906129f7565b60405180910390a1565b606560006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055611ed981612262565b50565b600033905090565b611eec610685565b15611f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f239061355b565b60405180910390fd5b565b6001609a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa7906135c7565b60405180910390fd5b60008403611ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fea90613633565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612062576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120599061369f565b60405180910390fd5b600081146120da57600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d09061370b565b60405180910390fd5b5b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612153576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214a9061379d565b60405180910390fd5b61215b612328565b565b600060019054906101000a900460ff166121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a39061379d565b60405180910390fd5b6121b4612389565b565b6121be611ee4565b600160cd60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612202611edc565b60405161220f91906129f7565b60405180910390a1565b612221610685565b612260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225790613809565b60405180910390fd5b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff16612377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236e9061379d565b60405180910390fd5b612387612382611edc565b611eab565b565b600060019054906101000a900460ff166123d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cf9061379d565b60405180910390fd5b600060cd60006101000a81548160ff021916908315150217905550565b604051806101400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600015158152602001600015158152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600081525090565b600080fd5b600080fd5b6000819050919050565b6124cf816124bc565b81146124da57600080fd5b50565b6000813590506124ec816124c6565b92915050565b600074ffffffffffffffffffffffffffffffffffffffffff82169050919050565b61251c816124f2565b811461252757600080fd5b50565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125558261252a565b9050919050565b60008135905061256b81612513565b6125748161254a565b905092915050565b60008060408385031215612593576125926124b2565b5b60006125a1858286016124dd565b92505060206125b28582860161255c565b9150509250929050565b600067ffffffffffffffff82169050919050565b6125d9816125bc565b81146125e457600080fd5b50565b6000813590506125f6816125d0565b92915050565b600060208284031215612612576126116124b2565b5b6000612620848285016125e7565b91505092915050565b60008115159050919050565b61263e81612629565b82525050565b60006020820190506126596000830184612635565b92915050565b6000819050919050565b6126728161265f565b811461267d57600080fd5b50565b60008135905061268f81612669565b92915050565b600080604083850312156126ac576126ab6124b2565b5b60006126ba85828601612680565b92505060206126cb858286016124dd565b9150509250929050565b6000602082840312156126eb576126ea6124b2565b5b60006126f98482850161255c565b91505092915050565b600060208284031215612718576127176124b2565b5b6000612726848285016124dd565b91505092915050565b6127388161254a565b82525050565b6127478161265f565b82525050565b61275681612629565b82525050565b60006bffffffffffffffffffffffff82169050919050565b61277d8161275c565b82525050565b6101408201600082015161279a600085018261272f565b5060208201516127ad602085018261272f565b5060408201516127c0604085018261272f565b5060608201516127d3606085018261273e565b5060808201516127e6608085018261273e565b5060a08201516127f960a085018261274d565b5060c082015161280c60c085018261274d565b5060e082015161281f60e085018261272f565b50610100820151612834610100850182612774565b5061012082015161284961012085018261273e565b50505050565b6000610140820190506128656000830184612783565b92915050565b6128748161275c565b811461287f57600080fd5b50565b6000813590506128918161286b565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126128bc576128bb612897565b5b8235905067ffffffffffffffff8111156128d9576128d861289c565b5b6020830191508360018202830111156128f5576128f46128a1565b5b9250929050565b60008060008060008060008060e0898b03121561291c5761291b6124b2565b5b600061292a8b828c0161255c565b985050602061293b8b828c01612680565b975050604061294c8b828c01612882565b965050606061295d8b828c0161255c565b955050608061296e8b828c01612680565b94505060a061297f8b828c0161255c565b93505060c089013567ffffffffffffffff8111156129a05761299f6124b7565b5b6129ac8b828c016128a6565b92509250509295985092959890939650565b6129c7816124bc565b82525050565b60006020820190506129e260008301846129be565b92915050565b6129f18161254a565b82525050565b6000602082019050612a0c60008301846129e8565b92915050565b612a1b816125bc565b82525050565b612a2a8161265f565b82525050565b6000604082019050612a456000830185612a12565b612a526020830184612a21565b9392505050565b600080600060608486031215612a7257612a716124b2565b5b6000612a80868287016124dd565b9350506020612a918682870161255c565b9250506040612aa286828701612680565b9150509250925092565b60008060008060808587031215612ac657612ac56124b2565b5b6000612ad4878288016124dd565b9450506020612ae5878288016124dd565b9350506040612af68782880161255c565b9250506060612b07878288016125e7565b91505092959194509250565b600082825260208201905092915050565b7f476174657761793a207a65726f20616464726573730000000000000000000000600082015250565b6000612b5a601583612b13565b9150612b6582612b24565b602082019050919050565b60006020820190508181036000830152612b8981612b4d565b9050919050565b7f476174657761793a207472656173757279206164647265737320616c7265616460008201527f7920736574000000000000000000000000000000000000000000000000000000602082015250565b6000612bec602583612b13565b9150612bf782612b90565b604082019050919050565b60006020820190508181036000830152612c1b81612bdf565b9050919050565b7f476174657761793a2061676772656761746f72206164647265737320616c726560008201527f6164792073657400000000000000000000000000000000000000000000000000602082015250565b6000612c7e602783612b13565b9150612c8982612c22565b604082019050919050565b60006020820190508181036000830152612cad81612c71565b9050919050565b6000602082019050612cc96000830184612a12565b92915050565b7f4f6e6c7941676772656761746f72000000000000000000000000000000000000600082015250565b6000612d05600e83612b13565b9150612d1082612ccf565b602082019050919050565b60006020820190508181036000830152612d3481612cf8565b9050919050565b7f4f7264657246756c66696c6c6564000000000000000000000000000000000000600082015250565b6000612d71600e83612b13565b9150612d7c82612d3b565b602082019050919050565b60006020820190508181036000830152612da081612d64565b9050919050565b7f4f72646572526566756e64656400000000000000000000000000000000000000600082015250565b6000612ddd600d83612b13565b9150612de882612da7565b602082019050919050565b60006020820190508181036000830152612e0c81612dd0565b9050919050565b7f4665654578636565647350726f746f636f6c4665650000000000000000000000600082015250565b6000612e49601583612b13565b9150612e5482612e13565b602082019050919050565b60006020820190508181036000830152612e7881612e3c565b9050919050565b6000604082019050612e9460008301856129e8565b612ea16020830184612a21565b9392505050565b612eb181612629565b8114612ebc57600080fd5b50565b600081519050612ece81612ea8565b92915050565b600060208284031215612eea57612ee96124b2565b5b6000612ef884828501612ebf565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612f3b8261265f565b9150612f468361265f565b9250828203905081811115612f5e57612f5d612f01565b5b92915050565b6000612f6f8261265f565b9150612f7a8361265f565b9250828201905080821115612f9257612f91612f01565b5b92915050565b6000602082019050612fad6000830184612a21565b92915050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b600061300f602983612b13565b915061301a82612fb3565b604082019050919050565b6000602082019050818103600083015261303e81613002565b9050919050565b7f496e76616c69644d657373616765486173680000000000000000000000000000600082015250565b600061307b601283612b13565b915061308682613045565b602082019050919050565b600060208201905081810360008301526130aa8161306e565b9050919050565b60006060820190506130c660008301866129e8565b6130d360208301856129e8565b6130e06040830184612a21565b949350505050565b60006130f38261265f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361312557613124612f01565b5b600182019050919050565b600061313b8261265f565b91506131468361265f565b92508282026131548161265f565b9150828204841483151761316b5761316a612f01565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006131ac8261265f565b91506131b78361265f565b9250826131c7576131c6613172565b5b828204905092915050565b6000819050919050565b60006131f76131f26131ed8461275c565b6131d2565b61265f565b9050919050565b613207816131dc565b82525050565b82818337600083830152505050565b6000601f19601f8301169050919050565b60006132398385612b13565b935061324683858461320d565b61324f8361321c565b840190509392505050565b600060808201905061326f6000830188612a21565b61327c60208301876129be565b61328960408301866131fe565b818103606083015261329c81848661322d565b90509695505050505050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000613304602e83612b13565b915061330f826132a8565b604082019050919050565b60006020820190508181036000830152613333816132f7565b9050919050565b6000819050919050565b600060ff82169050919050565b600061336c6133676133628461333a565b6131d2565b613344565b9050919050565b61337c81613351565b82525050565b60006020820190506133976000830184613373565b92915050565b7f476174657761793a20696e76616c696420737461747573000000000000000000600082015250565b60006133d3601783612b13565b91506133de8261339d565b602082019050919050565b60006020820190508181036000830152613402816133c6565b9050919050565b60006134148261275c565b915061341f8361275c565b925082820390506bffffffffffffffffffffffff81111561344357613442612f01565b5b92915050565b600061346461345f61345a846125bc565b6131d2565b61275c565b9050919050565b61347481613449565b82525050565b600060408201905061348f60008301856129be565b61349c602083018461346b565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134d9602083612b13565b91506134e4826134a3565b602082019050919050565b60006020820190508181036000830152613508816134cc565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613545601083612b13565b91506135508261350f565b602082019050919050565b6000602082019050818103600083015261357481613538565b9050919050565b7f546f6b656e4e6f74537570706f72746564000000000000000000000000000000600082015250565b60006135b1601183612b13565b91506135bc8261357b565b602082019050919050565b600060208201905081810360008301526135e0816135a4565b9050919050565b7f416d6f756e7449735a65726f0000000000000000000000000000000000000000600082015250565b600061361d600c83612b13565b9150613628826135e7565b602082019050919050565b6000602082019050818103600083015261364c81613610565b9050919050565b7f5468726f775a65726f4164647265737300000000000000000000000000000000600082015250565b6000613689601083612b13565b915061369482613653565b602082019050919050565b600060208201905081810360008301526136b88161367c565b9050919050565b7f496e76616c696453656e646572466565526563697069656e7400000000000000600082015250565b60006136f5601983612b13565b9150613700826136bf565b602082019050919050565b60006020820190508181036000830152613724816136e8565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000613787602b83612b13565b91506137928261372b565b604082019050919050565b600060208201905081810360008301526137b68161377a565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006137f3601483612b13565b91506137fe826137bd565b602082019050919050565b60006020820190508181036000830152613822816137e6565b905091905056fea26474726f6e582212200a12cda2b8925ec60d84c61e662e75dbaf1665a2efbe22d6c3b15f9d5b5ba44764736f6c63430008120033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b50600436106101305760003560e01c8063809804f7116100bc578063b810c6361161008b578063b810c6361461029b578063cd992400146102ba578063e30c3978146102d6578063f22ee704146102f4578063f2fde38b1461032457610130565b8063809804f7146102395780638129fc1c146102695780638456cb59146102735780638da5cb5b1461027d57610130565b8063715018a611610103578063715018a61461019557806371eedb881461019f57806375151b63146101cf578063768c6ec0146101ff57806379ba50971461022f57610130565b80633f4ba83a1461013557806340ebc6771461013f57806347094e2e1461015b5780635c975abb14610177575b600080fd5b61013d610340565b005b6101596004803603810190610154919061257c565b610352565b005b610175600480360381019061017091906125fc565b61061a565b005b61017f610685565b60405161018c9190612644565b60405180910390f35b61019d61069c565b005b6101b960048036038101906101b49190612695565b6106b0565b6040516101c69190612644565b60405180910390f35b6101e960048036038101906101e491906126d5565b610b24565b6040516101f69190612644565b60405180910390f35b61021960048036038101906102149190612702565b610b80565b604051610226919061284f565b60405180910390f35b610237610d98565b005b610253600480360381019061024e91906128fc565b610e25565b60405161026091906129cd565b60405180910390f35b61027161135a565b005b61027b6114aa565b005b6102856114bc565b60405161029291906129f7565b60405180910390f35b6102a36114e6565b6040516102b1929190612a30565b60405180910390f35b6102d460048036038101906102cf9190612a59565b61150b565b005b6102de611690565b6040516102eb91906129f7565b60405180910390f35b61030e60048036038101906103099190612aac565b6116ba565b60405161031b9190612644565b60405180910390f35b61033e600480360381019061033991906126d5565b611d1d565b005b610348611dca565b610350611e48565b565b61035a611dca565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036103c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103c090612b70565b60405180910390fd5b60007f747265617375727900000000000000000000000000000000000000000000000083036104cc578173ffffffffffffffffffffffffffffffffffffffff16609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161047990612c02565b60405180910390fd5b81609860086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190506105ca565b7f61676772656761746f720000000000000000000000000000000000000000000083036105c9578173ffffffffffffffffffffffffffffffffffffffff16609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057a90612c94565b60405180910390fd5b81609960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190505b5b8015610615578173ffffffffffffffffffffffffffffffffffffffff16837fbbc5b96e57cfecb3dbeeadf92e87f15e58e64fcd75cbe256dcc5d9ef2e51e8a460405160405180910390a35b505050565b610622611dca565b80609860006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f1ce29a697a4765bd17d91df93ba75b250b629ecf030553ff1f6ab59f15ae6c7b8160405161067a9190612cb4565b60405180910390a150565b600060cd60009054906101000a900460ff16905090565b6106a4611dca565b6106ae6000611eab565b565b6000609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610742576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073990612d1b565b60405180910390fd5b60ff600083815260200190815260200160002060050160009054906101000a900460ff16156107a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079d90612d87565b60405180910390fd5b60ff600083815260200190815260200160002060050160019054906101000a900460ff161561080a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080190612df3565b60405180910390fd5b8260ff6000848152602001908152602001600020600401541015610863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085a90612e5f565b60405180910390fd5b60ff600083815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b81526004016108f6929190612e7f565b6020604051808303816000875af1158015610915573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109399190612ed4565b50600160ff600084815260200190815260200160002060050160016101000a81548160ff021916908315150217905550600060ff600084815260200190815260200160002060060160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff16021790555060008360ff6000858152602001908152602001600020600701546109d39190612f30565b905060ff600084815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60ff600086815260200190815260200160002060050160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660ff60008781526020019081526020016000206003015484610a809190612f64565b6040518363ffffffff1660e01b8152600401610a9d929190612e7f565b6020604051808303816000875af1158015610abc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae09190612ed4565b50827f0736fe428e1747ca8d387c2e6fa1a31a0cde62d3a167c40a46ade59a3cdc828e85604051610b119190612f98565b60405180910390a2600191505092915050565b60006001609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403610b765760019050610b7b565b600090505b919050565b610b886123f5565b60ff6000838152602001908152602001600020604051806101400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160038201548152602001600482015481526020016005820160009054906101000a900460ff161515151581526020016005820160019054906101000a900460ff161515151581526020016005820160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016006820160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff1681526020016007820154815250509050919050565b6000610da2611edc565b90508073ffffffffffffffffffffffffffffffffffffffff16610dc3611690565b73ffffffffffffffffffffffffffffffffffffffff1614610e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1090613025565b60405180910390fd5b610e2281611eab565b50565b6000610e2f611ee4565b610e3c8989868989611f2e565b60008383905003610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7990613091565b60405180910390fd5b8873ffffffffffffffffffffffffffffffffffffffff166323b872dd3330888c610eac9190612f64565b6040518463ffffffff1660e01b8152600401610eca939291906130b1565b6020604051808303816000875af1158015610ee9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0d9190612ed4565b5061010060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610f5f906130e8565b91905055503361010060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054604051602001610fb7929190612e7f565b6040516020818303038152906040528051906020012090506000609754609860009054906101000a900467ffffffffffffffff1667ffffffffffffffff168a6110009190613130565b61100a91906131a1565b90506040518061014001604052803373ffffffffffffffffffffffffffffffffffffffff1681526020018b73ffffffffffffffffffffffffffffffffffffffff1681526020018873ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018281526020016000151581526020016000151581526020018673ffffffffffffffffffffffffffffffffffffffff16815260200160975467ffffffffffffffff166bffffffffffffffffffffffff1681526020018a81525060ff600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060408201518160020160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550606082015181600301556080820151816004015560a08201518160050160006101000a81548160ff02191690831515021790555060c08201518160050160016101000a81548160ff02191690831515021790555060e08201518160050160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506101008201518160060160006101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550610120820151816007015590505060ff6000838152602001908152602001600020600701548a73ffffffffffffffffffffffffffffffffffffffff1660ff600085815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f40ccd1ceb111a3c186ef9911e1b876dc1f789ed331b86097b3b8851055b6a13784868d8a8a60405161134595949392919061325a565b60405180910390a45098975050505050505050565b60008060019054906101000a900460ff1615905080801561138b5750600160008054906101000a900460ff1660ff16105b806113b8575061139a306120e1565b1580156113b75750600160008054906101000a900460ff1660ff16145b5b6113f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ee9061331a565b60405180910390fd5b60016000806101000a81548160ff021916908360ff1602179055508015611434576001600060016101000a81548160ff0219169083151502179055505b620186a0609781905550611446612104565b61144e61215d565b80156114a75760008060016101000a81548160ff0219169083151502179055507f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498600160405161149e9190613382565b60405180910390a15b50565b6114b2611dca565b6114ba6121b6565b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080609860009054906101000a900467ffffffffffffffff16609754915091509091565b611513611dca565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157990612b70565b60405180910390fd5b60018114806115915750600281145b6115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c7906133e9565b60405180910390fd5b7f746f6b656e000000000000000000000000000000000000000000000000000000830361168b5780609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16837fcfa976492af7c14a916cc3a239f4c9c75bbd7f5f0e398beb41d892c7eeccae4c836040516116829190612f98565b60405180910390a35b505050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390612d1b565b60405180910390fd5b60ff600085815260200190815260200160002060050160009054906101000a900460ff16156117b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a790612d87565b60405180910390fd5b60ff600085815260200190815260200160002060050160019054906101000a900460ff1615611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90612df3565b60405180910390fd5b600060ff600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508267ffffffffffffffff1660ff600087815260200190815260200160002060060160008282829054906101000a90046bffffffffffffffffffffffff166118969190613409565b92506101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550600060ff600087815260200190815260200160002060060160009054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff1603611ae857600160ff600087815260200190815260200160002060050160006101000a81548160ff021916908315150217905550600060ff60008781526020019081526020016000206003015414611ae75760ff600086815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb60ff600088815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660ff6000898152602001908152602001600020600301546040518363ffffffff1660e01b8152600401611a12929190612e7f565b6020604051808303816000875af1158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a559190612ed4565b5060ff60008681526020019081526020016000206003015460ff600087815260200190815260200160002060020160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f44f6938ca4a10313aabb76f874cced61e35710a734a126e4afb34461bf8c250160405160405180910390a35b5b60006097548467ffffffffffffffff1660ff600089815260200190815260200160002060070154611b199190613130565b611b2391906131a1565b90508060ff60008881526020019081526020016000206007016000828254611b4b9190612f30565b925050819055506000609754609860009054906101000a900467ffffffffffffffff1667ffffffffffffffff1683611b839190613130565b611b8d91906131a1565b90508082611b9b9190612f30565b91508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401611bfa929190612e7f565b6020604051808303816000875af1158015611c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3d9190612ed4565b508273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87846040518363ffffffff1660e01b8152600401611c79929190612e7f565b6020604051808303816000875af1158015611c98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cbc9190612ed4565b508573ffffffffffffffffffffffffffffffffffffffff16877f98ece21e01a01cbe1d1c0dad3b053c8fbd368f99be78be958fcf1d1d13fd249a8a88604051611d0692919061347a565b60405180910390a360019350505050949350505050565b611d25611dca565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16611d856114bc565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b611dd2611edc565b73ffffffffffffffffffffffffffffffffffffffff16611df06114bc565b73ffffffffffffffffffffffffffffffffffffffff1614611e46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3d906134ef565b60405180910390fd5b565b611e50612219565b600060cd60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611e94611edc565b604051611ea191906129f7565b60405180910390a1565b606560006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055611ed981612262565b50565b600033905090565b611eec610685565b15611f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f239061355b565b60405180910390fd5b565b6001609a60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414611fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa7906135c7565b60405180910390fd5b60008403611ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fea90613633565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612062576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120599061369f565b60405180910390fd5b600081146120da57600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036120d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d09061370b565b60405180910390fd5b5b5050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600060019054906101000a900460ff16612153576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214a9061379d565b60405180910390fd5b61215b612328565b565b600060019054906101000a900460ff166121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a39061379d565b60405180910390fd5b6121b4612389565b565b6121be611ee4565b600160cd60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612202611edc565b60405161220f91906129f7565b60405180910390a1565b612221610685565b612260576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225790613809565b60405180910390fd5b565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff16612377576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236e9061379d565b60405180910390fd5b612387612382611edc565b611eab565b565b600060019054906101000a900460ff166123d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cf9061379d565b60405180910390fd5b600060cd60006101000a81548160ff021916908315150217905550565b604051806101400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600015158152602001600015158152602001600073ffffffffffffffffffffffffffffffffffffffff16815260200160006bffffffffffffffffffffffff168152602001600081525090565b600080fd5b600080fd5b6000819050919050565b6124cf816124bc565b81146124da57600080fd5b50565b6000813590506124ec816124c6565b92915050565b600074ffffffffffffffffffffffffffffffffffffffffff82169050919050565b61251c816124f2565b811461252757600080fd5b50565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006125558261252a565b9050919050565b60008135905061256b81612513565b6125748161254a565b905092915050565b60008060408385031215612593576125926124b2565b5b60006125a1858286016124dd565b92505060206125b28582860161255c565b9150509250929050565b600067ffffffffffffffff82169050919050565b6125d9816125bc565b81146125e457600080fd5b50565b6000813590506125f6816125d0565b92915050565b600060208284031215612612576126116124b2565b5b6000612620848285016125e7565b91505092915050565b60008115159050919050565b61263e81612629565b82525050565b60006020820190506126596000830184612635565b92915050565b6000819050919050565b6126728161265f565b811461267d57600080fd5b50565b60008135905061268f81612669565b92915050565b600080604083850312156126ac576126ab6124b2565b5b60006126ba85828601612680565b92505060206126cb858286016124dd565b9150509250929050565b6000602082840312156126eb576126ea6124b2565b5b60006126f98482850161255c565b91505092915050565b600060208284031215612718576127176124b2565b5b6000612726848285016124dd565b91505092915050565b6127388161254a565b82525050565b6127478161265f565b82525050565b61275681612629565b82525050565b60006bffffffffffffffffffffffff82169050919050565b61277d8161275c565b82525050565b6101408201600082015161279a600085018261272f565b5060208201516127ad602085018261272f565b5060408201516127c0604085018261272f565b5060608201516127d3606085018261273e565b5060808201516127e6608085018261273e565b5060a08201516127f960a085018261274d565b5060c082015161280c60c085018261274d565b5060e082015161281f60e085018261272f565b50610100820151612834610100850182612774565b5061012082015161284961012085018261273e565b50505050565b6000610140820190506128656000830184612783565b92915050565b6128748161275c565b811461287f57600080fd5b50565b6000813590506128918161286b565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126128bc576128bb612897565b5b8235905067ffffffffffffffff8111156128d9576128d861289c565b5b6020830191508360018202830111156128f5576128f46128a1565b5b9250929050565b60008060008060008060008060e0898b03121561291c5761291b6124b2565b5b600061292a8b828c0161255c565b985050602061293b8b828c01612680565b975050604061294c8b828c01612882565b965050606061295d8b828c0161255c565b955050608061296e8b828c01612680565b94505060a061297f8b828c0161255c565b93505060c089013567ffffffffffffffff8111156129a05761299f6124b7565b5b6129ac8b828c016128a6565b92509250509295985092959890939650565b6129c7816124bc565b82525050565b60006020820190506129e260008301846129be565b92915050565b6129f18161254a565b82525050565b6000602082019050612a0c60008301846129e8565b92915050565b612a1b816125bc565b82525050565b612a2a8161265f565b82525050565b6000604082019050612a456000830185612a12565b612a526020830184612a21565b9392505050565b600080600060608486031215612a7257612a716124b2565b5b6000612a80868287016124dd565b9350506020612a918682870161255c565b9250506040612aa286828701612680565b9150509250925092565b60008060008060808587031215612ac657612ac56124b2565b5b6000612ad4878288016124dd565b9450506020612ae5878288016124dd565b9350506040612af68782880161255c565b9250506060612b07878288016125e7565b91505092959194509250565b600082825260208201905092915050565b7f476174657761793a207a65726f20616464726573730000000000000000000000600082015250565b6000612b5a601583612b13565b9150612b6582612b24565b602082019050919050565b60006020820190508181036000830152612b8981612b4d565b9050919050565b7f476174657761793a207472656173757279206164647265737320616c7265616460008201527f7920736574000000000000000000000000000000000000000000000000000000602082015250565b6000612bec602583612b13565b9150612bf782612b90565b604082019050919050565b60006020820190508181036000830152612c1b81612bdf565b9050919050565b7f476174657761793a2061676772656761746f72206164647265737320616c726560008201527f6164792073657400000000000000000000000000000000000000000000000000602082015250565b6000612c7e602783612b13565b9150612c8982612c22565b604082019050919050565b60006020820190508181036000830152612cad81612c71565b9050919050565b6000602082019050612cc96000830184612a12565b92915050565b7f4f6e6c7941676772656761746f72000000000000000000000000000000000000600082015250565b6000612d05600e83612b13565b9150612d1082612ccf565b602082019050919050565b60006020820190508181036000830152612d3481612cf8565b9050919050565b7f4f7264657246756c66696c6c6564000000000000000000000000000000000000600082015250565b6000612d71600e83612b13565b9150612d7c82612d3b565b602082019050919050565b60006020820190508181036000830152612da081612d64565b9050919050565b7f4f72646572526566756e64656400000000000000000000000000000000000000600082015250565b6000612ddd600d83612b13565b9150612de882612da7565b602082019050919050565b60006020820190508181036000830152612e0c81612dd0565b9050919050565b7f4665654578636565647350726f746f636f6c4665650000000000000000000000600082015250565b6000612e49601583612b13565b9150612e5482612e13565b602082019050919050565b60006020820190508181036000830152612e7881612e3c565b9050919050565b6000604082019050612e9460008301856129e8565b612ea16020830184612a21565b9392505050565b612eb181612629565b8114612ebc57600080fd5b50565b600081519050612ece81612ea8565b92915050565b600060208284031215612eea57612ee96124b2565b5b6000612ef884828501612ebf565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612f3b8261265f565b9150612f468361265f565b9250828203905081811115612f5e57612f5d612f01565b5b92915050565b6000612f6f8261265f565b9150612f7a8361265f565b9250828201905080821115612f9257612f91612f01565b5b92915050565b6000602082019050612fad6000830184612a21565b92915050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b600061300f602983612b13565b915061301a82612fb3565b604082019050919050565b6000602082019050818103600083015261303e81613002565b9050919050565b7f496e76616c69644d657373616765486173680000000000000000000000000000600082015250565b600061307b601283612b13565b915061308682613045565b602082019050919050565b600060208201905081810360008301526130aa8161306e565b9050919050565b60006060820190506130c660008301866129e8565b6130d360208301856129e8565b6130e06040830184612a21565b949350505050565b60006130f38261265f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361312557613124612f01565b5b600182019050919050565b600061313b8261265f565b91506131468361265f565b92508282026131548161265f565b9150828204841483151761316b5761316a612f01565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006131ac8261265f565b91506131b78361265f565b9250826131c7576131c6613172565b5b828204905092915050565b6000819050919050565b60006131f76131f26131ed8461275c565b6131d2565b61265f565b9050919050565b613207816131dc565b82525050565b82818337600083830152505050565b6000601f19601f8301169050919050565b60006132398385612b13565b935061324683858461320d565b61324f8361321c565b840190509392505050565b600060808201905061326f6000830188612a21565b61327c60208301876129be565b61328960408301866131fe565b818103606083015261329c81848661322d565b90509695505050505050565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b6000613304602e83612b13565b915061330f826132a8565b604082019050919050565b60006020820190508181036000830152613333816132f7565b9050919050565b6000819050919050565b600060ff82169050919050565b600061336c6133676133628461333a565b6131d2565b613344565b9050919050565b61337c81613351565b82525050565b60006020820190506133976000830184613373565b92915050565b7f476174657761793a20696e76616c696420737461747573000000000000000000600082015250565b60006133d3601783612b13565b91506133de8261339d565b602082019050919050565b60006020820190508181036000830152613402816133c6565b9050919050565b60006134148261275c565b915061341f8361275c565b925082820390506bffffffffffffffffffffffff81111561344357613442612f01565b5b92915050565b600061346461345f61345a846125bc565b6131d2565b61275c565b9050919050565b61347481613449565b82525050565b600060408201905061348f60008301856129be565b61349c602083018461346b565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134d9602083612b13565b91506134e4826134a3565b602082019050919050565b60006020820190508181036000830152613508816134cc565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613545601083612b13565b91506135508261350f565b602082019050919050565b6000602082019050818103600083015261357481613538565b9050919050565b7f546f6b656e4e6f74537570706f72746564000000000000000000000000000000600082015250565b60006135b1601183612b13565b91506135bc8261357b565b602082019050919050565b600060208201905081810360008301526135e0816135a4565b9050919050565b7f416d6f756e7449735a65726f0000000000000000000000000000000000000000600082015250565b600061361d600c83612b13565b9150613628826135e7565b602082019050919050565b6000602082019050818103600083015261364c81613610565b9050919050565b7f5468726f775a65726f4164647265737300000000000000000000000000000000600082015250565b6000613689601083612b13565b915061369482613653565b602082019050919050565b600060208201905081810360008301526136b88161367c565b9050919050565b7f496e76616c696453656e646572466565526563697069656e7400000000000000600082015250565b60006136f5601983612b13565b9150613700826136bf565b602082019050919050565b60006020820190508181036000830152613724816136e8565b9050919050565b7f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960008201527f6e697469616c697a696e67000000000000000000000000000000000000000000602082015250565b6000613787602b83612b13565b91506137928261372b565b604082019050919050565b600060208201905081810360008301526137b68161377a565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006137f3601483612b13565b91506137fe826137bd565b602082019050919050565b60006020820190508181036000830152613822816137e6565b905091905056fea26474726f6e582212200a12cda2b8925ec60d84c61e662e75dbaf1665a2efbe22d6c3b15f9d5b5ba44764736f6c63430008120033", + "sourceMap": "390:6884:0:-:0;;;708:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;726:22;:20;;;:22;;:::i;:::-;390:6884;;5939:280:5;6007:13;;;;;;;;;;;6006:14;5998:66;;;;;;;;;;;;:::i;:::-;;;;;;;;;6094:15;6078:31;;:12;;;;;;;;;;:31;;;6074:139;;6140:15;6125:12;;:30;;;;;;;;;;;;;;;;;;6174:28;6186:15;6174:28;;;;;;:::i;:::-;;;;;;;;6074:139;5939:280::o;7:169:10:-;91:11;125:6;120:3;113:19;165:4;160:3;156:14;141:29;;7:169;;;;:::o;182:226::-;322:34;318:1;310:6;306:14;299:58;391:9;386:2;378:6;374:15;367:34;182:226;:::o;414:366::-;556:3;577:67;641:2;636:3;577:67;:::i;:::-;570:74;;653:93;742:3;653:93;:::i;:::-;771:2;766:3;762:12;755:19;;414:366;;;:::o;786:419::-;952:4;990:2;979:9;975:18;967:26;;1039:9;1033:4;1029:20;1025:1;1014:9;1010:17;1003:47;1067:131;1193:4;1067:131;:::i;:::-;1059:139;;786:419;;;:::o;1211:86::-;1246:7;1286:4;1279:5;1275:16;1264:27;;1211:86;;;:::o;1303:112::-;1386:22;1402:5;1386:22;:::i;:::-;1381:3;1374:35;1303:112;;:::o;1421:214::-;1510:4;1548:2;1537:9;1533:18;1525:26;;1561:67;1625:1;1614:9;1610:17;1601:6;1561:67;:::i;:::-;1421:214;;;;:::o;390:6884:0:-;;;;;;;", + "deployedSourceMap": "390:6884:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1421:56;;;:::i;:::-;;2293:551:1;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1894:170;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1879:84:6;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2085:101:4;;;:::i;:::-;;5690:896:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6975:142;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;6819:107;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2031:212:3;;;:::i;:::-;;1709:1331:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;795:114;;;:::i;:::-;;1325:52;;;:::i;:::-;;1462:85:4;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;7163:109:0;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;1426:335:1;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1144:99:3;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4097:1554:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1436:178:3;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1421:56:0;1355:13:4;:11;:13::i;:::-;1463:10:0::1;:8;:10::i;:::-;1421:56::o:0;2293:551:1:-;1355:13:4;:11;:13::i;:::-;2401:1:1::1;2384:19;;:5;:19;;::::0;2376:53:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2433:12;2453:18;:4;:18:::0;2449:326:::1;;2505:5;2486:24;;:15;;;;;;;;;;;:24;;::::0;2478:74:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2575:5;2557:15;;:23;;;;;;;;;;;;;;;;;;2595:4;2585:14;;2449:326;;;2614:20;:4;:20:::0;2610:165:::1;;2671:5;2649:27;;:18;;;;;;;;;;;:27;;::::0;2641:79:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2746:5;2725:18;;:26;;;;;;;;;;;;;;;;;;2766:4;2756:14;;2610:165;2449:326;2782:7;2778:63;;;2830:5;2801:35;;2824:4;2801:35;;;;;;;;;;2778:63;2372:472;2293:551:::0;;:::o;1894:170::-;1355:13:4;:11;:13::i;:::-;1993:19:1::1;1972:18;;:40;;;;;;;;;;;;;;;;;;2021:39;2040:19;2021:39;;;;;;:::i;:::-;;;;;;;;1894:170:::0;:::o;1879:84:6:-;1926:4;1949:7;;;;;;;;;;;1942:14;;1879:84;:::o;2085:101:4:-;1355:13;:11;:13::i;:::-;2149:30:::1;2176:1;2149:18;:30::i;:::-;2085:101::o:0;5690:896:0:-;5771:4;1044:18;;;;;;;;;;;1030:32;;:10;:32;;;1022:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;5841:5:::1;:15;5847:8;5841:15;;;;;;;;;;;:27;;;;;;;;;;;;5840:28;5832:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;5900:5;:15;5906:8;5900:15;;;;;;;;;;;:26;;;;;;;;;;;;5899:27;5891:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;5987:4;5956:5;:15;5962:8;5956:15;;;;;;;;;;;:27;;;:35;;5948:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;6070:5;:15;6076:8;6070:15;;;;;;;;;;;:21;;;;;;;;;;;;6063:38;;;6102:15;;;;;;;;;;;6119:4;6063:61;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6182:4;6153:5;:15;6159:8;6153:15;;;;;;;;;;;:26;;;:33;;;;;;;;;;;;;;;;;;6219:1;6190:5;:15;6196:8;6190:15;;;;;;;;;;;:26;;;:30;;;;;;;;;;;;;;;;;;6259:20;6307:4;6282:5;:15;6288:8;6282:15;;;;;;;;;;;:22;;;:29;;;;:::i;:::-;6259:52;;6388:5;:15;6394:8;6388:15;;;;;;;;;;;:21;;;;;;;;;;;;6381:38;;;6424:5;:15;6430:8;6424:15;;;;;;;;;;;:29;;;;;;;;;;;;6473:5;:15;6479:8;6473:15;;;;;;;;;;;:25;;;6458:12;:40;;;;:::i;:::-;6381:121;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6557:8;6537:29;6551:4;6537:29;;;;;;:::i;:::-;;;;;;;;6578:4;6571:11;;;5690:896:::0;;;;:::o;6975:142::-;7040:4;7083:1;7054:17;:25;7072:6;7054:25;;;;;;;;;;;;;;;;:30;7050:47;;7093:4;7086:11;;;;7050:47;7108:5;7101:12;;6975:142;;;;:::o;6819:107::-;6882:12;;:::i;:::-;6907:5;:15;6913:8;6907:15;;;;;;;;;;;6900:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6819:107;;;:::o;2031:212:3:-;2083:14;2100:12;:10;:12::i;:::-;2083:29;;2148:6;2130:24;;:14;:12;:14::i;:::-;:24;;;2122:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;2210:26;2229:6;2210:18;:26::i;:::-;2073:170;2031:212::o;1709:1331:0:-;1928:15;1503:19:6;:17;:19::i;:::-;1979:74:0::1;1988:6;1996:7;2005:14;2021:19;2042:10;1979:8;:74::i;:::-;2121:1;2098:11;;2092:25;;:30:::0;2084:61:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2205:6;2198:27;;;2226:10;2246:4;2263:10;2253:7;:20;;;;:::i;:::-;2198:76;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2329:6;:18;2336:10;2329:18;;;;;;;;;;;;;;;;:20;;;;;;;;;:::i;:::-;;;;;;2434:10;2446:6;:18;2453:10;2446:18;;;;;;;;;;;;;;;;2423:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2413:53;;;;;;2403:63;;2495:20;2551:7;;2529:18;;;;;;;;;;;2519:28;;:7;:28;;;;:::i;:::-;2518:40;;;;:::i;:::-;2495:63;;2579:283;;;;;;;;2598:10;2579:283;;;;;;2620:6;2579:283;;;;;;2651:19;2579:283;;;;;;2686:10;2579:283;;;;2714:12;2579:283;;;;2744:5;2579:283;;;;;;2766:5;2579:283;;;;;;2791:14;2579:283;;;;;;2829:7;;2579:283;;;;;;;;2850:7;2579:283;;::::0;2562:5:::1;:14;2568:7;2562:14;;;;;;;;;;;:300;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2956:5;:14;2962:7;2956:14;;;;;;;;;;;:21;;;2945:6;2902:134;;2919:5;:14;2925:7;2919:14;;;;;;;;;;;:21;;;;;;;;;;;;2902:134;;;2982:12;2999:7;3011:5;3021:11;;2902:134;;;;;;;;;;:::i;:::-;;;;;;;;1945:1095;1709:1331:::0;;;;;;;;;;:::o;795:114::-;3279:19:5;3302:13;;;;;;;;;;;3301:14;3279:36;;3347:14;:34;;;;;3380:1;3365:12;;;;;;;;;;:16;;;3347:34;3346:108;;;;3388:44;3426:4;3388:29;:44::i;:::-;3387:45;:66;;;;;3452:1;3436:12;;;;;;;;;;:17;;;3387:66;3346:108;3325:201;;;;;;;;;;;;:::i;:::-;;;;;;;;;3551:1;3536:12;;:16;;;;;;;;;;;;;;;;;;3566:14;3562:65;;;3612:4;3596:13;;:20;;;;;;;;;;;;;;;;;;3562:65;852:7:0::1;842;:17;;;;863:21;:19;:21::i;:::-;888:17;:15;:17::i;:::-;3651:14:5::0;3647:99;;;3697:5;3681:13;;:21;;;;;;;;;;;;;;;;;;3721:14;3733:1;3721:14;;;;;;:::i;:::-;;;;;;;;3647:99;3269:483;795:114:0:o;1325:52::-;1355:13:4;:11;:13::i;:::-;1365:8:0::1;:6;:8::i;:::-;1325:52::o:0;1462:85:4:-;1508:7;1534:6;;;;;;;;;;;1527:13;;1462:85;:::o;7163:109:0:-;7211:6;7219:7;7240:18;;;;;;;;;;;7260:7;;7232:36;;;;7163:109;;:::o;1426:335:1:-;1355:13:4;:11;:13::i;:::-;1547:1:1::1;1530:19;;:5;:19;;::::0;1522:53:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;1597:1;1587:6;:11;:26;;;;1612:1;1602:6;:11;1587:26;1579:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;1649:15;:4;:15:::0;1645:113:::1;;1698:6;1671:17;:24;1689:5;1671:24;;;;;;;;;;;;;;;:33;;;;1739:5;1714:39;;1733:4;1714:39;1746:6;1714:39;;;;;;:::i;:::-;;;;;;;;1645:113;1426:335:::0;;;:::o;1144:99:3:-;1197:7;1223:13;;;;;;;;;;;1216:20;;1144:99;:::o;4097:1554:0:-;4249:4;1044:18;;;;;;;;;;;1030:32;;:10;:32;;;1022:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;4319:5:::1;:15;4325:8;4319:15;;;;;;;;;;;:27;;;;;;;;;;;;4318:28;4310:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;4378:5;:15;4384:8;4378:15;;;;;;;;;;;:26;;;;;;;;;;;;4377:27;4369:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;4459:13;4475:5;:15;4481:8;4475:15;;;;;;;;;;;:21;;;;;;;;;;;;4459:37;;4593:14;4563:44;;:5;:15;4569:8;4563:15;;;;;;;;;;;:26;;;:44;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4646:1;4616:5;:15;4622:8;4616:15;;;;;;;;;;;:26;;;;;;;;;;;;:31;;::::0;4612:453:::1;;4729:4;4699:5;:15;4705:8;4699:15;;;;;;;;;;;:27;;;:34;;;;;;;;;;;;;;;;;;4772:1;4743:5;:15;4749:8;4743:15;;;;;;;;;;;:25;;;:30;4739:321;;4815:5;:15;4821:8;4815:15;;;;;;;;;;;:21;;;;;;;;;;;;4808:38;;;4853:5;:15;4859:8;4853:15;;;;;;;;;;;:34;;;;;;;;;;;;4894:5;:15;4900:8;4894:15;;;;;;;;;;;:25;;;4808:117;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5023:5;:15;5029:8;5023:15;;;;;;;;;;;:25;;;4982:5;:15;4988:8;4982:15;;;;;;;;;;;:34;;;;;;;;;;;;4955:99;;;;;;;;;;;;4739:321;4612:453;5105:31;5183:7;;5165:14;5140:39;;:5;:15;5146:8;5140:15;;;;;;;;;;;:22;;;:39;;;;:::i;:::-;5139:51;;;;:::i;:::-;5105:85;;5220:23;5194:5;:15;5200:8;5194:15;;;;;;;;;;;:22;;;:49;;;;;;;:::i;:::-;;;;;;;;5248:19;5319:7;;5297:18;;;;;;;;;;;5271:44;;:23;:44;;;;:::i;:::-;5270:56;;;;:::i;:::-;5248:78;;5357:11;5330:38;;;;;:::i;:::-;;;5407:5;5400:22;;;5423:15;;;;;;;;;;;5440:11;5400:52;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5464:5;5457:22;;;5480:18;5500:23;5457:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;5596:18;5558:73;;5586:8;5558:73;5571:13;5616:14;5558:73;;;;;;;:::i;:::-;;;;;;;;5643:4;5636:11;;;;;4097:1554:::0;;;;;;:::o;1436:178:3:-;1355:13:4;:11;:13::i;:::-;1541:8:3::1;1525:13;;:24;;;;;;;;;;;;;;;;;;1598:8;1564:43;;1589:7;:5;:7::i;:::-;1564:43;;;;;;;;;;;;1436:178:::0;:::o;1620:130:4:-;1694:12;:10;:12::i;:::-;1683:23;;:7;:5;:7::i;:::-;:23;;;1675:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1620:130::o;2697:117:6:-;1750:16;:14;:16::i;:::-;2765:5:::1;2755:7;;:15;;;;;;;;;;;;;;;;;;2785:22;2794:12;:10;:12::i;:::-;2785:22;;;;;;:::i;:::-;;;;;;;;2697:117::o:0;1798:153:3:-;1887:13;;1880:20;;;;;;;;;;;1910:34;1935:8;1910:24;:34::i;:::-;1798:153;:::o;886:96:8:-;939:7;965:10;958:17;;886:96;:::o;2031:106:6:-;2101:8;:6;:8::i;:::-;2100:9;2092:38;;;;;;;;;;;;:::i;:::-;;;;;;;;;2031:106::o;3433:427:0:-;3625:1;3596:17;:25;3614:6;3596:25;;;;;;;;;;;;;;;;:30;3588:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;3671:1;3660:7;:12;3652:37;;;;;;;;;;;;:::i;:::-;;;;;;;;;3727:1;3701:28;;:14;:28;;;3693:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;3773:1;3759:10;:15;3755:102;;3820:1;3789:33;;:19;:33;;;3781:71;;;;;;;;;;;;:::i;:::-;;;;;;;;;3755:102;3433:427;;;;;:::o;1423:320:7:-;1483:4;1735:1;1713:7;:19;;;:23;1706:30;;1423:320;;;:::o;889:100:3:-;5374:13:5;;;;;;;;;;;5366:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;956:26:3::1;:24;:26::i;:::-;889:100::o:0;1084:97:6:-;5374:13:5;;;;;;;;;;;5366:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;1147:27:6::1;:25;:27::i;:::-;1084:97::o:0;2450:115::-;1503:19;:17;:19::i;:::-;2519:4:::1;2509:7;;:14;;;;;;;;;;;;;;;;;;2538:20;2545:12;:10;:12::i;:::-;2538:20;;;;;;:::i;:::-;;;;;;;;2450:115::o:0;2209:106::-;2275:8;:6;:8::i;:::-;2267:41;;;;;;;;;;;;:::i;:::-;;;;;;;;;2209:106::o;2687:187:4:-;2760:16;2779:6;;;;;;;;;;;2760:25;;2804:8;2795:6;;:17;;;;;;;;;;;;;;;;;;2858:8;2827:40;;2848:8;2827:40;;;;;;;;;;;;2750:124;2687:187;:::o;1125:111::-;5374:13:5;;;;;;;;;;;5366:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;1197:32:4::1;1216:12;:10;:12::i;:::-;1197:18;:32::i;:::-;1125:111::o:0;1187:95:6:-;5374:13:5;;;;;;;;;;;5366:69;;;;;;;;;;;;:::i;:::-;;;;;;;;;1270:5:6::1;1260:7;;:15;;;;;;;;;;;;;;;;;;1187:95::o:0;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;88:117:10:-;197:1;194;187:12;211:117;320:1;317;310:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:128::-;727:7;767:44;760:5;756:56;745:67;;690:128;;;:::o;824:122::-;897:24;915:5;897:24;:::i;:::-;890:5;887:35;877:63;;936:1;933;926:12;877:63;824:122;:::o;952:126::-;989:7;1029:42;1022:5;1018:54;1007:65;;952:126;;;:::o;1084:96::-;1121:7;1150:24;1168:5;1150:24;:::i;:::-;1139:35;;1084:96;;;:::o;1186:181::-;1232:5;1270:6;1257:20;1248:29;;1286:33;1313:5;1286:33;:::i;:::-;1337:24;1355:5;1337:24;:::i;:::-;1328:33;;1186:181;;;;:::o;1373:474::-;1441:6;1449;1498:2;1486:9;1477:7;1473:23;1469:32;1466:119;;;1504:79;;:::i;:::-;1466:119;1624:1;1649:53;1694:7;1685:6;1674:9;1670:22;1649:53;:::i;:::-;1639:63;;1595:117;1751:2;1777:53;1822:7;1813:6;1802:9;1798:22;1777:53;:::i;:::-;1767:63;;1722:118;1373:474;;;;;:::o;1853:101::-;1889:7;1929:18;1922:5;1918:30;1907:41;;1853:101;;;:::o;1960:120::-;2032:23;2049:5;2032:23;:::i;:::-;2025:5;2022:34;2012:62;;2070:1;2067;2060:12;2012:62;1960:120;:::o;2086:137::-;2131:5;2169:6;2156:20;2147:29;;2185:32;2211:5;2185:32;:::i;:::-;2086:137;;;;:::o;2229:327::-;2287:6;2336:2;2324:9;2315:7;2311:23;2307:32;2304:119;;;2342:79;;:::i;:::-;2304:119;2462:1;2487:52;2531:7;2522:6;2511:9;2507:22;2487:52;:::i;:::-;2477:62;;2433:116;2229:327;;;;:::o;2562:90::-;2596:7;2639:5;2632:13;2625:21;2614:32;;2562:90;;;:::o;2658:109::-;2739:21;2754:5;2739:21;:::i;:::-;2734:3;2727:34;2658:109;;:::o;2773:210::-;2860:4;2898:2;2887:9;2883:18;2875:26;;2911:65;2973:1;2962:9;2958:17;2949:6;2911:65;:::i;:::-;2773:210;;;;:::o;2989:77::-;3026:7;3055:5;3044:16;;2989:77;;;:::o;3072:122::-;3145:24;3163:5;3145:24;:::i;:::-;3138:5;3135:35;3125:63;;3184:1;3181;3174:12;3125:63;3072:122;:::o;3200:139::-;3246:5;3284:6;3271:20;3262:29;;3300:33;3327:5;3300:33;:::i;:::-;3200:139;;;;:::o;3345:474::-;3413:6;3421;3470:2;3458:9;3449:7;3445:23;3441:32;3438:119;;;3476:79;;:::i;:::-;3438:119;3596:1;3621:53;3666:7;3657:6;3646:9;3642:22;3621:53;:::i;:::-;3611:63;;3567:117;3723:2;3749:53;3794:7;3785:6;3774:9;3770:22;3749:53;:::i;:::-;3739:63;;3694:118;3345:474;;;;;:::o;3825:329::-;3884:6;3933:2;3921:9;3912:7;3908:23;3904:32;3901:119;;;3939:79;;:::i;:::-;3901:119;4059:1;4084:53;4129:7;4120:6;4109:9;4105:22;4084:53;:::i;:::-;4074:63;;4030:117;3825:329;;;;:::o;4160:::-;4219:6;4268:2;4256:9;4247:7;4243:23;4239:32;4236:119;;;4274:79;;:::i;:::-;4236:119;4394:1;4419:53;4464:7;4455:6;4444:9;4440:22;4419:53;:::i;:::-;4409:63;;4365:117;4160:329;;;;:::o;4495:108::-;4572:24;4590:5;4572:24;:::i;:::-;4567:3;4560:37;4495:108;;:::o;4609:::-;4686:24;4704:5;4686:24;:::i;:::-;4681:3;4674:37;4609:108;;:::o;4723:99::-;4794:21;4809:5;4794:21;:::i;:::-;4789:3;4782:34;4723:99;;:::o;4828:109::-;4864:7;4904:26;4897:5;4893:38;4882:49;;4828:109;;;:::o;4943:105::-;5018:23;5035:5;5018:23;:::i;:::-;5013:3;5006:36;4943:105;;:::o;5108:1948::-;5249:6;5244:3;5240:16;5340:4;5333:5;5329:16;5323:23;5359:63;5416:4;5411:3;5407:14;5393:12;5359:63;:::i;:::-;5266:166;5515:4;5508:5;5504:16;5498:23;5534:63;5591:4;5586:3;5582:14;5568:12;5534:63;:::i;:::-;5442:165;5703:4;5696:5;5692:16;5686:23;5722:63;5779:4;5774:3;5770:14;5756:12;5722:63;:::i;:::-;5617:178;5882:4;5875:5;5871:16;5865:23;5901:63;5958:4;5953:3;5949:14;5935:12;5901:63;:::i;:::-;5805:169;6063:4;6056:5;6052:16;6046:23;6082:63;6139:4;6134:3;6130:14;6116:12;6082:63;:::i;:::-;5984:171;6244:4;6237:5;6233:16;6227:23;6263:57;6314:4;6309:3;6305:14;6291:12;6263:57;:::i;:::-;6165:165;6418:4;6411:5;6407:16;6401:23;6437:57;6488:4;6483:3;6479:14;6465:12;6437:57;:::i;:::-;6340:164;6595:4;6588:5;6584:16;6578:23;6614:63;6671:4;6666:3;6662:14;6648:12;6614:63;:::i;:::-;6514:173;6775:6;6768:5;6764:18;6758:25;6796:63;6851:6;6846:3;6842:16;6828:12;6796:63;:::i;:::-;6697:172;6953:6;6946:5;6942:18;6936:25;6974:65;7031:6;7026:3;7022:16;7008:12;6974:65;:::i;:::-;6879:170;5218:1838;5108:1948;;:::o;7062:311::-;7199:4;7237:3;7226:9;7222:19;7214:27;;7251:115;7363:1;7352:9;7348:17;7339:6;7251:115;:::i;:::-;7062:311;;;;:::o;7379:120::-;7451:23;7468:5;7451:23;:::i;:::-;7444:5;7441:34;7431:62;;7489:1;7486;7479:12;7431:62;7379:120;:::o;7505:137::-;7550:5;7588:6;7575:20;7566:29;;7604:32;7630:5;7604:32;:::i;:::-;7505:137;;;;:::o;7648:117::-;7757:1;7754;7747:12;7771:117;7880:1;7877;7870:12;7894:117;8003:1;8000;7993:12;8031:553;8089:8;8099:6;8149:3;8142:4;8134:6;8130:17;8126:27;8116:122;;8157:79;;:::i;:::-;8116:122;8270:6;8257:20;8247:30;;8300:18;8292:6;8289:30;8286:117;;;8322:79;;:::i;:::-;8286:117;8436:4;8428:6;8424:17;8412:29;;8490:3;8482:4;8474:6;8470:17;8460:8;8456:32;8453:41;8450:128;;;8497:79;;:::i;:::-;8450:128;8031:553;;;;;:::o;8590:1401::-;8714:6;8722;8730;8738;8746;8754;8762;8770;8819:3;8807:9;8798:7;8794:23;8790:33;8787:120;;;8826:79;;:::i;:::-;8787:120;8946:1;8971:53;9016:7;9007:6;8996:9;8992:22;8971:53;:::i;:::-;8961:63;;8917:117;9073:2;9099:53;9144:7;9135:6;9124:9;9120:22;9099:53;:::i;:::-;9089:63;;9044:118;9201:2;9227:52;9271:7;9262:6;9251:9;9247:22;9227:52;:::i;:::-;9217:62;;9172:117;9328:2;9354:53;9399:7;9390:6;9379:9;9375:22;9354:53;:::i;:::-;9344:63;;9299:118;9456:3;9483:53;9528:7;9519:6;9508:9;9504:22;9483:53;:::i;:::-;9473:63;;9427:119;9585:3;9612:53;9657:7;9648:6;9637:9;9633:22;9612:53;:::i;:::-;9602:63;;9556:119;9742:3;9731:9;9727:19;9714:33;9774:18;9766:6;9763:30;9760:117;;;9796:79;;:::i;:::-;9760:117;9909:65;9966:7;9957:6;9946:9;9942:22;9909:65;:::i;:::-;9891:83;;;;9685:299;8590:1401;;;;;;;;;;;:::o;9997:118::-;10084:24;10102:5;10084:24;:::i;:::-;10079:3;10072:37;9997:118;;:::o;10121:222::-;10214:4;10252:2;10241:9;10237:18;10229:26;;10265:71;10333:1;10322:9;10318:17;10309:6;10265:71;:::i;:::-;10121:222;;;;:::o;10349:118::-;10436:24;10454:5;10436:24;:::i;:::-;10431:3;10424:37;10349:118;;:::o;10473:222::-;10566:4;10604:2;10593:9;10589:18;10581:26;;10617:71;10685:1;10674:9;10670:17;10661:6;10617:71;:::i;:::-;10473:222;;;;:::o;10701:115::-;10786:23;10803:5;10786:23;:::i;:::-;10781:3;10774:36;10701:115;;:::o;10822:118::-;10909:24;10927:5;10909:24;:::i;:::-;10904:3;10897:37;10822:118;;:::o;10946:328::-;11065:4;11103:2;11092:9;11088:18;11080:26;;11116:69;11182:1;11171:9;11167:17;11158:6;11116:69;:::i;:::-;11195:72;11263:2;11252:9;11248:18;11239:6;11195:72;:::i;:::-;10946:328;;;;;:::o;11280:619::-;11357:6;11365;11373;11422:2;11410:9;11401:7;11397:23;11393:32;11390:119;;;11428:79;;:::i;:::-;11390:119;11548:1;11573:53;11618:7;11609:6;11598:9;11594:22;11573:53;:::i;:::-;11563:63;;11519:117;11675:2;11701:53;11746:7;11737:6;11726:9;11722:22;11701:53;:::i;:::-;11691:63;;11646:118;11803:2;11829:53;11874:7;11865:6;11854:9;11850:22;11829:53;:::i;:::-;11819:63;;11774:118;11280:619;;;;;:::o;11905:763::-;11990:6;11998;12006;12014;12063:3;12051:9;12042:7;12038:23;12034:33;12031:120;;;12070:79;;:::i;:::-;12031:120;12190:1;12215:53;12260:7;12251:6;12240:9;12236:22;12215:53;:::i;:::-;12205:63;;12161:117;12317:2;12343:53;12388:7;12379:6;12368:9;12364:22;12343:53;:::i;:::-;12333:63;;12288:118;12445:2;12471:53;12516:7;12507:6;12496:9;12492:22;12471:53;:::i;:::-;12461:63;;12416:118;12573:2;12599:52;12643:7;12634:6;12623:9;12619:22;12599:52;:::i;:::-;12589:62;;12544:117;11905:763;;;;;;;:::o;12674:169::-;12758:11;12792:6;12787:3;12780:19;12832:4;12827:3;12823:14;12808:29;;12674:169;;;;:::o;12849:171::-;12989:23;12985:1;12977:6;12973:14;12966:47;12849:171;:::o;13026:366::-;13168:3;13189:67;13253:2;13248:3;13189:67;:::i;:::-;13182:74;;13265:93;13354:3;13265:93;:::i;:::-;13383:2;13378:3;13374:12;13367:19;;13026:366;;;:::o;13398:419::-;13564:4;13602:2;13591:9;13587:18;13579:26;;13651:9;13645:4;13641:20;13637:1;13626:9;13622:17;13615:47;13679:131;13805:4;13679:131;:::i;:::-;13671:139;;13398:419;;;:::o;13823:224::-;13963:34;13959:1;13951:6;13947:14;13940:58;14032:7;14027:2;14019:6;14015:15;14008:32;13823:224;:::o;14053:366::-;14195:3;14216:67;14280:2;14275:3;14216:67;:::i;:::-;14209:74;;14292:93;14381:3;14292:93;:::i;:::-;14410:2;14405:3;14401:12;14394:19;;14053:366;;;:::o;14425:419::-;14591:4;14629:2;14618:9;14614:18;14606:26;;14678:9;14672:4;14668:20;14664:1;14653:9;14649:17;14642:47;14706:131;14832:4;14706:131;:::i;:::-;14698:139;;14425:419;;;:::o;14850:226::-;14990:34;14986:1;14978:6;14974:14;14967:58;15059:9;15054:2;15046:6;15042:15;15035:34;14850:226;:::o;15082:366::-;15224:3;15245:67;15309:2;15304:3;15245:67;:::i;:::-;15238:74;;15321:93;15410:3;15321:93;:::i;:::-;15439:2;15434:3;15430:12;15423:19;;15082:366;;;:::o;15454:419::-;15620:4;15658:2;15647:9;15643:18;15635:26;;15707:9;15701:4;15697:20;15693:1;15682:9;15678:17;15671:47;15735:131;15861:4;15735:131;:::i;:::-;15727:139;;15454:419;;;:::o;15879:218::-;15970:4;16008:2;15997:9;15993:18;15985:26;;16021:69;16087:1;16076:9;16072:17;16063:6;16021:69;:::i;:::-;15879:218;;;;:::o;16103:164::-;16243:16;16239:1;16231:6;16227:14;16220:40;16103:164;:::o;16273:366::-;16415:3;16436:67;16500:2;16495:3;16436:67;:::i;:::-;16429:74;;16512:93;16601:3;16512:93;:::i;:::-;16630:2;16625:3;16621:12;16614:19;;16273:366;;;:::o;16645:419::-;16811:4;16849:2;16838:9;16834:18;16826:26;;16898:9;16892:4;16888:20;16884:1;16873:9;16869:17;16862:47;16926:131;17052:4;16926:131;:::i;:::-;16918:139;;16645:419;;;:::o;17070:164::-;17210:16;17206:1;17198:6;17194:14;17187:40;17070:164;:::o;17240:366::-;17382:3;17403:67;17467:2;17462:3;17403:67;:::i;:::-;17396:74;;17479:93;17568:3;17479:93;:::i;:::-;17597:2;17592:3;17588:12;17581:19;;17240:366;;;:::o;17612:419::-;17778:4;17816:2;17805:9;17801:18;17793:26;;17865:9;17859:4;17855:20;17851:1;17840:9;17836:17;17829:47;17893:131;18019:4;17893:131;:::i;:::-;17885:139;;17612:419;;;:::o;18037:163::-;18177:15;18173:1;18165:6;18161:14;18154:39;18037:163;:::o;18206:366::-;18348:3;18369:67;18433:2;18428:3;18369:67;:::i;:::-;18362:74;;18445:93;18534:3;18445:93;:::i;:::-;18563:2;18558:3;18554:12;18547:19;;18206:366;;;:::o;18578:419::-;18744:4;18782:2;18771:9;18767:18;18759:26;;18831:9;18825:4;18821:20;18817:1;18806:9;18802:17;18795:47;18859:131;18985:4;18859:131;:::i;:::-;18851:139;;18578:419;;;:::o;19003:171::-;19143:23;19139:1;19131:6;19127:14;19120:47;19003:171;:::o;19180:366::-;19322:3;19343:67;19407:2;19402:3;19343:67;:::i;:::-;19336:74;;19419:93;19508:3;19419:93;:::i;:::-;19537:2;19532:3;19528:12;19521:19;;19180:366;;;:::o;19552:419::-;19718:4;19756:2;19745:9;19741:18;19733:26;;19805:9;19799:4;19795:20;19791:1;19780:9;19776:17;19769:47;19833:131;19959:4;19833:131;:::i;:::-;19825:139;;19552:419;;;:::o;19977:332::-;20098:4;20136:2;20125:9;20121:18;20113:26;;20149:71;20217:1;20206:9;20202:17;20193:6;20149:71;:::i;:::-;20230:72;20298:2;20287:9;20283:18;20274:6;20230:72;:::i;:::-;19977:332;;;;;:::o;20315:116::-;20385:21;20400:5;20385:21;:::i;:::-;20378:5;20375:32;20365:60;;20421:1;20418;20411:12;20365:60;20315:116;:::o;20437:137::-;20491:5;20522:6;20516:13;20507:22;;20538:30;20562:5;20538:30;:::i;:::-;20437:137;;;;:::o;20580:345::-;20647:6;20696:2;20684:9;20675:7;20671:23;20667:32;20664:119;;;20702:79;;:::i;:::-;20664:119;20822:1;20847:61;20900:7;20891:6;20880:9;20876:22;20847:61;:::i;:::-;20837:71;;20793:125;20580:345;;;;:::o;20931:180::-;20979:77;20976:1;20969:88;21076:4;21073:1;21066:15;21100:4;21097:1;21090:15;21117:194;21157:4;21177:20;21195:1;21177:20;:::i;:::-;21172:25;;21211:20;21229:1;21211:20;:::i;:::-;21206:25;;21255:1;21252;21248:9;21240:17;;21279:1;21273:4;21270:11;21267:37;;;21284:18;;:::i;:::-;21267:37;21117:194;;;;:::o;21317:191::-;21357:3;21376:20;21394:1;21376:20;:::i;:::-;21371:25;;21410:20;21428:1;21410:20;:::i;:::-;21405:25;;21453:1;21450;21446:9;21439:16;;21474:3;21471:1;21468:10;21465:36;;;21481:18;;:::i;:::-;21465:36;21317:191;;;;:::o;21514:222::-;21607:4;21645:2;21634:9;21630:18;21622:26;;21658:71;21726:1;21715:9;21711:17;21702:6;21658:71;:::i;:::-;21514:222;;;;:::o;21742:228::-;21882:34;21878:1;21870:6;21866:14;21859:58;21951:11;21946:2;21938:6;21934:15;21927:36;21742:228;:::o;21976:366::-;22118:3;22139:67;22203:2;22198:3;22139:67;:::i;:::-;22132:74;;22215:93;22304:3;22215:93;:::i;:::-;22333:2;22328:3;22324:12;22317:19;;21976:366;;;:::o;22348:419::-;22514:4;22552:2;22541:9;22537:18;22529:26;;22601:9;22595:4;22591:20;22587:1;22576:9;22572:17;22565:47;22629:131;22755:4;22629:131;:::i;:::-;22621:139;;22348:419;;;:::o;22773:168::-;22913:20;22909:1;22901:6;22897:14;22890:44;22773:168;:::o;22947:366::-;23089:3;23110:67;23174:2;23169:3;23110:67;:::i;:::-;23103:74;;23186:93;23275:3;23186:93;:::i;:::-;23304:2;23299:3;23295:12;23288:19;;22947:366;;;:::o;23319:419::-;23485:4;23523:2;23512:9;23508:18;23500:26;;23572:9;23566:4;23562:20;23558:1;23547:9;23543:17;23536:47;23600:131;23726:4;23600:131;:::i;:::-;23592:139;;23319:419;;;:::o;23744:442::-;23893:4;23931:2;23920:9;23916:18;23908:26;;23944:71;24012:1;24001:9;23997:17;23988:6;23944:71;:::i;:::-;24025:72;24093:2;24082:9;24078:18;24069:6;24025:72;:::i;:::-;24107;24175:2;24164:9;24160:18;24151:6;24107:72;:::i;:::-;23744:442;;;;;;:::o;24192:233::-;24231:3;24254:24;24272:5;24254:24;:::i;:::-;24245:33;;24300:66;24293:5;24290:77;24287:103;;24370:18;;:::i;:::-;24287:103;24417:1;24410:5;24406:13;24399:20;;24192:233;;;:::o;24431:410::-;24471:7;24494:20;24512:1;24494:20;:::i;:::-;24489:25;;24528:20;24546:1;24528:20;:::i;:::-;24523:25;;24583:1;24580;24576:9;24605:30;24623:11;24605:30;:::i;:::-;24594:41;;24784:1;24775:7;24771:15;24768:1;24765:22;24745:1;24738:9;24718:83;24695:139;;24814:18;;:::i;:::-;24695:139;24479:362;24431:410;;;;:::o;24847:180::-;24895:77;24892:1;24885:88;24992:4;24989:1;24982:15;25016:4;25013:1;25006:15;25033:185;25073:1;25090:20;25108:1;25090:20;:::i;:::-;25085:25;;25124:20;25142:1;25124:20;:::i;:::-;25119:25;;25163:1;25153:35;;25168:18;;:::i;:::-;25153:35;25210:1;25207;25203:9;25198:14;;25033:185;;;;:::o;25224:60::-;25252:3;25273:5;25266:12;;25224:60;;;:::o;25290:140::-;25339:9;25372:52;25390:33;25399:23;25416:5;25399:23;:::i;:::-;25390:33;:::i;:::-;25372:52;:::i;:::-;25359:65;;25290:140;;;:::o;25436:129::-;25522:36;25552:5;25522:36;:::i;:::-;25517:3;25510:49;25436:129;;:::o;25571:146::-;25668:6;25663:3;25658;25645:30;25709:1;25700:6;25695:3;25691:16;25684:27;25571:146;;;:::o;25723:102::-;25764:6;25815:2;25811:7;25806:2;25799:5;25795:14;25791:28;25781:38;;25723:102;;;:::o;25855:317::-;25953:3;25974:71;26038:6;26033:3;25974:71;:::i;:::-;25967:78;;26055:56;26104:6;26099:3;26092:5;26055:56;:::i;:::-;26136:29;26158:6;26136:29;:::i;:::-;26131:3;26127:39;26120:46;;25855:317;;;;;:::o;26178:662::-;26384:4;26422:3;26411:9;26407:19;26399:27;;26436:71;26504:1;26493:9;26489:17;26480:6;26436:71;:::i;:::-;26517:72;26585:2;26574:9;26570:18;26561:6;26517:72;:::i;:::-;26599:71;26666:2;26655:9;26651:18;26642:6;26599:71;:::i;:::-;26717:9;26711:4;26707:20;26702:2;26691:9;26687:18;26680:48;26745:88;26828:4;26819:6;26811;26745:88;:::i;:::-;26737:96;;26178:662;;;;;;;;:::o;26846:233::-;26986:34;26982:1;26974:6;26970:14;26963:58;27055:16;27050:2;27042:6;27038:15;27031:41;26846:233;:::o;27085:366::-;27227:3;27248:67;27312:2;27307:3;27248:67;:::i;:::-;27241:74;;27324:93;27413:3;27324:93;:::i;:::-;27442:2;27437:3;27433:12;27426:19;;27085:366;;;:::o;27457:419::-;27623:4;27661:2;27650:9;27646:18;27638:26;;27710:9;27704:4;27700:20;27696:1;27685:9;27681:17;27674:47;27738:131;27864:4;27738:131;:::i;:::-;27730:139;;27457:419;;;:::o;27882:85::-;27927:7;27956:5;27945:16;;27882:85;;;:::o;27973:86::-;28008:7;28048:4;28041:5;28037:16;28026:27;;27973:86;;;:::o;28065:154::-;28121:9;28154:59;28170:42;28179:32;28205:5;28179:32;:::i;:::-;28170:42;:::i;:::-;28154:59;:::i;:::-;28141:72;;28065:154;;;:::o;28225:143::-;28318:43;28355:5;28318:43;:::i;:::-;28313:3;28306:56;28225:143;;:::o;28374:234::-;28473:4;28511:2;28500:9;28496:18;28488:26;;28524:77;28598:1;28587:9;28583:17;28574:6;28524:77;:::i;:::-;28374:234;;;;:::o;28614:173::-;28754:25;28750:1;28742:6;28738:14;28731:49;28614:173;:::o;28793:366::-;28935:3;28956:67;29020:2;29015:3;28956:67;:::i;:::-;28949:74;;29032:93;29121:3;29032:93;:::i;:::-;29150:2;29145:3;29141:12;29134:19;;28793:366;;;:::o;29165:419::-;29331:4;29369:2;29358:9;29354:18;29346:26;;29418:9;29412:4;29408:20;29404:1;29393:9;29389:17;29382:47;29446:131;29572:4;29446:131;:::i;:::-;29438:139;;29165:419;;;:::o;29590:216::-;29629:4;29649:19;29666:1;29649:19;:::i;:::-;29644:24;;29682:19;29699:1;29682:19;:::i;:::-;29677:24;;29725:1;29722;29718:9;29710:17;;29749:26;29743:4;29740:36;29737:62;;;29779:18;;:::i;:::-;29737:62;29590:216;;;;:::o;29812:138::-;29860:9;29893:51;29910:33;29919:23;29936:5;29919:23;:::i;:::-;29910:33;:::i;:::-;29893:51;:::i;:::-;29880:64;;29812:138;;;:::o;29956:127::-;30041:35;30070:5;30041:35;:::i;:::-;30036:3;30029:48;29956:127;;:::o;30089:328::-;30208:4;30246:2;30235:9;30231:18;30223:26;;30259:71;30327:1;30316:9;30312:17;30303:6;30259:71;:::i;:::-;30340:70;30406:2;30395:9;30391:18;30382:6;30340:70;:::i;:::-;30089:328;;;;;:::o;30423:182::-;30563:34;30559:1;30551:6;30547:14;30540:58;30423:182;:::o;30611:366::-;30753:3;30774:67;30838:2;30833:3;30774:67;:::i;:::-;30767:74;;30850:93;30939:3;30850:93;:::i;:::-;30968:2;30963:3;30959:12;30952:19;;30611:366;;;:::o;30983:419::-;31149:4;31187:2;31176:9;31172:18;31164:26;;31236:9;31230:4;31226:20;31222:1;31211:9;31207:17;31200:47;31264:131;31390:4;31264:131;:::i;:::-;31256:139;;30983:419;;;:::o;31408:166::-;31548:18;31544:1;31536:6;31532:14;31525:42;31408:166;:::o;31580:366::-;31722:3;31743:67;31807:2;31802:3;31743:67;:::i;:::-;31736:74;;31819:93;31908:3;31819:93;:::i;:::-;31937:2;31932:3;31928:12;31921:19;;31580:366;;;:::o;31952:419::-;32118:4;32156:2;32145:9;32141:18;32133:26;;32205:9;32199:4;32195:20;32191:1;32180:9;32176:17;32169:47;32233:131;32359:4;32233:131;:::i;:::-;32225:139;;31952:419;;;:::o;32377:167::-;32517:19;32513:1;32505:6;32501:14;32494:43;32377:167;:::o;32550:366::-;32692:3;32713:67;32777:2;32772:3;32713:67;:::i;:::-;32706:74;;32789:93;32878:3;32789:93;:::i;:::-;32907:2;32902:3;32898:12;32891:19;;32550:366;;;:::o;32922:419::-;33088:4;33126:2;33115:9;33111:18;33103:26;;33175:9;33169:4;33165:20;33161:1;33150:9;33146:17;33139:47;33203:131;33329:4;33203:131;:::i;:::-;33195:139;;32922:419;;;:::o;33347:162::-;33487:14;33483:1;33475:6;33471:14;33464:38;33347:162;:::o;33515:366::-;33657:3;33678:67;33742:2;33737:3;33678:67;:::i;:::-;33671:74;;33754:93;33843:3;33754:93;:::i;:::-;33872:2;33867:3;33863:12;33856:19;;33515:366;;;:::o;33887:419::-;34053:4;34091:2;34080:9;34076:18;34068:26;;34140:9;34134:4;34130:20;34126:1;34115:9;34111:17;34104:47;34168:131;34294:4;34168:131;:::i;:::-;34160:139;;33887:419;;;:::o;34312:166::-;34452:18;34448:1;34440:6;34436:14;34429:42;34312:166;:::o;34484:366::-;34626:3;34647:67;34711:2;34706:3;34647:67;:::i;:::-;34640:74;;34723:93;34812:3;34723:93;:::i;:::-;34841:2;34836:3;34832:12;34825:19;;34484:366;;;:::o;34856:419::-;35022:4;35060:2;35049:9;35045:18;35037:26;;35109:9;35103:4;35099:20;35095:1;35084:9;35080:17;35073:47;35137:131;35263:4;35137:131;:::i;:::-;35129:139;;34856:419;;;:::o;35281:175::-;35421:27;35417:1;35409:6;35405:14;35398:51;35281:175;:::o;35462:366::-;35604:3;35625:67;35689:2;35684:3;35625:67;:::i;:::-;35618:74;;35701:93;35790:3;35701:93;:::i;:::-;35819:2;35814:3;35810:12;35803:19;;35462:366;;;:::o;35834:419::-;36000:4;36038:2;36027:9;36023:18;36015:26;;36087:9;36081:4;36077:20;36073:1;36062:9;36058:17;36051:47;36115:131;36241:4;36115:131;:::i;:::-;36107:139;;35834:419;;;:::o;36259:230::-;36399:34;36395:1;36387:6;36383:14;36376:58;36468:13;36463:2;36455:6;36451:15;36444:38;36259:230;:::o;36495:366::-;36637:3;36658:67;36722:2;36717:3;36658:67;:::i;:::-;36651:74;;36734:93;36823:3;36734:93;:::i;:::-;36852:2;36847:3;36843:12;36836:19;;36495:366;;;:::o;36867:419::-;37033:4;37071:2;37060:9;37056:18;37048:26;;37120:9;37114:4;37110:20;37106:1;37095:9;37091:17;37084:47;37148:131;37274:4;37148:131;:::i;:::-;37140:139;;36867:419;;;:::o;37292:170::-;37432:22;37428:1;37420:6;37416:14;37409:46;37292:170;:::o;37468:366::-;37610:3;37631:67;37695:2;37690:3;37631:67;:::i;:::-;37624:74;;37707:93;37796:3;37707:93;:::i;:::-;37825:2;37820:3;37816:12;37809:19;;37468:366;;;:::o;37840:419::-;38006:4;38044:2;38033:9;38029:18;38021:26;;38093:9;38087:4;38083:20;38079:1;38068:9;38064:17;38057:47;38121:131;38247:4;38121:131;:::i;:::-;38113:139;;37840:419;;;:::o", + "source": "// SPDX-License-Identifier: UNLICENSED\npragma solidity ^0.8.18;\n\nimport '@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol';\n\nimport {GatewaySettingManager} from './GatewaySettingManager.sol';\nimport {IGateway, IERC20} from './interfaces/IGateway.sol';\n\n/**\n * @title Gateway\n * @notice This contract serves as a gateway for creating orders and managing settlements.\n */\ncontract Gateway is IGateway, GatewaySettingManager, PausableUpgradeable {\n\tstruct fee {\n\t\tuint256 protocolFee;\n\t\tuint256 liquidityProviderAmount;\n\t}\n\n\tmapping(bytes32 => Order) private order;\n\tmapping(address => uint256) private _nonce;\n\tuint256[50] private __gap;\n\n\t/// @custom:oz-upgrades-unsafe-allow constructor\n\tconstructor() {\n\t\t_disableInitializers();\n\t}\n\n\t/**\n\t * @dev Initialize function.\n\t */\n\tfunction initialize() external initializer {\n\t\tMAX_BPS = 100_000;\n\t\t__Ownable2Step_init();\n\t\t__Pausable_init();\n\t}\n\n\t/**\n\t * @dev Modifier that allows only the aggregator to call a function.\n\t */\n\tmodifier onlyAggregator() {\n\t\trequire(msg.sender == _aggregatorAddress, 'OnlyAggregator');\n\t\t_;\n\t}\n\n\t/* ##################################################################\n OWNER FUNCTIONS\n ################################################################## */\n\t/**\n\t * @dev Pause the contract.\n\t */\n\tfunction pause() external onlyOwner {\n\t\t_pause();\n\t}\n\n\t/**\n\t * @dev Unpause the contract.\n\t */\n\tfunction unpause() external onlyOwner {\n\t\t_unpause();\n\t}\n\n\t/* ##################################################################\n USER CALLS\n ################################################################## */\n\t/** @dev See {createOrder-IGateway}. */\n\tfunction createOrder(\n\t\taddress _token,\n\t\tuint256 _amount,\n\t\tuint96 _rate,\n\t\taddress _senderFeeRecipient,\n\t\tuint256 _senderFee,\n\t\taddress _refundAddress,\n\t\tstring calldata messageHash\n\t) external whenNotPaused returns (bytes32 orderId) {\n\t\t// checks that are required\n\t\t_handler(_token, _amount, _refundAddress, _senderFeeRecipient, _senderFee);\n\n\t\t// validate messageHash\n\t\trequire(bytes(messageHash).length != 0, 'InvalidMessageHash');\n\n\t\t// transfer token from msg.sender to contract\n\t\tIERC20(_token).transferFrom(msg.sender, address(this), _amount + _senderFee);\n\n\t\t// increase users nonce to avoid replay attacks\n\t\t_nonce[msg.sender]++;\n\n\t\t// generate transaction id for the transaction\n\t\torderId = keccak256(abi.encode(msg.sender, _nonce[msg.sender]));\n\n\t\t// update transaction\n\t\tuint256 _protocolFee = (_amount * protocolFeePercent) / MAX_BPS;\n\t\torder[orderId] = Order({\n\t\t\tsender: msg.sender,\n\t\t\ttoken: _token,\n\t\t\tsenderFeeRecipient: _senderFeeRecipient,\n\t\t\tsenderFee: _senderFee,\n\t\t\tprotocolFee: _protocolFee,\n\t\t\tisFulfilled: false,\n\t\t\tisRefunded: false,\n\t\t\trefundAddress: _refundAddress,\n\t\t\tcurrentBPS: uint64(MAX_BPS),\n\t\t\tamount: _amount\n\t\t});\n\n\t\t// emit order created event\n\t\temit OrderCreated(\n\t\t\torder[orderId].sender,\n\t\t\t_token,\n\t\t\torder[orderId].amount,\n\t\t\t_protocolFee,\n\t\t\torderId,\n\t\t\t_rate,\n\t\t\tmessageHash\n\t\t);\n\t}\n\n\t/**\n\t * @dev Internal function to handle order creation.\n\t * @param _token The address of the token being traded.\n\t * @param _amount The amount of tokens being traded.\n\t * @param _refundAddress The address to refund the tokens in case of cancellation.\n\t * @param _senderFeeRecipient The address of the recipient for the sender fee.\n\t * @param _senderFee The amount of the sender fee.\n\t */\n\tfunction _handler(\n\t\taddress _token,\n\t\tuint256 _amount,\n\t\taddress _refundAddress,\n\t\taddress _senderFeeRecipient,\n\t\tuint256 _senderFee\n\t) internal view {\n\t\trequire(_isTokenSupported[_token] == 1, 'TokenNotSupported');\n\t\trequire(_amount != 0, 'AmountIsZero');\n\t\trequire(_refundAddress != address(0), 'ThrowZeroAddress');\n\n\t\tif (_senderFee != 0) {\n\t\t\trequire(_senderFeeRecipient != address(0), 'InvalidSenderFeeRecipient');\n\t\t}\n\t}\n\n\t/* ##################################################################\n AGGREGATOR FUNCTIONS\n ################################################################## */\n\t/** @dev See {settle-IGateway}. */\n\tfunction settle(\n\t\tbytes32 _splitOrderId,\n\t\tbytes32 _orderId,\n\t\taddress _liquidityProvider,\n\t\tuint64 _settlePercent\n\t) external onlyAggregator returns (bool) {\n\t\t// ensure the transaction has not been fulfilled\n\t\trequire(!order[_orderId].isFulfilled, 'OrderFulfilled');\n\t\trequire(!order[_orderId].isRefunded, 'OrderRefunded');\n\n\t\t// load the token into memory\n\t\taddress token = order[_orderId].token;\n\n\t\t// subtract sum of amount based on the input _settlePercent\n\t\torder[_orderId].currentBPS -= _settlePercent;\n\n\t\tif (order[_orderId].currentBPS == 0) {\n\t\t\t// update the transaction to be fulfilled\n\t\t\torder[_orderId].isFulfilled = true;\n\n\t\t\tif (order[_orderId].senderFee != 0) {\n\t\t\t\t// transfer sender fee\n\t\t\t\tIERC20(order[_orderId].token).transfer(\n\t\t\t\t\torder[_orderId].senderFeeRecipient,\n\t\t\t\t\torder[_orderId].senderFee\n\t\t\t\t);\n\n\t\t\t\t// emit event\n\t\t\t\temit SenderFeeTransferred(\n\t\t\t\t\torder[_orderId].senderFeeRecipient,\n\t\t\t\t\torder[_orderId].senderFee\n\t\t\t\t);\n\t\t\t}\n\n\t\t}\n\n\t\t// transfer to liquidity provider\n\t\tuint256 liquidityProviderAmount = (order[_orderId].amount * _settlePercent) / MAX_BPS;\n\t\torder[_orderId].amount -= liquidityProviderAmount;\n\n\t\tuint256 protocolFee = (liquidityProviderAmount * protocolFeePercent) / MAX_BPS;\n\t\tliquidityProviderAmount -= protocolFee;\n\n\t\t// transfer protocol fee\n\t\tIERC20(token).transfer(treasuryAddress, protocolFee);\n\n\t\tIERC20(token).transfer(_liquidityProvider, liquidityProviderAmount);\n\n\t\t// emit settled event\n\t\temit OrderSettled(_splitOrderId, _orderId, _liquidityProvider, _settlePercent);\n\n\t\treturn true;\n\t}\n\n\t/** @dev See {refund-IGateway}. */\n\tfunction refund(uint256 _fee, bytes32 _orderId) external onlyAggregator returns (bool) {\n\t\t// ensure the transaction has not been fulfilled\n\t\trequire(!order[_orderId].isFulfilled, 'OrderFulfilled');\n\t\trequire(!order[_orderId].isRefunded, 'OrderRefunded');\n\t\trequire(order[_orderId].protocolFee >= _fee, 'FeeExceedsProtocolFee');\n\n\t\t// transfer refund fee to the treasury\n\t\tIERC20(order[_orderId].token).transfer(treasuryAddress, _fee);\n\n\t\t// reset state values\n\t\torder[_orderId].isRefunded = true;\n\t\torder[_orderId].currentBPS = 0;\n\n\t\t// deduct fee from order amount\n\t\tuint256 refundAmount = order[_orderId].amount - _fee;\n\n\t\t// transfer refund amount and sender fee to the refund address\n\t\tIERC20(order[_orderId].token).transfer(\n\t\t\torder[_orderId].refundAddress,\n\t\t\trefundAmount + order[_orderId].senderFee\n\t\t);\n\n\t\t// emit refunded event\n\t\temit OrderRefunded(_fee, _orderId);\n\n\t\treturn true;\n\t}\n\n\t/* ##################################################################\n VIEW CALLS\n ################################################################## */\n\t/** @dev See {getOrderInfo-IGateway}. */\n\tfunction getOrderInfo(bytes32 _orderId) external view returns (Order memory) {\n\t\treturn order[_orderId];\n\t}\n\n\t/** @dev See {isTokenSupported-IGateway}. */\n\tfunction isTokenSupported(address _token) external view returns (bool) {\n\t\tif (_isTokenSupported[_token] == 1) return true;\n\t\treturn false;\n\t}\n\n\t/** @dev See {getFeeDetails-IGateway}. */\n\tfunction getFeeDetails() external view returns (uint64, uint256) {\n\t\treturn (protocolFeePercent, MAX_BPS);\n\t}\n}\n", "sourcePath": "/Users/encryption/Downloads/projects/paycrest/paycrestContract/contracts/Gateway.sol", "ast": { "absolutePath": "/Users/encryption/Downloads/projects/paycrest/paycrestContract/contracts/Gateway.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "Gateway": [ - 579 + 574 ], "GatewaySettingManager": [ - 763 + 758 ], "IERC20": [ - 2554 + 1892 ], "IGateway": [ - 901 + 896 ], "Initializable": [ - 1380 + 1305 ], "PausableUpgradeable": [ - 1508 + 1433 ] }, - "id": 580, + "id": 575, "license": "UNLICENSED", "nodeType": "SourceUnit", "nodes": [ @@ -680,8 +680,8 @@ "id": 2, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 580, - "sourceUnit": 1509, + "scope": 575, + "sourceUnit": 1434, "src": "65:78:0", "symbolAliases": [], "unitAlias": "" @@ -692,8 +692,8 @@ "id": 4, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 580, - "sourceUnit": 764, + "scope": 575, + "sourceUnit": 759, "src": "145:66:0", "symbolAliases": [ { @@ -702,7 +702,7 @@ "name": "GatewaySettingManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, + "referencedDeclaration": 758, "src": "153:21:0", "typeDescriptions": {} }, @@ -717,8 +717,8 @@ "id": 7, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 580, - "sourceUnit": 902, + "scope": 575, + "sourceUnit": 897, "src": "212:59:0", "symbolAliases": [ { @@ -727,7 +727,7 @@ "name": "IGateway", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 901, + "referencedDeclaration": 896, "src": "220:8:0", "typeDescriptions": {} }, @@ -739,7 +739,7 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "230:6:0", "typeDescriptions": {} }, @@ -759,7 +759,7 @@ "410:8:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 901, + "referencedDeclaration": 896, "src": "410:8:0" }, "id": 10, @@ -774,7 +774,7 @@ "420:21:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 763, + "referencedDeclaration": 758, "src": "420:21:0" }, "id": 12, @@ -789,7 +789,7 @@ "443:19:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1508, + "referencedDeclaration": 1433, "src": "443:19:0" }, "id": 14, @@ -807,16 +807,16 @@ "text": " @title Gateway\n @notice This contract serves as a gateway for creating orders and managing settlements." }, "fullyImplemented": true, - "id": 579, + "id": 574, "linearizedBaseContracts": [ - 579, - 1508, - 763, - 1078, - 1211, - 1889, - 1380, - 901 + 574, + 1433, + 758, + 1003, + 1136, + 1814, + 1305, + 896 ], "name": "Gateway", "nameLocation": "399:7:0", @@ -884,7 +884,7 @@ "name": "fee", "nameLocation": "473:3:0", "nodeType": "StructDefinition", - "scope": 579, + "scope": 574, "src": "466:73:0", "visibility": "public" }, @@ -895,12 +895,12 @@ "name": "order", "nameLocation": "576:5:0", "nodeType": "VariableDeclaration", - "scope": 579, + "scope": 574, "src": "542:39:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order)" }, "typeName": { @@ -920,7 +920,7 @@ "nodeType": "Mapping", "src": "542:25:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order)" }, "valueName": "", @@ -935,13 +935,13 @@ "561:5:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 831, + "referencedDeclaration": 826, "src": "561:5:0" }, - "referencedDeclaration": 831, + "referencedDeclaration": 826, "src": "561:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage_ptr", + "typeIdentifier": "t_struct$_Order_$826_storage_ptr", "typeString": "struct IGateway.Order" } } @@ -955,7 +955,7 @@ "name": "_nonce", "nameLocation": "620:6:0", "nodeType": "VariableDeclaration", - "scope": 579, + "scope": 574, "src": "584:42:0", "stateVariable": true, "storageLocation": "default", @@ -1005,7 +1005,7 @@ "name": "__gap", "nameLocation": "649:5:0", "nodeType": "VariableDeclaration", - "scope": 579, + "scope": 574, "src": "629:25:0", "stateVariable": true, "storageLocation": "default", @@ -1065,7 +1065,7 @@ "name": "_disableInitializers", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1361, + "referencedDeclaration": 1286, "src": "726:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", @@ -1119,7 +1119,7 @@ "parameters": [], "src": "722:0:0" }, - "scope": 579, + "scope": 574, "src": "708:44:0", "stateMutability": "nonpayable", "virtual": false, @@ -1143,7 +1143,7 @@ "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, + "referencedDeclaration": 581, "src": "842:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1187,7 +1187,7 @@ "name": "__Ownable2Step_init", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 998, + "referencedDeclaration": 923, "src": "863:19:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", @@ -1223,7 +1223,7 @@ "name": "__Pausable_init", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1412, + "referencedDeclaration": 1337, "src": "888:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", @@ -1273,7 +1273,7 @@ "826:11:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1282, + "referencedDeclaration": 1207, "src": "826:11:0" }, "nodeType": "ModifierInvocation", @@ -1295,7 +1295,7 @@ "parameters": [], "src": "838:0:0" }, - "scope": 579, + "scope": 574, "src": "795:114:0", "stateMutability": "nonpayable", "virtual": false, @@ -1354,7 +1354,7 @@ "name": "_aggregatorAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 592, + "referencedDeclaration": 587, "src": "1044:18:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1471,7 +1471,7 @@ "name": "_pause", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, + "referencedDeclaration": 1411, "src": "1365:6:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", @@ -1521,7 +1521,7 @@ "1351:9:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, + "referencedDeclaration": 1050, "src": "1351:9:0" }, "nodeType": "ModifierInvocation", @@ -1543,7 +1543,7 @@ "parameters": [], "src": "1361:0:0" }, - "scope": 579, + "scope": 574, "src": "1325:52:0", "stateMutability": "nonpayable", "virtual": false, @@ -1564,7 +1564,7 @@ "name": "_unpause", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, + "referencedDeclaration": 1427, "src": "1463:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", @@ -1614,7 +1614,7 @@ "1449:9:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, + "referencedDeclaration": 1050, "src": "1449:9:0" }, "nodeType": "ModifierInvocation", @@ -1636,7 +1636,7 @@ "parameters": [], "src": "1459:0:0" }, - "scope": 579, + "scope": 574, "src": "1421:56:0", "stateMutability": "nonpayable", "virtual": false, @@ -1644,7 +1644,7 @@ }, { "baseFunctions": [ - 851 + 846 ], "body": { "id": 212, @@ -1980,7 +1980,7 @@ "referencedDeclaration": 4294967268, "src": "2246:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Gateway_$579", + "typeIdentifier": "t_contract$_Gateway_$574", "typeString": "contract Gateway" } } @@ -1988,7 +1988,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Gateway_$579", + "typeIdentifier": "t_contract$_Gateway_$574", "typeString": "contract Gateway" } ], @@ -2111,10 +2111,10 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "2198:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, @@ -2130,7 +2130,7 @@ "src": "2198:14:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, @@ -2142,7 +2142,7 @@ "memberLocation": "2213:12:0", "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 2553, + "referencedDeclaration": 1891, "src": "2198:27:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -2519,7 +2519,7 @@ "name": "protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 588, + "referencedDeclaration": 583, "src": "2529:18:0", "typeDescriptions": { "typeIdentifier": "t_uint64", @@ -2553,7 +2553,7 @@ "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, + "referencedDeclaration": 581, "src": "2551:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -2585,7 +2585,7 @@ "referencedDeclaration": 24, "src": "2562:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -2609,7 +2609,7 @@ "nodeType": "IndexAccess", "src": "2562:14:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -2743,7 +2743,7 @@ "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, + "referencedDeclaration": 581, "src": "2829:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -2853,10 +2853,10 @@ "name": "Order", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 831, + "referencedDeclaration": 826, "src": "2579:5:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Order_$831_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_Order_$826_storage_ptr_$", "typeString": "type(struct IGateway.Order storage pointer)" } }, @@ -2894,13 +2894,13 @@ "src": "2579:283:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_memory_ptr", + "typeIdentifier": "t_struct$_Order_$826_memory_ptr", "typeString": "struct IGateway.Order memory" } }, "src": "2562:300:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -2921,7 +2921,7 @@ "referencedDeclaration": 24, "src": "2919:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -2945,7 +2945,7 @@ "nodeType": "IndexAccess", "src": "2919:14:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -2957,7 +2957,7 @@ "memberLocation": "2934:6:0", "memberName": "sender", "nodeType": "MemberAccess", - "referencedDeclaration": 812, + "referencedDeclaration": 807, "src": "2919:21:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2986,7 +2986,7 @@ "referencedDeclaration": 24, "src": "2956:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -3010,7 +3010,7 @@ "nodeType": "IndexAccess", "src": "2956:14:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -3022,7 +3022,7 @@ "memberLocation": "2971:6:0", "memberName": "amount", "nodeType": "MemberAccess", - "referencedDeclaration": 830, + "referencedDeclaration": 825, "src": "2956:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -3113,7 +3113,7 @@ "name": "OrderCreated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 785, + "referencedDeclaration": 780, "src": "2902:12:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$_t_string_memory_ptr_$returns$__$", @@ -3163,7 +3163,7 @@ "1905:13:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1430, + "referencedDeclaration": 1355, "src": "1905:13:0" }, "nodeType": "ModifierInvocation", @@ -3406,7 +3406,7 @@ ], "src": "1927:17:0" }, - "scope": 579, + "scope": 574, "src": "1709:1331:0", "stateMutability": "nonpayable", "virtual": false, @@ -3437,7 +3437,7 @@ "name": "_isTokenSupported", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 596, + "referencedDeclaration": 591, "src": "3596:17:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", @@ -4201,7 +4201,7 @@ "parameters": [], "src": "3584:0:0" }, - "scope": 579, + "scope": 574, "src": "3433:427:0", "stateMutability": "view", "virtual": false, @@ -4209,7 +4209,7 @@ }, { "baseFunctions": [ - 865 + 860 ], "body": { "id": 425, @@ -4239,7 +4239,7 @@ "referencedDeclaration": 24, "src": "4319:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -4263,7 +4263,7 @@ "nodeType": "IndexAccess", "src": "4319:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -4275,7 +4275,7 @@ "memberLocation": "4335:11:0", "memberName": "isFulfilled", "nodeType": "MemberAccess", - "referencedDeclaration": 822, + "referencedDeclaration": 817, "src": "4319:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4372,7 +4372,7 @@ "referencedDeclaration": 24, "src": "4378:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -4396,7 +4396,7 @@ "nodeType": "IndexAccess", "src": "4378:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -4408,7 +4408,7 @@ "memberLocation": "4394:10:0", "memberName": "isRefunded", "nodeType": "MemberAccess", - "referencedDeclaration": 824, + "referencedDeclaration": 819, "src": "4378:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4527,7 +4527,7 @@ "referencedDeclaration": 24, "src": "4475:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -4551,7 +4551,7 @@ "nodeType": "IndexAccess", "src": "4475:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -4563,7 +4563,7 @@ "memberLocation": "4491:5:0", "memberName": "token", "nodeType": "MemberAccess", - "referencedDeclaration": 814, + "referencedDeclaration": 809, "src": "4475:21:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4590,7 +4590,7 @@ "referencedDeclaration": 24, "src": "4563:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -4614,7 +4614,7 @@ "nodeType": "IndexAccess", "src": "4563:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -4626,7 +4626,7 @@ "memberLocation": "4579:10:0", "memberName": "currentBPS", "nodeType": "MemberAccess", - "referencedDeclaration": 828, + "referencedDeclaration": 823, "src": "4563:26:0", "typeDescriptions": { "typeIdentifier": "t_uint96", @@ -4678,7 +4678,7 @@ "referencedDeclaration": 24, "src": "4616:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -4702,7 +4702,7 @@ "nodeType": "IndexAccess", "src": "4616:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -4714,7 +4714,7 @@ "memberLocation": "4632:10:0", "memberName": "currentBPS", "nodeType": "MemberAccess", - "referencedDeclaration": 828, + "referencedDeclaration": 823, "src": "4616:26:0", "typeDescriptions": { "typeIdentifier": "t_uint96", @@ -4770,7 +4770,7 @@ "referencedDeclaration": 24, "src": "4699:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -4794,7 +4794,7 @@ "nodeType": "IndexAccess", "src": "4699:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -4806,7 +4806,7 @@ "memberLocation": "4715:11:0", "memberName": "isFulfilled", "nodeType": "MemberAccess", - "referencedDeclaration": 822, + "referencedDeclaration": 817, "src": "4699:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4862,7 +4862,7 @@ "referencedDeclaration": 24, "src": "4743:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -4886,7 +4886,7 @@ "nodeType": "IndexAccess", "src": "4743:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -4898,7 +4898,7 @@ "memberLocation": "4759:9:0", "memberName": "senderFee", "nodeType": "MemberAccess", - "referencedDeclaration": 818, + "referencedDeclaration": 813, "src": "4743:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -4950,7 +4950,7 @@ "referencedDeclaration": 24, "src": "4853:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -4974,7 +4974,7 @@ "nodeType": "IndexAccess", "src": "4853:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -4986,7 +4986,7 @@ "memberLocation": "4869:18:0", "memberName": "senderFeeRecipient", "nodeType": "MemberAccess", - "referencedDeclaration": 816, + "referencedDeclaration": 811, "src": "4853:34:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5003,7 +5003,7 @@ "referencedDeclaration": 24, "src": "4894:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -5027,7 +5027,7 @@ "nodeType": "IndexAccess", "src": "4894:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -5039,7 +5039,7 @@ "memberLocation": "4910:9:0", "memberName": "senderFee", "nodeType": "MemberAccess", - "referencedDeclaration": 818, + "referencedDeclaration": 813, "src": "4894:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5070,7 +5070,7 @@ "referencedDeclaration": 24, "src": "4815:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -5094,7 +5094,7 @@ "nodeType": "IndexAccess", "src": "4815:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -5106,7 +5106,7 @@ "memberLocation": "4831:5:0", "memberName": "token", "nodeType": "MemberAccess", - "referencedDeclaration": 814, + "referencedDeclaration": 809, "src": "4815:21:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5125,10 +5125,10 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "4808:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, @@ -5144,7 +5144,7 @@ "src": "4808:29:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, @@ -5156,7 +5156,7 @@ "memberLocation": "4838:8:0", "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 2521, + "referencedDeclaration": 1859, "src": "4808:38:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -5196,7 +5196,7 @@ "referencedDeclaration": 24, "src": "4982:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -5220,7 +5220,7 @@ "nodeType": "IndexAccess", "src": "4982:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -5232,7 +5232,7 @@ "memberLocation": "4998:18:0", "memberName": "senderFeeRecipient", "nodeType": "MemberAccess", - "referencedDeclaration": 816, + "referencedDeclaration": 811, "src": "4982:34:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5249,7 +5249,7 @@ "referencedDeclaration": 24, "src": "5023:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -5273,7 +5273,7 @@ "nodeType": "IndexAccess", "src": "5023:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -5285,7 +5285,7 @@ "memberLocation": "5039:9:0", "memberName": "senderFee", "nodeType": "MemberAccess", - "referencedDeclaration": 818, + "referencedDeclaration": 813, "src": "5023:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5308,7 +5308,7 @@ "name": "SenderFeeTransferred", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 810, + "referencedDeclaration": 805, "src": "4955:20:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", @@ -5407,7 +5407,7 @@ "referencedDeclaration": 24, "src": "5140:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -5431,7 +5431,7 @@ "nodeType": "IndexAccess", "src": "5140:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -5443,7 +5443,7 @@ "memberLocation": "5156:6:0", "memberName": "amount", "nodeType": "MemberAccess", - "referencedDeclaration": 830, + "referencedDeclaration": 825, "src": "5140:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5491,7 +5491,7 @@ "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, + "referencedDeclaration": 581, "src": "5183:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5524,7 +5524,7 @@ "referencedDeclaration": 24, "src": "5194:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -5548,7 +5548,7 @@ "nodeType": "IndexAccess", "src": "5194:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -5560,7 +5560,7 @@ "memberLocation": "5210:6:0", "memberName": "amount", "nodeType": "MemberAccess", - "referencedDeclaration": 830, + "referencedDeclaration": 825, "src": "5194:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5666,7 +5666,7 @@ "name": "protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 588, + "referencedDeclaration": 583, "src": "5297:18:0", "typeDescriptions": { "typeIdentifier": "t_uint64", @@ -5700,7 +5700,7 @@ "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, + "referencedDeclaration": 581, "src": "5319:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -5767,7 +5767,7 @@ "name": "treasuryAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 590, + "referencedDeclaration": 585, "src": "5423:15:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -5824,10 +5824,10 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "5400:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, @@ -5843,7 +5843,7 @@ "src": "5400:13:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, @@ -5855,7 +5855,7 @@ "memberLocation": "5414:8:0", "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 2521, + "referencedDeclaration": 1859, "src": "5400:22:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -5947,10 +5947,10 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "5457:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, @@ -5966,7 +5966,7 @@ "src": "5457:13:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, @@ -5978,7 +5978,7 @@ "memberLocation": "5471:8:0", "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 2521, + "referencedDeclaration": 1859, "src": "5457:22:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -6080,7 +6080,7 @@ "name": "OrderSettled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, + "referencedDeclaration": 791, "src": "5558:12:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$_t_uint96_$returns$__$", @@ -6312,7 +6312,7 @@ ], "src": "4248:6:0" }, - "scope": 579, + "scope": 574, "src": "4097:1554:0", "stateMutability": "nonpayable", "virtual": false, @@ -6320,12 +6320,12 @@ }, { "baseFunctions": [ - 875 + 870 ], "body": { - "id": 531, + "id": 526, "nodeType": "Block", - "src": "5777:839:0", + "src": "5777:809:0", "statements": [ { "expression": { @@ -6350,7 +6350,7 @@ "referencedDeclaration": 24, "src": "5841:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -6374,7 +6374,7 @@ "nodeType": "IndexAccess", "src": "5841:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -6386,7 +6386,7 @@ "memberLocation": "5857:11:0", "memberName": "isFulfilled", "nodeType": "MemberAccess", - "referencedDeclaration": 822, + "referencedDeclaration": 817, "src": "5841:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -6483,7 +6483,7 @@ "referencedDeclaration": 24, "src": "5900:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -6507,7 +6507,7 @@ "nodeType": "IndexAccess", "src": "5900:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -6519,7 +6519,7 @@ "memberLocation": "5916:10:0", "memberName": "isRefunded", "nodeType": "MemberAccess", - "referencedDeclaration": 824, + "referencedDeclaration": 819, "src": "5900:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -6616,7 +6616,7 @@ "referencedDeclaration": 24, "src": "5956:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -6640,7 +6640,7 @@ "nodeType": "IndexAccess", "src": "5956:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -6652,7 +6652,7 @@ "memberLocation": "5972:11:0", "memberName": "protocolFee", "nodeType": "MemberAccess", - "referencedDeclaration": 820, + "referencedDeclaration": 815, "src": "5956:27:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -6749,7 +6749,7 @@ "name": "treasuryAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 590, + "referencedDeclaration": 585, "src": "6102:15:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -6792,7 +6792,7 @@ "referencedDeclaration": 24, "src": "6070:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -6816,7 +6816,7 @@ "nodeType": "IndexAccess", "src": "6070:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -6828,7 +6828,7 @@ "memberLocation": "6086:5:0", "memberName": "token", "nodeType": "MemberAccess", - "referencedDeclaration": 814, + "referencedDeclaration": 809, "src": "6070:21:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -6847,10 +6847,10 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "6063:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, @@ -6866,7 +6866,7 @@ "src": "6063:29:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, @@ -6878,7 +6878,7 @@ "memberLocation": "6093:8:0", "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 2521, + "referencedDeclaration": 1859, "src": "6063:38:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -6922,7 +6922,7 @@ "referencedDeclaration": 24, "src": "6153:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -6946,7 +6946,7 @@ "nodeType": "IndexAccess", "src": "6153:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -6958,7 +6958,7 @@ "memberLocation": "6169:10:0", "memberName": "isRefunded", "nodeType": "MemberAccess", - "referencedDeclaration": 824, + "referencedDeclaration": 819, "src": "6153:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -7010,7 +7010,7 @@ "referencedDeclaration": 24, "src": "6190:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -7034,7 +7034,7 @@ "nodeType": "IndexAccess", "src": "6190:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -7046,7 +7046,7 @@ "memberLocation": "6206:10:0", "memberName": "currentBPS", "nodeType": "MemberAccess", - "referencedDeclaration": 828, + "referencedDeclaration": 823, "src": "6190:26:0", "typeDescriptions": { "typeIdentifier": "t_uint96", @@ -7093,7 +7093,7 @@ "name": "refundAmount", "nameLocation": "6267:12:0", "nodeType": "VariableDeclaration", - "scope": 531, + "scope": 526, "src": "6259:20:0", "stateVariable": false, "storageLocation": "default", @@ -7114,136 +7114,65 @@ "visibility": "internal" } ], - "id": 504, + "id": 499, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 503, + "id": 498, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 493, - "name": "order", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24, - "src": "6282:5:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", - "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" - } - }, - "id": 495, - "indexExpression": { - "id": 494, - "name": "_orderId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "6288:8:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6282:15:0", + "expression": { + "baseExpression": { + "id": 493, + "name": "order", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 24, + "src": "6282:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", - "typeString": "struct IGateway.Order storage ref" + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", + "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, - "id": 496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6298:6:0", - "memberName": "amount", - "nodeType": "MemberAccess", - "referencedDeclaration": 830, - "src": "6282:22:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 497, - "name": "order", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24, - "src": "6307:5:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", - "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" - } - }, - "id": 499, - "indexExpression": { - "id": 498, - "name": "_orderId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "6313:8:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6307:15:0", + "id": 495, + "indexExpression": { + "id": 494, + "name": "_orderId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "6288:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", - "typeString": "struct IGateway.Order storage ref" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } }, - "id": 500, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "6323:11:0", - "memberName": "protocolFee", - "nodeType": "MemberAccess", - "referencedDeclaration": 820, - "src": "6307:27:0", + "nodeType": "IndexAccess", + "src": "6282:15:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_Order_$826_storage", + "typeString": "struct IGateway.Order storage ref" } }, - "src": "6282:52:0", + "id": 496, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6298:6:0", + "memberName": "amount", + "nodeType": "MemberAccess", + "referencedDeclaration": 825, + "src": "6282:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7252,25 +7181,25 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 502, + "id": 497, "name": "_fee", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 429, - "src": "6337:4:0", + "src": "6307:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "6282:59:0", + "src": "6282:29:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "6259:82:0" + "src": "6259:52:0" }, { "expression": { @@ -7278,25 +7207,25 @@ { "expression": { "baseExpression": { - "id": 512, + "id": 507, "name": "order", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 24, - "src": "6454:5:0", + "src": "6424:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, - "id": 514, + "id": 509, "indexExpression": { - "id": 513, + "id": 508, "name": "_orderId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 431, - "src": "6460:8:0", + "src": "6430:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -7307,22 +7236,22 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6454:15:0", + "src": "6424:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, - "id": 515, + "id": 510, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "6470:13:0", + "memberLocation": "6440:13:0", "memberName": "refundAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 826, - "src": "6454:29:0", + "referencedDeclaration": 821, + "src": "6424:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7333,18 +7262,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 521, + "id": 516, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 516, + "id": 511, "name": "refundAmount", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 492, - "src": "6488:12:0", + "src": "6458:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7355,25 +7284,25 @@ "rightExpression": { "expression": { "baseExpression": { - "id": 517, + "id": 512, "name": "order", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 24, - "src": "6503:5:0", + "src": "6473:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, - "id": 519, + "id": 514, "indexExpression": { - "id": 518, + "id": 513, "name": "_orderId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 431, - "src": "6509:8:0", + "src": "6479:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -7384,28 +7313,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6503:15:0", + "src": "6473:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, - "id": 520, + "id": 515, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "6519:9:0", + "memberLocation": "6489:9:0", "memberName": "senderFee", "nodeType": "MemberAccess", - "referencedDeclaration": 818, - "src": "6503:25:0", + "referencedDeclaration": 813, + "src": "6473:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "6488:40:0", + "src": "6458:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7428,25 +7357,25 @@ { "expression": { "baseExpression": { - "id": 506, + "id": 501, "name": "order", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 24, - "src": "6418:5:0", + "src": "6388:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, - "id": 508, + "id": 503, "indexExpression": { - "id": 507, + "id": 502, "name": "_orderId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 431, - "src": "6424:8:0", + "src": "6394:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -7457,22 +7386,22 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6418:15:0", + "src": "6388:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, - "id": 509, + "id": 504, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "6434:5:0", + "memberLocation": "6404:5:0", "memberName": "token", "nodeType": "MemberAccess", - "referencedDeclaration": 814, - "src": "6418:21:0", + "referencedDeclaration": 809, + "src": "6388:21:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7486,18 +7415,18 @@ "typeString": "address" } ], - "id": 505, + "id": 500, "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, - "src": "6411:6:0", + "referencedDeclaration": 1892, + "src": "6381:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, - "id": 510, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -7506,29 +7435,29 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6411:29:0", + "src": "6381:29:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, - "id": 511, + "id": 506, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "6441:8:0", + "memberLocation": "6411:8:0", "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 2521, - "src": "6411:38:0", + "referencedDeclaration": 1859, + "src": "6381:38:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 522, + "id": 517, "isConstant": false, "isLValue": false, "isPure": false, @@ -7537,39 +7466,39 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6411:121:0", + "src": "6381:121:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 523, + "id": 518, "nodeType": "ExpressionStatement", - "src": "6411:121:0" + "src": "6381:121:0" }, { "eventCall": { "arguments": [ { - "id": 525, + "id": 520, "name": "_fee", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 429, - "src": "6581:4:0", + "src": "6551:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 526, + "id": 521, "name": "_orderId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 431, - "src": "6587:8:0", + "src": "6557:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -7587,18 +7516,18 @@ "typeString": "bytes32" } ], - "id": 524, + "id": 519, "name": "OrderRefunded", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 803, - "src": "6567:13:0", + "referencedDeclaration": 798, + "src": "6537:13:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bytes32_$returns$__$", "typeString": "function (uint256,bytes32)" } }, - "id": 527, + "id": 522, "isConstant": false, "isLValue": false, "isPure": false, @@ -7607,28 +7536,28 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6567:29:0", + "src": "6537:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 528, + "id": 523, "nodeType": "EmitStatement", - "src": "6562:34:0" + "src": "6532:34:0" }, { "expression": { "hexValue": "74727565", - "id": 529, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "6608:4:0", + "src": "6578:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7636,9 +7565,9 @@ "value": "true" }, "functionReturnParameters": 437, - "id": 530, + "id": 525, "nodeType": "Return", - "src": "6601:11:0" + "src": "6571:11:0" } ] }, @@ -7649,7 +7578,7 @@ "text": "@dev See {refund-IGateway}. " }, "functionSelector": "71eedb88", - "id": 532, + "id": 527, "implemented": true, "kind": "function", "modifiers": [ @@ -7684,7 +7613,7 @@ "name": "_fee", "nameLocation": "5714:4:0", "nodeType": "VariableDeclaration", - "scope": 532, + "scope": 527, "src": "5706:12:0", "stateVariable": false, "storageLocation": "default", @@ -7711,7 +7640,7 @@ "name": "_orderId", "nameLocation": "5728:8:0", "nodeType": "VariableDeclaration", - "scope": 532, + "scope": 527, "src": "5720:16:0", "stateVariable": false, "storageLocation": "default", @@ -7745,7 +7674,7 @@ "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 532, + "scope": 527, "src": "5771:4:0", "stateVariable": false, "storageLocation": "default", @@ -7768,43 +7697,43 @@ ], "src": "5770:6:0" }, - "scope": 579, - "src": "5690:926:0", + "scope": 574, + "src": "5690:896:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "baseFunctions": [ - 892 + 887 ], "body": { - "id": 545, + "id": 540, "nodeType": "Block", - "src": "6926:30:0", + "src": "6896:30:0", "statements": [ { "expression": { "baseExpression": { - "id": 541, + "id": 536, "name": "order", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 24, - "src": "6937:5:0", + "src": "6907:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, - "id": 543, + "id": 538, "indexExpression": { - "id": 542, + "id": 537, "name": "_orderId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "6943:8:0", + "referencedDeclaration": 530, + "src": "6913:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -7815,46 +7744,46 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6937:15:0", + "src": "6907:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, - "functionReturnParameters": 540, - "id": 544, + "functionReturnParameters": 535, + "id": 539, "nodeType": "Return", - "src": "6930:22:0" + "src": "6900:22:0" } ] }, "documentation": { - "id": 533, + "id": 528, "nodeType": "StructuredDocumentation", - "src": "6807:40:0", + "src": "6777:40:0", "text": "@dev See {getOrderInfo-IGateway}. " }, "functionSelector": "768c6ec0", - "id": 546, + "id": 541, "implemented": true, "kind": "function", "modifiers": [], "name": "getOrderInfo", - "nameLocation": "6858:12:0", + "nameLocation": "6828:12:0", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 531, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 530, "mutability": "mutable", "name": "_orderId", - "nameLocation": "6879:8:0", + "nameLocation": "6849:8:0", "nodeType": "VariableDeclaration", - "scope": 546, - "src": "6871:16:0", + "scope": 541, + "src": "6841:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7862,10 +7791,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 534, + "id": 529, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "6871:7:0", + "src": "6841:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -7874,66 +7803,66 @@ "visibility": "internal" } ], - "src": "6870:18:0" + "src": "6840:18:0" }, "returnParameters": { - "id": 540, + "id": 535, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 539, + "id": 534, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 546, - "src": "6912:12:0", + "scope": 541, + "src": "6882:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_memory_ptr", + "typeIdentifier": "t_struct$_Order_$826_memory_ptr", "typeString": "struct IGateway.Order" }, "typeName": { - "id": 538, + "id": 533, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 537, + "id": 532, "name": "Order", "nameLocations": [ - "6912:5:0" + "6882:5:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 831, - "src": "6912:5:0" + "referencedDeclaration": 826, + "src": "6882:5:0" }, - "referencedDeclaration": 831, - "src": "6912:5:0", + "referencedDeclaration": 826, + "src": "6882:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage_ptr", + "typeIdentifier": "t_struct$_Order_$826_storage_ptr", "typeString": "struct IGateway.Order" } }, "visibility": "internal" } ], - "src": "6911:14:0" + "src": "6881:14:0" }, - "scope": 579, - "src": "6849:107:0", + "scope": 574, + "src": "6819:107:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "baseFunctions": [ - 883 + 878 ], "body": { - "id": 564, + "id": 559, "nodeType": "Block", - "src": "7076:71:0", + "src": "7046:71:0", "statements": [ { "condition": { @@ -7941,32 +7870,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 558, + "id": 553, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "baseExpression": { - "id": 554, + "id": 549, "name": "_isTokenSupported", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 596, - "src": "7084:17:0", + "referencedDeclaration": 591, + "src": "7054:17:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 556, + "id": 551, "indexExpression": { - "id": 555, + "id": 550, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 549, - "src": "7102:6:0", + "referencedDeclaration": 544, + "src": "7072:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -7977,7 +7906,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7084:25:0", + "src": "7054:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7987,103 +7916,103 @@ "operator": "==", "rightExpression": { "hexValue": "31", - "id": 557, + "id": 552, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7113:1:0", + "src": "7083:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "7084:30:0", + "src": "7054:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 561, + "id": 556, "nodeType": "IfStatement", - "src": "7080:47:0", + "src": "7050:47:0", "trueBody": { "expression": { "hexValue": "74727565", - "id": 559, + "id": 554, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "7123:4:0", + "src": "7093:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 553, - "id": 560, + "functionReturnParameters": 548, + "id": 555, "nodeType": "Return", - "src": "7116:11:0" + "src": "7086:11:0" } }, { "expression": { "hexValue": "66616c7365", - "id": 562, + "id": 557, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "7138:5:0", + "src": "7108:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 553, - "id": 563, + "functionReturnParameters": 548, + "id": 558, "nodeType": "Return", - "src": "7131:12:0" + "src": "7101:12:0" } ] }, "documentation": { - "id": 547, + "id": 542, "nodeType": "StructuredDocumentation", - "src": "6959:44:0", + "src": "6929:44:0", "text": "@dev See {isTokenSupported-IGateway}. " }, "functionSelector": "75151b63", - "id": 565, + "id": 560, "implemented": true, "kind": "function", "modifiers": [], "name": "isTokenSupported", - "nameLocation": "7014:16:0", + "nameLocation": "6984:16:0", "nodeType": "FunctionDefinition", "parameters": { - "id": 550, + "id": 545, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 549, + "id": 544, "mutability": "mutable", "name": "_token", - "nameLocation": "7039:6:0", + "nameLocation": "7009:6:0", "nodeType": "VariableDeclaration", - "scope": 565, - "src": "7031:14:0", + "scope": 560, + "src": "7001:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8091,10 +8020,10 @@ "typeString": "address" }, "typeName": { - "id": 548, + "id": 543, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7031:7:0", + "src": "7001:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8104,21 +8033,21 @@ "visibility": "internal" } ], - "src": "7030:16:0" + "src": "7000:16:0" }, "returnParameters": { - "id": 553, + "id": 548, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 552, + "id": 547, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 565, - "src": "7070:4:0", + "scope": 560, + "src": "7040:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8126,10 +8055,10 @@ "typeString": "bool" }, "typeName": { - "id": 551, + "id": 546, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "7070:4:0", + "src": "7040:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8138,104 +8067,104 @@ "visibility": "internal" } ], - "src": "7069:6:0" + "src": "7039:6:0" }, - "scope": 579, - "src": "7005:142:0", + "scope": 574, + "src": "6975:142:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "baseFunctions": [ - 900 + 895 ], "body": { - "id": 577, + "id": 572, "nodeType": "Block", - "src": "7258:44:0", + "src": "7228:44:0", "statements": [ { "expression": { "components": [ { - "id": 573, + "id": 568, "name": "protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 588, - "src": "7270:18:0", + "referencedDeclaration": 583, + "src": "7240:18:0", "typeDescriptions": { "typeIdentifier": "t_uint64", "typeString": "uint64" } }, { - "id": 574, + "id": 569, "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, - "src": "7290:7:0", + "referencedDeclaration": 581, + "src": "7260:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 575, + "id": 570, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "7269:29:0", + "src": "7239:29:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint64_$_t_uint256_$", "typeString": "tuple(uint64,uint256)" } }, - "functionReturnParameters": 572, - "id": 576, + "functionReturnParameters": 567, + "id": 571, "nodeType": "Return", - "src": "7262:36:0" + "src": "7232:36:0" } ] }, "documentation": { - "id": 566, + "id": 561, "nodeType": "StructuredDocumentation", - "src": "7150:41:0", + "src": "7120:41:0", "text": "@dev See {getFeeDetails-IGateway}. " }, "functionSelector": "b810c636", - "id": 578, + "id": 573, "implemented": true, "kind": "function", "modifiers": [], "name": "getFeeDetails", - "nameLocation": "7202:13:0", + "nameLocation": "7172:13:0", "nodeType": "FunctionDefinition", "parameters": { - "id": 567, + "id": 562, "nodeType": "ParameterList", "parameters": [], - "src": "7215:2:0" + "src": "7185:2:0" }, "returnParameters": { - "id": 572, + "id": 567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 569, + "id": 564, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 578, - "src": "7241:6:0", + "scope": 573, + "src": "7211:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8243,10 +8172,10 @@ "typeString": "uint64" }, "typeName": { - "id": 568, + "id": 563, "name": "uint64", "nodeType": "ElementaryTypeName", - "src": "7241:6:0", + "src": "7211:6:0", "typeDescriptions": { "typeIdentifier": "t_uint64", "typeString": "uint64" @@ -8256,13 +8185,13 @@ }, { "constant": false, - "id": 571, + "id": 566, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 578, - "src": "7249:7:0", + "scope": 573, + "src": "7219:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8270,10 +8199,10 @@ "typeString": "uint256" }, "typeName": { - "id": 570, + "id": 565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7249:7:0", + "src": "7219:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8282,48 +8211,48 @@ "visibility": "internal" } ], - "src": "7240:17:0" + "src": "7210:17:0" }, - "scope": 579, - "src": "7193:109:0", + "scope": 574, + "src": "7163:109:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 580, - "src": "390:6914:0", + "scope": 575, + "src": "390:6884:0", "usedErrors": [] } ], - "src": "39:7266:0" + "src": "39:7236:0" }, "legacyAST": { "absolutePath": "/Users/encryption/Downloads/projects/paycrest/paycrestContract/contracts/Gateway.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "Gateway": [ - 579 + 574 ], "GatewaySettingManager": [ - 763 + 758 ], "IERC20": [ - 2554 + 1892 ], "IGateway": [ - 901 + 896 ], "Initializable": [ - 1380 + 1305 ], "PausableUpgradeable": [ - 1508 + 1433 ] }, - "id": 580, + "id": 575, "license": "UNLICENSED", "nodeType": "SourceUnit", "nodes": [ @@ -8344,8 +8273,8 @@ "id": 2, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 580, - "sourceUnit": 1509, + "scope": 575, + "sourceUnit": 1434, "src": "65:78:0", "symbolAliases": [], "unitAlias": "" @@ -8356,8 +8285,8 @@ "id": 4, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 580, - "sourceUnit": 764, + "scope": 575, + "sourceUnit": 759, "src": "145:66:0", "symbolAliases": [ { @@ -8366,7 +8295,7 @@ "name": "GatewaySettingManager", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, + "referencedDeclaration": 758, "src": "153:21:0", "typeDescriptions": {} }, @@ -8381,8 +8310,8 @@ "id": 7, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 580, - "sourceUnit": 902, + "scope": 575, + "sourceUnit": 897, "src": "212:59:0", "symbolAliases": [ { @@ -8391,7 +8320,7 @@ "name": "IGateway", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 901, + "referencedDeclaration": 896, "src": "220:8:0", "typeDescriptions": {} }, @@ -8403,7 +8332,7 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "230:6:0", "typeDescriptions": {} }, @@ -8423,7 +8352,7 @@ "410:8:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 901, + "referencedDeclaration": 896, "src": "410:8:0" }, "id": 10, @@ -8438,7 +8367,7 @@ "420:21:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 763, + "referencedDeclaration": 758, "src": "420:21:0" }, "id": 12, @@ -8453,7 +8382,7 @@ "443:19:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1508, + "referencedDeclaration": 1433, "src": "443:19:0" }, "id": 14, @@ -8471,16 +8400,16 @@ "text": " @title Gateway\n @notice This contract serves as a gateway for creating orders and managing settlements." }, "fullyImplemented": true, - "id": 579, + "id": 574, "linearizedBaseContracts": [ - 579, - 1508, - 763, - 1078, - 1211, - 1889, - 1380, - 901 + 574, + 1433, + 758, + 1003, + 1136, + 1814, + 1305, + 896 ], "name": "Gateway", "nameLocation": "399:7:0", @@ -8548,7 +8477,7 @@ "name": "fee", "nameLocation": "473:3:0", "nodeType": "StructDefinition", - "scope": 579, + "scope": 574, "src": "466:73:0", "visibility": "public" }, @@ -8559,12 +8488,12 @@ "name": "order", "nameLocation": "576:5:0", "nodeType": "VariableDeclaration", - "scope": 579, + "scope": 574, "src": "542:39:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order)" }, "typeName": { @@ -8584,7 +8513,7 @@ "nodeType": "Mapping", "src": "542:25:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order)" }, "valueName": "", @@ -8599,13 +8528,13 @@ "561:5:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 831, + "referencedDeclaration": 826, "src": "561:5:0" }, - "referencedDeclaration": 831, + "referencedDeclaration": 826, "src": "561:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage_ptr", + "typeIdentifier": "t_struct$_Order_$826_storage_ptr", "typeString": "struct IGateway.Order" } } @@ -8619,7 +8548,7 @@ "name": "_nonce", "nameLocation": "620:6:0", "nodeType": "VariableDeclaration", - "scope": 579, + "scope": 574, "src": "584:42:0", "stateVariable": true, "storageLocation": "default", @@ -8669,7 +8598,7 @@ "name": "__gap", "nameLocation": "649:5:0", "nodeType": "VariableDeclaration", - "scope": 579, + "scope": 574, "src": "629:25:0", "stateVariable": true, "storageLocation": "default", @@ -8729,7 +8658,7 @@ "name": "_disableInitializers", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1361, + "referencedDeclaration": 1286, "src": "726:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", @@ -8783,7 +8712,7 @@ "parameters": [], "src": "722:0:0" }, - "scope": 579, + "scope": 574, "src": "708:44:0", "stateMutability": "nonpayable", "virtual": false, @@ -8807,7 +8736,7 @@ "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, + "referencedDeclaration": 581, "src": "842:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -8851,7 +8780,7 @@ "name": "__Ownable2Step_init", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 998, + "referencedDeclaration": 923, "src": "863:19:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", @@ -8887,7 +8816,7 @@ "name": "__Pausable_init", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1412, + "referencedDeclaration": 1337, "src": "888:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", @@ -8937,7 +8866,7 @@ "826:11:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1282, + "referencedDeclaration": 1207, "src": "826:11:0" }, "nodeType": "ModifierInvocation", @@ -8959,7 +8888,7 @@ "parameters": [], "src": "838:0:0" }, - "scope": 579, + "scope": 574, "src": "795:114:0", "stateMutability": "nonpayable", "virtual": false, @@ -9018,7 +8947,7 @@ "name": "_aggregatorAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 592, + "referencedDeclaration": 587, "src": "1044:18:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9135,7 +9064,7 @@ "name": "_pause", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, + "referencedDeclaration": 1411, "src": "1365:6:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", @@ -9185,7 +9114,7 @@ "1351:9:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, + "referencedDeclaration": 1050, "src": "1351:9:0" }, "nodeType": "ModifierInvocation", @@ -9207,7 +9136,7 @@ "parameters": [], "src": "1361:0:0" }, - "scope": 579, + "scope": 574, "src": "1325:52:0", "stateMutability": "nonpayable", "virtual": false, @@ -9228,7 +9157,7 @@ "name": "_unpause", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, + "referencedDeclaration": 1427, "src": "1463:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", @@ -9278,7 +9207,7 @@ "1449:9:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, + "referencedDeclaration": 1050, "src": "1449:9:0" }, "nodeType": "ModifierInvocation", @@ -9300,7 +9229,7 @@ "parameters": [], "src": "1459:0:0" }, - "scope": 579, + "scope": 574, "src": "1421:56:0", "stateMutability": "nonpayable", "virtual": false, @@ -9308,7 +9237,7 @@ }, { "baseFunctions": [ - 851 + 846 ], "body": { "id": 212, @@ -9644,7 +9573,7 @@ "referencedDeclaration": 4294967268, "src": "2246:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Gateway_$579", + "typeIdentifier": "t_contract$_Gateway_$574", "typeString": "contract Gateway" } } @@ -9652,7 +9581,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Gateway_$579", + "typeIdentifier": "t_contract$_Gateway_$574", "typeString": "contract Gateway" } ], @@ -9775,10 +9704,10 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "2198:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, @@ -9794,7 +9723,7 @@ "src": "2198:14:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, @@ -9806,7 +9735,7 @@ "memberLocation": "2213:12:0", "memberName": "transferFrom", "nodeType": "MemberAccess", - "referencedDeclaration": 2553, + "referencedDeclaration": 1891, "src": "2198:27:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -10183,7 +10112,7 @@ "name": "protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 588, + "referencedDeclaration": 583, "src": "2529:18:0", "typeDescriptions": { "typeIdentifier": "t_uint64", @@ -10217,7 +10146,7 @@ "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, + "referencedDeclaration": 581, "src": "2551:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10249,7 +10178,7 @@ "referencedDeclaration": 24, "src": "2562:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -10273,7 +10202,7 @@ "nodeType": "IndexAccess", "src": "2562:14:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -10407,7 +10336,7 @@ "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, + "referencedDeclaration": 581, "src": "2829:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10517,10 +10446,10 @@ "name": "Order", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 831, + "referencedDeclaration": 826, "src": "2579:5:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_Order_$831_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_Order_$826_storage_ptr_$", "typeString": "type(struct IGateway.Order storage pointer)" } }, @@ -10558,13 +10487,13 @@ "src": "2579:283:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_memory_ptr", + "typeIdentifier": "t_struct$_Order_$826_memory_ptr", "typeString": "struct IGateway.Order memory" } }, "src": "2562:300:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -10585,7 +10514,7 @@ "referencedDeclaration": 24, "src": "2919:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -10609,7 +10538,7 @@ "nodeType": "IndexAccess", "src": "2919:14:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -10621,7 +10550,7 @@ "memberLocation": "2934:6:0", "memberName": "sender", "nodeType": "MemberAccess", - "referencedDeclaration": 812, + "referencedDeclaration": 807, "src": "2919:21:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10650,7 +10579,7 @@ "referencedDeclaration": 24, "src": "2956:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -10674,7 +10603,7 @@ "nodeType": "IndexAccess", "src": "2956:14:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -10686,7 +10615,7 @@ "memberLocation": "2971:6:0", "memberName": "amount", "nodeType": "MemberAccess", - "referencedDeclaration": 830, + "referencedDeclaration": 825, "src": "2956:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -10777,7 +10706,7 @@ "name": "OrderCreated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 785, + "referencedDeclaration": 780, "src": "2902:12:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_uint256_$_t_bytes32_$_t_uint256_$_t_string_memory_ptr_$returns$__$", @@ -10827,7 +10756,7 @@ "1905:13:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1430, + "referencedDeclaration": 1355, "src": "1905:13:0" }, "nodeType": "ModifierInvocation", @@ -11070,7 +10999,7 @@ ], "src": "1927:17:0" }, - "scope": 579, + "scope": 574, "src": "1709:1331:0", "stateMutability": "nonpayable", "virtual": false, @@ -11101,7 +11030,7 @@ "name": "_isTokenSupported", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 596, + "referencedDeclaration": 591, "src": "3596:17:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", @@ -11865,7 +11794,7 @@ "parameters": [], "src": "3584:0:0" }, - "scope": 579, + "scope": 574, "src": "3433:427:0", "stateMutability": "view", "virtual": false, @@ -11873,7 +11802,7 @@ }, { "baseFunctions": [ - 865 + 860 ], "body": { "id": 425, @@ -11903,7 +11832,7 @@ "referencedDeclaration": 24, "src": "4319:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -11927,7 +11856,7 @@ "nodeType": "IndexAccess", "src": "4319:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -11939,7 +11868,7 @@ "memberLocation": "4335:11:0", "memberName": "isFulfilled", "nodeType": "MemberAccess", - "referencedDeclaration": 822, + "referencedDeclaration": 817, "src": "4319:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -12036,7 +11965,7 @@ "referencedDeclaration": 24, "src": "4378:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12060,7 +11989,7 @@ "nodeType": "IndexAccess", "src": "4378:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12072,7 +12001,7 @@ "memberLocation": "4394:10:0", "memberName": "isRefunded", "nodeType": "MemberAccess", - "referencedDeclaration": 824, + "referencedDeclaration": 819, "src": "4378:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -12191,7 +12120,7 @@ "referencedDeclaration": 24, "src": "4475:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12215,7 +12144,7 @@ "nodeType": "IndexAccess", "src": "4475:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12227,7 +12156,7 @@ "memberLocation": "4491:5:0", "memberName": "token", "nodeType": "MemberAccess", - "referencedDeclaration": 814, + "referencedDeclaration": 809, "src": "4475:21:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -12254,7 +12183,7 @@ "referencedDeclaration": 24, "src": "4563:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12278,7 +12207,7 @@ "nodeType": "IndexAccess", "src": "4563:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12290,7 +12219,7 @@ "memberLocation": "4579:10:0", "memberName": "currentBPS", "nodeType": "MemberAccess", - "referencedDeclaration": 828, + "referencedDeclaration": 823, "src": "4563:26:0", "typeDescriptions": { "typeIdentifier": "t_uint96", @@ -12342,7 +12271,7 @@ "referencedDeclaration": 24, "src": "4616:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12366,7 +12295,7 @@ "nodeType": "IndexAccess", "src": "4616:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12378,7 +12307,7 @@ "memberLocation": "4632:10:0", "memberName": "currentBPS", "nodeType": "MemberAccess", - "referencedDeclaration": 828, + "referencedDeclaration": 823, "src": "4616:26:0", "typeDescriptions": { "typeIdentifier": "t_uint96", @@ -12434,7 +12363,7 @@ "referencedDeclaration": 24, "src": "4699:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12458,7 +12387,7 @@ "nodeType": "IndexAccess", "src": "4699:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12470,7 +12399,7 @@ "memberLocation": "4715:11:0", "memberName": "isFulfilled", "nodeType": "MemberAccess", - "referencedDeclaration": 822, + "referencedDeclaration": 817, "src": "4699:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -12526,7 +12455,7 @@ "referencedDeclaration": 24, "src": "4743:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12550,7 +12479,7 @@ "nodeType": "IndexAccess", "src": "4743:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12562,7 +12491,7 @@ "memberLocation": "4759:9:0", "memberName": "senderFee", "nodeType": "MemberAccess", - "referencedDeclaration": 818, + "referencedDeclaration": 813, "src": "4743:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12614,7 +12543,7 @@ "referencedDeclaration": 24, "src": "4853:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12638,7 +12567,7 @@ "nodeType": "IndexAccess", "src": "4853:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12650,7 +12579,7 @@ "memberLocation": "4869:18:0", "memberName": "senderFeeRecipient", "nodeType": "MemberAccess", - "referencedDeclaration": 816, + "referencedDeclaration": 811, "src": "4853:34:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -12667,7 +12596,7 @@ "referencedDeclaration": 24, "src": "4894:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12691,7 +12620,7 @@ "nodeType": "IndexAccess", "src": "4894:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12703,7 +12632,7 @@ "memberLocation": "4910:9:0", "memberName": "senderFee", "nodeType": "MemberAccess", - "referencedDeclaration": 818, + "referencedDeclaration": 813, "src": "4894:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12734,7 +12663,7 @@ "referencedDeclaration": 24, "src": "4815:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12758,7 +12687,7 @@ "nodeType": "IndexAccess", "src": "4815:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12770,7 +12699,7 @@ "memberLocation": "4831:5:0", "memberName": "token", "nodeType": "MemberAccess", - "referencedDeclaration": 814, + "referencedDeclaration": 809, "src": "4815:21:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -12789,10 +12718,10 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "4808:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, @@ -12808,7 +12737,7 @@ "src": "4808:29:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, @@ -12820,7 +12749,7 @@ "memberLocation": "4838:8:0", "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 2521, + "referencedDeclaration": 1859, "src": "4808:38:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -12860,7 +12789,7 @@ "referencedDeclaration": 24, "src": "4982:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12884,7 +12813,7 @@ "nodeType": "IndexAccess", "src": "4982:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12896,7 +12825,7 @@ "memberLocation": "4998:18:0", "memberName": "senderFeeRecipient", "nodeType": "MemberAccess", - "referencedDeclaration": 816, + "referencedDeclaration": 811, "src": "4982:34:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -12913,7 +12842,7 @@ "referencedDeclaration": 24, "src": "5023:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -12937,7 +12866,7 @@ "nodeType": "IndexAccess", "src": "5023:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -12949,7 +12878,7 @@ "memberLocation": "5039:9:0", "memberName": "senderFee", "nodeType": "MemberAccess", - "referencedDeclaration": 818, + "referencedDeclaration": 813, "src": "5023:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -12972,7 +12901,7 @@ "name": "SenderFeeTransferred", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 810, + "referencedDeclaration": 805, "src": "4955:20:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_uint256_$returns$__$", @@ -13071,7 +13000,7 @@ "referencedDeclaration": 24, "src": "5140:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -13095,7 +13024,7 @@ "nodeType": "IndexAccess", "src": "5140:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -13107,7 +13036,7 @@ "memberLocation": "5156:6:0", "memberName": "amount", "nodeType": "MemberAccess", - "referencedDeclaration": 830, + "referencedDeclaration": 825, "src": "5140:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13155,7 +13084,7 @@ "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, + "referencedDeclaration": 581, "src": "5183:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13188,7 +13117,7 @@ "referencedDeclaration": 24, "src": "5194:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -13212,7 +13141,7 @@ "nodeType": "IndexAccess", "src": "5194:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -13224,7 +13153,7 @@ "memberLocation": "5210:6:0", "memberName": "amount", "nodeType": "MemberAccess", - "referencedDeclaration": 830, + "referencedDeclaration": 825, "src": "5194:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13330,7 +13259,7 @@ "name": "protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 588, + "referencedDeclaration": 583, "src": "5297:18:0", "typeDescriptions": { "typeIdentifier": "t_uint64", @@ -13364,7 +13293,7 @@ "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, + "referencedDeclaration": 581, "src": "5319:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13431,7 +13360,7 @@ "name": "treasuryAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 590, + "referencedDeclaration": 585, "src": "5423:15:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -13488,10 +13417,10 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "5400:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, @@ -13507,7 +13436,7 @@ "src": "5400:13:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, @@ -13519,7 +13448,7 @@ "memberLocation": "5414:8:0", "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 2521, + "referencedDeclaration": 1859, "src": "5400:22:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -13611,10 +13540,10 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "5457:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, @@ -13630,7 +13559,7 @@ "src": "5457:13:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, @@ -13642,7 +13571,7 @@ "memberLocation": "5471:8:0", "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 2521, + "referencedDeclaration": 1859, "src": "5457:22:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -13744,7 +13673,7 @@ "name": "OrderSettled", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, + "referencedDeclaration": 791, "src": "5558:12:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_bytes32_$_t_address_$_t_uint96_$returns$__$", @@ -13976,7 +13905,7 @@ ], "src": "4248:6:0" }, - "scope": 579, + "scope": 574, "src": "4097:1554:0", "stateMutability": "nonpayable", "virtual": false, @@ -13984,12 +13913,12 @@ }, { "baseFunctions": [ - 875 + 870 ], "body": { - "id": 531, + "id": 526, "nodeType": "Block", - "src": "5777:839:0", + "src": "5777:809:0", "statements": [ { "expression": { @@ -14014,7 +13943,7 @@ "referencedDeclaration": 24, "src": "5841:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -14038,7 +13967,7 @@ "nodeType": "IndexAccess", "src": "5841:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -14050,7 +13979,7 @@ "memberLocation": "5857:11:0", "memberName": "isFulfilled", "nodeType": "MemberAccess", - "referencedDeclaration": 822, + "referencedDeclaration": 817, "src": "5841:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14147,7 +14076,7 @@ "referencedDeclaration": 24, "src": "5900:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -14171,7 +14100,7 @@ "nodeType": "IndexAccess", "src": "5900:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -14183,7 +14112,7 @@ "memberLocation": "5916:10:0", "memberName": "isRefunded", "nodeType": "MemberAccess", - "referencedDeclaration": 824, + "referencedDeclaration": 819, "src": "5900:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14280,7 +14209,7 @@ "referencedDeclaration": 24, "src": "5956:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -14304,7 +14233,7 @@ "nodeType": "IndexAccess", "src": "5956:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -14316,7 +14245,7 @@ "memberLocation": "5972:11:0", "memberName": "protocolFee", "nodeType": "MemberAccess", - "referencedDeclaration": 820, + "referencedDeclaration": 815, "src": "5956:27:0", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14413,7 +14342,7 @@ "name": "treasuryAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 590, + "referencedDeclaration": 585, "src": "6102:15:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14456,7 +14385,7 @@ "referencedDeclaration": 24, "src": "6070:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -14480,7 +14409,7 @@ "nodeType": "IndexAccess", "src": "6070:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -14492,7 +14421,7 @@ "memberLocation": "6086:5:0", "memberName": "token", "nodeType": "MemberAccess", - "referencedDeclaration": 814, + "referencedDeclaration": 809, "src": "6070:21:0", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14511,10 +14440,10 @@ "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "6063:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, @@ -14530,7 +14459,7 @@ "src": "6063:29:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, @@ -14542,7 +14471,7 @@ "memberLocation": "6093:8:0", "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 2521, + "referencedDeclaration": 1859, "src": "6063:38:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", @@ -14586,7 +14515,7 @@ "referencedDeclaration": 24, "src": "6153:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -14610,7 +14539,7 @@ "nodeType": "IndexAccess", "src": "6153:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -14622,7 +14551,7 @@ "memberLocation": "6169:10:0", "memberName": "isRefunded", "nodeType": "MemberAccess", - "referencedDeclaration": 824, + "referencedDeclaration": 819, "src": "6153:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -14674,7 +14603,7 @@ "referencedDeclaration": 24, "src": "6190:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, @@ -14698,7 +14627,7 @@ "nodeType": "IndexAccess", "src": "6190:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, @@ -14710,7 +14639,7 @@ "memberLocation": "6206:10:0", "memberName": "currentBPS", "nodeType": "MemberAccess", - "referencedDeclaration": 828, + "referencedDeclaration": 823, "src": "6190:26:0", "typeDescriptions": { "typeIdentifier": "t_uint96", @@ -14757,7 +14686,7 @@ "name": "refundAmount", "nameLocation": "6267:12:0", "nodeType": "VariableDeclaration", - "scope": 531, + "scope": 526, "src": "6259:20:0", "stateVariable": false, "storageLocation": "default", @@ -14778,136 +14707,65 @@ "visibility": "internal" } ], - "id": 504, + "id": 499, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 503, + "id": 498, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "commonType": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - }, - "id": 501, - "isConstant": false, - "isLValue": false, - "isPure": false, - "lValueRequested": false, - "leftExpression": { - "expression": { - "baseExpression": { - "id": 493, - "name": "order", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24, - "src": "6282:5:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", - "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" - } - }, - "id": 495, - "indexExpression": { - "id": 494, - "name": "_orderId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "6288:8:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6282:15:0", + "expression": { + "baseExpression": { + "id": 493, + "name": "order", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 24, + "src": "6282:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", - "typeString": "struct IGateway.Order storage ref" + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", + "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, - "id": 496, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "memberLocation": "6298:6:0", - "memberName": "amount", - "nodeType": "MemberAccess", - "referencedDeclaration": 830, - "src": "6282:22:0", - "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" - } - }, - "nodeType": "BinaryOperation", - "operator": "+", - "rightExpression": { - "expression": { - "baseExpression": { - "id": 497, - "name": "order", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 24, - "src": "6307:5:0", - "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", - "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" - } - }, - "id": 499, - "indexExpression": { - "id": 498, - "name": "_orderId", - "nodeType": "Identifier", - "overloadedDeclarations": [], - "referencedDeclaration": 431, - "src": "6313:8:0", - "typeDescriptions": { - "typeIdentifier": "t_bytes32", - "typeString": "bytes32" - } - }, - "isConstant": false, - "isLValue": true, - "isPure": false, - "lValueRequested": false, - "nodeType": "IndexAccess", - "src": "6307:15:0", + "id": 495, + "indexExpression": { + "id": 494, + "name": "_orderId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 431, + "src": "6288:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", - "typeString": "struct IGateway.Order storage ref" + "typeIdentifier": "t_bytes32", + "typeString": "bytes32" } }, - "id": 500, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "6323:11:0", - "memberName": "protocolFee", - "nodeType": "MemberAccess", - "referencedDeclaration": 820, - "src": "6307:27:0", + "nodeType": "IndexAccess", + "src": "6282:15:0", "typeDescriptions": { - "typeIdentifier": "t_uint256", - "typeString": "uint256" + "typeIdentifier": "t_struct$_Order_$826_storage", + "typeString": "struct IGateway.Order storage ref" } }, - "src": "6282:52:0", + "id": 496, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberLocation": "6298:6:0", + "memberName": "amount", + "nodeType": "MemberAccess", + "referencedDeclaration": 825, + "src": "6282:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14916,25 +14774,25 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 502, + "id": 497, "name": "_fee", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 429, - "src": "6337:4:0", + "src": "6307:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "6282:59:0", + "src": "6282:29:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "6259:82:0" + "src": "6259:52:0" }, { "expression": { @@ -14942,25 +14800,25 @@ { "expression": { "baseExpression": { - "id": 512, + "id": 507, "name": "order", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 24, - "src": "6454:5:0", + "src": "6424:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, - "id": 514, + "id": 509, "indexExpression": { - "id": 513, + "id": 508, "name": "_orderId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 431, - "src": "6460:8:0", + "src": "6430:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14971,22 +14829,22 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6454:15:0", + "src": "6424:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, - "id": 515, + "id": 510, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "6470:13:0", + "memberLocation": "6440:13:0", "memberName": "refundAddress", "nodeType": "MemberAccess", - "referencedDeclaration": 826, - "src": "6454:29:0", + "referencedDeclaration": 821, + "src": "6424:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14997,18 +14855,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 521, + "id": 516, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 516, + "id": 511, "name": "refundAmount", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 492, - "src": "6488:12:0", + "src": "6458:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15019,25 +14877,25 @@ "rightExpression": { "expression": { "baseExpression": { - "id": 517, + "id": 512, "name": "order", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 24, - "src": "6503:5:0", + "src": "6473:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, - "id": 519, + "id": 514, "indexExpression": { - "id": 518, + "id": 513, "name": "_orderId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 431, - "src": "6509:8:0", + "src": "6479:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -15048,28 +14906,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6503:15:0", + "src": "6473:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, - "id": 520, + "id": 515, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "6519:9:0", + "memberLocation": "6489:9:0", "memberName": "senderFee", "nodeType": "MemberAccess", - "referencedDeclaration": 818, - "src": "6503:25:0", + "referencedDeclaration": 813, + "src": "6473:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "6488:40:0", + "src": "6458:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15092,25 +14950,25 @@ { "expression": { "baseExpression": { - "id": 506, + "id": 501, "name": "order", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 24, - "src": "6418:5:0", + "src": "6388:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, - "id": 508, + "id": 503, "indexExpression": { - "id": 507, + "id": 502, "name": "_orderId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 431, - "src": "6424:8:0", + "src": "6394:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -15121,22 +14979,22 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6418:15:0", + "src": "6388:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, - "id": 509, + "id": 504, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, - "memberLocation": "6434:5:0", + "memberLocation": "6404:5:0", "memberName": "token", "nodeType": "MemberAccess", - "referencedDeclaration": 814, - "src": "6418:21:0", + "referencedDeclaration": 809, + "src": "6388:21:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15150,18 +15008,18 @@ "typeString": "address" } ], - "id": 505, + "id": 500, "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, - "src": "6411:6:0", + "referencedDeclaration": 1892, + "src": "6381:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC20_$2554_$", + "typeIdentifier": "t_type$_t_contract$_IERC20_$1892_$", "typeString": "type(contract IERC20)" } }, - "id": 510, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -15170,29 +15028,29 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6411:29:0", + "src": "6381:29:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC20_$2554", + "typeIdentifier": "t_contract$_IERC20_$1892", "typeString": "contract IERC20" } }, - "id": 511, + "id": 506, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "6441:8:0", + "memberLocation": "6411:8:0", "memberName": "transfer", "nodeType": "MemberAccess", - "referencedDeclaration": 2521, - "src": "6411:38:0", + "referencedDeclaration": 1859, + "src": "6381:38:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) external returns (bool)" } }, - "id": 522, + "id": 517, "isConstant": false, "isLValue": false, "isPure": false, @@ -15201,39 +15059,39 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6411:121:0", + "src": "6381:121:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 523, + "id": 518, "nodeType": "ExpressionStatement", - "src": "6411:121:0" + "src": "6381:121:0" }, { "eventCall": { "arguments": [ { - "id": 525, + "id": 520, "name": "_fee", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 429, - "src": "6581:4:0", + "src": "6551:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 526, + "id": 521, "name": "_orderId", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 431, - "src": "6587:8:0", + "src": "6557:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -15251,18 +15109,18 @@ "typeString": "bytes32" } ], - "id": 524, + "id": 519, "name": "OrderRefunded", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 803, - "src": "6567:13:0", + "referencedDeclaration": 798, + "src": "6537:13:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint256_$_t_bytes32_$returns$__$", "typeString": "function (uint256,bytes32)" } }, - "id": 527, + "id": 522, "isConstant": false, "isLValue": false, "isPure": false, @@ -15271,28 +15129,28 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6567:29:0", + "src": "6537:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 528, + "id": 523, "nodeType": "EmitStatement", - "src": "6562:34:0" + "src": "6532:34:0" }, { "expression": { "hexValue": "74727565", - "id": 529, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "6608:4:0", + "src": "6578:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15300,9 +15158,9 @@ "value": "true" }, "functionReturnParameters": 437, - "id": 530, + "id": 525, "nodeType": "Return", - "src": "6601:11:0" + "src": "6571:11:0" } ] }, @@ -15313,7 +15171,7 @@ "text": "@dev See {refund-IGateway}. " }, "functionSelector": "71eedb88", - "id": 532, + "id": 527, "implemented": true, "kind": "function", "modifiers": [ @@ -15348,7 +15206,7 @@ "name": "_fee", "nameLocation": "5714:4:0", "nodeType": "VariableDeclaration", - "scope": 532, + "scope": 527, "src": "5706:12:0", "stateVariable": false, "storageLocation": "default", @@ -15375,7 +15233,7 @@ "name": "_orderId", "nameLocation": "5728:8:0", "nodeType": "VariableDeclaration", - "scope": 532, + "scope": 527, "src": "5720:16:0", "stateVariable": false, "storageLocation": "default", @@ -15409,7 +15267,7 @@ "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 532, + "scope": 527, "src": "5771:4:0", "stateVariable": false, "storageLocation": "default", @@ -15432,43 +15290,43 @@ ], "src": "5770:6:0" }, - "scope": 579, - "src": "5690:926:0", + "scope": 574, + "src": "5690:896:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "baseFunctions": [ - 892 + 887 ], "body": { - "id": 545, + "id": 540, "nodeType": "Block", - "src": "6926:30:0", + "src": "6896:30:0", "statements": [ { "expression": { "baseExpression": { - "id": 541, + "id": 536, "name": "order", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 24, - "src": "6937:5:0", + "src": "6907:5:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$831_storage_$", + "typeIdentifier": "t_mapping$_t_bytes32_$_t_struct$_Order_$826_storage_$", "typeString": "mapping(bytes32 => struct IGateway.Order storage ref)" } }, - "id": 543, + "id": 538, "indexExpression": { - "id": 542, + "id": 537, "name": "_orderId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 535, - "src": "6943:8:0", + "referencedDeclaration": 530, + "src": "6913:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -15479,46 +15337,46 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "6937:15:0", + "src": "6907:15:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage", + "typeIdentifier": "t_struct$_Order_$826_storage", "typeString": "struct IGateway.Order storage ref" } }, - "functionReturnParameters": 540, - "id": 544, + "functionReturnParameters": 535, + "id": 539, "nodeType": "Return", - "src": "6930:22:0" + "src": "6900:22:0" } ] }, "documentation": { - "id": 533, + "id": 528, "nodeType": "StructuredDocumentation", - "src": "6807:40:0", + "src": "6777:40:0", "text": "@dev See {getOrderInfo-IGateway}. " }, "functionSelector": "768c6ec0", - "id": 546, + "id": 541, "implemented": true, "kind": "function", "modifiers": [], "name": "getOrderInfo", - "nameLocation": "6858:12:0", + "nameLocation": "6828:12:0", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 531, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 530, "mutability": "mutable", "name": "_orderId", - "nameLocation": "6879:8:0", + "nameLocation": "6849:8:0", "nodeType": "VariableDeclaration", - "scope": 546, - "src": "6871:16:0", + "scope": 541, + "src": "6841:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15526,10 +15384,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 534, + "id": 529, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "6871:7:0", + "src": "6841:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -15538,66 +15396,66 @@ "visibility": "internal" } ], - "src": "6870:18:0" + "src": "6840:18:0" }, "returnParameters": { - "id": 540, + "id": 535, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 539, + "id": 534, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 546, - "src": "6912:12:0", + "scope": 541, + "src": "6882:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_memory_ptr", + "typeIdentifier": "t_struct$_Order_$826_memory_ptr", "typeString": "struct IGateway.Order" }, "typeName": { - "id": 538, + "id": 533, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 537, + "id": 532, "name": "Order", "nameLocations": [ - "6912:5:0" + "6882:5:0" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 831, - "src": "6912:5:0" + "referencedDeclaration": 826, + "src": "6882:5:0" }, - "referencedDeclaration": 831, - "src": "6912:5:0", + "referencedDeclaration": 826, + "src": "6882:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage_ptr", + "typeIdentifier": "t_struct$_Order_$826_storage_ptr", "typeString": "struct IGateway.Order" } }, "visibility": "internal" } ], - "src": "6911:14:0" + "src": "6881:14:0" }, - "scope": 579, - "src": "6849:107:0", + "scope": 574, + "src": "6819:107:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "baseFunctions": [ - 883 + 878 ], "body": { - "id": 564, + "id": 559, "nodeType": "Block", - "src": "7076:71:0", + "src": "7046:71:0", "statements": [ { "condition": { @@ -15605,32 +15463,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 558, + "id": 553, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "baseExpression": { - "id": 554, + "id": 549, "name": "_isTokenSupported", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 596, - "src": "7084:17:0", + "referencedDeclaration": 591, + "src": "7054:17:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 556, + "id": 551, "indexExpression": { - "id": 555, + "id": 550, "name": "_token", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 549, - "src": "7102:6:0", + "referencedDeclaration": 544, + "src": "7072:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15641,7 +15499,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "7084:25:0", + "src": "7054:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15651,103 +15509,103 @@ "operator": "==", "rightExpression": { "hexValue": "31", - "id": 557, + "id": 552, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "7113:1:0", + "src": "7083:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "7084:30:0", + "src": "7054:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 561, + "id": 556, "nodeType": "IfStatement", - "src": "7080:47:0", + "src": "7050:47:0", "trueBody": { "expression": { "hexValue": "74727565", - "id": 559, + "id": 554, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "7123:4:0", + "src": "7093:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 553, - "id": 560, + "functionReturnParameters": 548, + "id": 555, "nodeType": "Return", - "src": "7116:11:0" + "src": "7086:11:0" } }, { "expression": { "hexValue": "66616c7365", - "id": 562, + "id": 557, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "7138:5:0", + "src": "7108:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 553, - "id": 563, + "functionReturnParameters": 548, + "id": 558, "nodeType": "Return", - "src": "7131:12:0" + "src": "7101:12:0" } ] }, "documentation": { - "id": 547, + "id": 542, "nodeType": "StructuredDocumentation", - "src": "6959:44:0", + "src": "6929:44:0", "text": "@dev See {isTokenSupported-IGateway}. " }, "functionSelector": "75151b63", - "id": 565, + "id": 560, "implemented": true, "kind": "function", "modifiers": [], "name": "isTokenSupported", - "nameLocation": "7014:16:0", + "nameLocation": "6984:16:0", "nodeType": "FunctionDefinition", "parameters": { - "id": 550, + "id": 545, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 549, + "id": 544, "mutability": "mutable", "name": "_token", - "nameLocation": "7039:6:0", + "nameLocation": "7009:6:0", "nodeType": "VariableDeclaration", - "scope": 565, - "src": "7031:14:0", + "scope": 560, + "src": "7001:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15755,10 +15613,10 @@ "typeString": "address" }, "typeName": { - "id": 548, + "id": 543, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7031:7:0", + "src": "7001:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15768,21 +15626,21 @@ "visibility": "internal" } ], - "src": "7030:16:0" + "src": "7000:16:0" }, "returnParameters": { - "id": 553, + "id": 548, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 552, + "id": 547, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 565, - "src": "7070:4:0", + "scope": 560, + "src": "7040:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15790,10 +15648,10 @@ "typeString": "bool" }, "typeName": { - "id": 551, + "id": 546, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "7070:4:0", + "src": "7040:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15802,104 +15660,104 @@ "visibility": "internal" } ], - "src": "7069:6:0" + "src": "7039:6:0" }, - "scope": 579, - "src": "7005:142:0", + "scope": 574, + "src": "6975:142:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "baseFunctions": [ - 900 + 895 ], "body": { - "id": 577, + "id": 572, "nodeType": "Block", - "src": "7258:44:0", + "src": "7228:44:0", "statements": [ { "expression": { "components": [ { - "id": 573, + "id": 568, "name": "protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 588, - "src": "7270:18:0", + "referencedDeclaration": 583, + "src": "7240:18:0", "typeDescriptions": { "typeIdentifier": "t_uint64", "typeString": "uint64" } }, { - "id": 574, + "id": 569, "name": "MAX_BPS", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 586, - "src": "7290:7:0", + "referencedDeclaration": 581, + "src": "7260:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 575, + "id": 570, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "7269:29:0", + "src": "7239:29:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint64_$_t_uint256_$", "typeString": "tuple(uint64,uint256)" } }, - "functionReturnParameters": 572, - "id": 576, + "functionReturnParameters": 567, + "id": 571, "nodeType": "Return", - "src": "7262:36:0" + "src": "7232:36:0" } ] }, "documentation": { - "id": 566, + "id": 561, "nodeType": "StructuredDocumentation", - "src": "7150:41:0", + "src": "7120:41:0", "text": "@dev See {getFeeDetails-IGateway}. " }, "functionSelector": "b810c636", - "id": 578, + "id": 573, "implemented": true, "kind": "function", "modifiers": [], "name": "getFeeDetails", - "nameLocation": "7202:13:0", + "nameLocation": "7172:13:0", "nodeType": "FunctionDefinition", "parameters": { - "id": 567, + "id": 562, "nodeType": "ParameterList", "parameters": [], - "src": "7215:2:0" + "src": "7185:2:0" }, "returnParameters": { - "id": 572, + "id": 567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 569, + "id": 564, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 578, - "src": "7241:6:0", + "scope": 573, + "src": "7211:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15907,10 +15765,10 @@ "typeString": "uint64" }, "typeName": { - "id": 568, + "id": 563, "name": "uint64", "nodeType": "ElementaryTypeName", - "src": "7241:6:0", + "src": "7211:6:0", "typeDescriptions": { "typeIdentifier": "t_uint64", "typeString": "uint64" @@ -15920,13 +15778,13 @@ }, { "constant": false, - "id": 571, + "id": 566, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 578, - "src": "7249:7:0", + "scope": 573, + "src": "7219:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15934,10 +15792,10 @@ "typeString": "uint256" }, "typeName": { - "id": 570, + "id": 565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7249:7:0", + "src": "7219:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15946,21 +15804,21 @@ "visibility": "internal" } ], - "src": "7240:17:0" + "src": "7210:17:0" }, - "scope": 579, - "src": "7193:109:0", + "scope": 574, + "src": "7163:109:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 580, - "src": "390:6914:0", + "scope": 575, + "src": "390:6884:0", "usedErrors": [] } ], - "src": "39:7266:0" + "src": "39:7236:0" }, "compiler": { "name": "solc", @@ -15968,5 +15826,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2024-06-27T12:24:25.265Z" + "updatedAt": "2024-07-04T18:51:17.150Z" } \ No newline at end of file diff --git a/build/contracts/GatewaySettingManager.json b/build/contracts/GatewaySettingManager.json index 88c6b01..ac683db 100644 --- a/build/contracts/GatewaySettingManager.json +++ b/build/contracts/GatewaySettingManager.json @@ -233,34 +233,34 @@ "bytecode": "0x608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b50610f258061003a6000396000f3fe608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b50600436106100a25760003560e01c80638da5cb5b116100755780638da5cb5b146100f3578063cd99240014610111578063e30c39781461012d578063f2fde38b1461014b576100a2565b806340ebc677146100a757806347094e2e146100c3578063715018a6146100df57806379ba5097146100e9575b600080fd5b6100c160048036038101906100bc9190610a03565b610167565b005b6100dd60048036038101906100d89190610a83565b61042f565b005b6100e761049a565b005b6100f16104ae565b005b6100fb61053b565b6040516101089190610abf565b60405180910390f35b61012b60048036038101906101269190610b10565b610565565b005b6101356106ea565b6040516101429190610abf565b60405180910390f35b61016560048036038101906101609190610b63565b610714565b005b61016f6107c1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d590610bed565b60405180910390fd5b60007f747265617375727900000000000000000000000000000000000000000000000083036102e1578173ffffffffffffffffffffffffffffffffffffffff16609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028e90610c7f565b60405180910390fd5b81609860086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190506103df565b7f61676772656761746f720000000000000000000000000000000000000000000083036103de578173ffffffffffffffffffffffffffffffffffffffff16609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038f90610d11565b60405180910390fd5b81609960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190505b5b801561042a578173ffffffffffffffffffffffffffffffffffffffff16837fbbc5b96e57cfecb3dbeeadf92e87f15e58e64fcd75cbe256dcc5d9ef2e51e8a460405160405180910390a35b505050565b6104376107c1565b80609860006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f1ce29a697a4765bd17d91df93ba75b250b629ecf030553ff1f6ab59f15ae6c7b8160405161048f9190610d40565b60405180910390a150565b6104a26107c1565b6104ac600061083f565b565b60006104b8610870565b90508073ffffffffffffffffffffffffffffffffffffffff166104d96106ea565b73ffffffffffffffffffffffffffffffffffffffff161461052f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052690610dcd565b60405180910390fd5b6105388161083f565b50565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61056d6107c1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036105dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d390610bed565b60405180910390fd5b60018114806105eb5750600281145b61062a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062190610e39565b60405180910390fd5b7f746f6b656e00000000000000000000000000000000000000000000000000000083036106e55780609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16837fcfa976492af7c14a916cc3a239f4c9c75bbd7f5f0e398beb41d892c7eeccae4c836040516106dc9190610e68565b60405180910390a35b505050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61071c6107c1565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff1661077c61053b565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6107c9610870565b73ffffffffffffffffffffffffffffffffffffffff166107e761053b565b73ffffffffffffffffffffffffffffffffffffffff161461083d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083490610ecf565b60405180910390fd5b565b606560006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905561086d81610878565b50565b600033905090565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b61095681610943565b811461096157600080fd5b50565b6000813590506109738161094d565b92915050565b600074ffffffffffffffffffffffffffffffffffffffffff82169050919050565b6109a381610979565b81146109ae57600080fd5b50565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109dc826109b1565b9050919050565b6000813590506109f28161099a565b6109fb816109d1565b905092915050565b60008060408385031215610a1a57610a1961093e565b5b6000610a2885828601610964565b9250506020610a39858286016109e3565b9150509250929050565b600067ffffffffffffffff82169050919050565b610a6081610a43565b8114610a6b57600080fd5b50565b600081359050610a7d81610a57565b92915050565b600060208284031215610a9957610a9861093e565b5b6000610aa784828501610a6e565b91505092915050565b610ab9816109d1565b82525050565b6000602082019050610ad46000830184610ab0565b92915050565b6000819050919050565b610aed81610ada565b8114610af857600080fd5b50565b600081359050610b0a81610ae4565b92915050565b600080600060608486031215610b2957610b2861093e565b5b6000610b3786828701610964565b9350506020610b48868287016109e3565b9250506040610b5986828701610afb565b9150509250925092565b600060208284031215610b7957610b7861093e565b5b6000610b87848285016109e3565b91505092915050565b600082825260208201905092915050565b7f476174657761793a207a65726f20616464726573730000000000000000000000600082015250565b6000610bd7601583610b90565b9150610be282610ba1565b602082019050919050565b60006020820190508181036000830152610c0681610bca565b9050919050565b7f476174657761793a207472656173757279206164647265737320616c7265616460008201527f7920736574000000000000000000000000000000000000000000000000000000602082015250565b6000610c69602583610b90565b9150610c7482610c0d565b604082019050919050565b60006020820190508181036000830152610c9881610c5c565b9050919050565b7f476174657761793a2061676772656761746f72206164647265737320616c726560008201527f6164792073657400000000000000000000000000000000000000000000000000602082015250565b6000610cfb602783610b90565b9150610d0682610c9f565b604082019050919050565b60006020820190508181036000830152610d2a81610cee565b9050919050565b610d3a81610a43565b82525050565b6000602082019050610d556000830184610d31565b92915050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b6000610db7602983610b90565b9150610dc282610d5b565b604082019050919050565b60006020820190508181036000830152610de681610daa565b9050919050565b7f476174657761793a20696e76616c696420737461747573000000000000000000600082015250565b6000610e23601783610b90565b9150610e2e82610ded565b602082019050919050565b60006020820190508181036000830152610e5281610e16565b9050919050565b610e6281610ada565b82525050565b6000602082019050610e7d6000830184610e59565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610eb9602083610b90565b9150610ec482610e83565b602082019050919050565b60006020820190508181036000830152610ee881610eac565b905091905056fea26474726f6e5822122084585c73b69ab002121d8f9d4e059d774f68857675dcea5e9a31e9954eff8ac964736f6c63430008120033", "deployedBytecode": "0x608060405234801561001057600080fd5b50d3801561001d57600080fd5b50d2801561002a57600080fd5b50600436106100a25760003560e01c80638da5cb5b116100755780638da5cb5b146100f3578063cd99240014610111578063e30c39781461012d578063f2fde38b1461014b576100a2565b806340ebc677146100a757806347094e2e146100c3578063715018a6146100df57806379ba5097146100e9575b600080fd5b6100c160048036038101906100bc9190610a03565b610167565b005b6100dd60048036038101906100d89190610a83565b61042f565b005b6100e761049a565b005b6100f16104ae565b005b6100fb61053b565b6040516101089190610abf565b60405180910390f35b61012b60048036038101906101269190610b10565b610565565b005b6101356106ea565b6040516101429190610abf565b60405180910390f35b61016560048036038101906101609190610b63565b610714565b005b61016f6107c1565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036101de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101d590610bed565b60405180910390fd5b60007f747265617375727900000000000000000000000000000000000000000000000083036102e1578173ffffffffffffffffffffffffffffffffffffffff16609860089054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161028e90610c7f565b60405180910390fd5b81609860086101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190506103df565b7f61676772656761746f720000000000000000000000000000000000000000000083036103de578173ffffffffffffffffffffffffffffffffffffffff16609960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603610398576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161038f90610d11565b60405180910390fd5b81609960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600190505b5b801561042a578173ffffffffffffffffffffffffffffffffffffffff16837fbbc5b96e57cfecb3dbeeadf92e87f15e58e64fcd75cbe256dcc5d9ef2e51e8a460405160405180910390a35b505050565b6104376107c1565b80609860006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507f1ce29a697a4765bd17d91df93ba75b250b629ecf030553ff1f6ab59f15ae6c7b8160405161048f9190610d40565b60405180910390a150565b6104a26107c1565b6104ac600061083f565b565b60006104b8610870565b90508073ffffffffffffffffffffffffffffffffffffffff166104d96106ea565b73ffffffffffffffffffffffffffffffffffffffff161461052f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052690610dcd565b60405180910390fd5b6105388161083f565b50565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61056d6107c1565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036105dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d390610bed565b60405180910390fd5b60018114806105eb5750600281145b61062a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062190610e39565b60405180910390fd5b7f746f6b656e00000000000000000000000000000000000000000000000000000083036106e55780609a60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16837fcfa976492af7c14a916cc3a239f4c9c75bbd7f5f0e398beb41d892c7eeccae4c836040516106dc9190610e68565b60405180910390a35b505050565b6000606560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61071c6107c1565b80606560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff1661077c61053b565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6107c9610870565b73ffffffffffffffffffffffffffffffffffffffff166107e761053b565b73ffffffffffffffffffffffffffffffffffffffff161461083d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083490610ecf565b60405180910390fd5b565b606560006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905561086d81610878565b50565b600033905090565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b6000819050919050565b61095681610943565b811461096157600080fd5b50565b6000813590506109738161094d565b92915050565b600074ffffffffffffffffffffffffffffffffffffffffff82169050919050565b6109a381610979565b81146109ae57600080fd5b50565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006109dc826109b1565b9050919050565b6000813590506109f28161099a565b6109fb816109d1565b905092915050565b60008060408385031215610a1a57610a1961093e565b5b6000610a2885828601610964565b9250506020610a39858286016109e3565b9150509250929050565b600067ffffffffffffffff82169050919050565b610a6081610a43565b8114610a6b57600080fd5b50565b600081359050610a7d81610a57565b92915050565b600060208284031215610a9957610a9861093e565b5b6000610aa784828501610a6e565b91505092915050565b610ab9816109d1565b82525050565b6000602082019050610ad46000830184610ab0565b92915050565b6000819050919050565b610aed81610ada565b8114610af857600080fd5b50565b600081359050610b0a81610ae4565b92915050565b600080600060608486031215610b2957610b2861093e565b5b6000610b3786828701610964565b9350506020610b48868287016109e3565b9250506040610b5986828701610afb565b9150509250925092565b600060208284031215610b7957610b7861093e565b5b6000610b87848285016109e3565b91505092915050565b600082825260208201905092915050565b7f476174657761793a207a65726f20616464726573730000000000000000000000600082015250565b6000610bd7601583610b90565b9150610be282610ba1565b602082019050919050565b60006020820190508181036000830152610c0681610bca565b9050919050565b7f476174657761793a207472656173757279206164647265737320616c7265616460008201527f7920736574000000000000000000000000000000000000000000000000000000602082015250565b6000610c69602583610b90565b9150610c7482610c0d565b604082019050919050565b60006020820190508181036000830152610c9881610c5c565b9050919050565b7f476174657761793a2061676772656761746f72206164647265737320616c726560008201527f6164792073657400000000000000000000000000000000000000000000000000602082015250565b6000610cfb602783610b90565b9150610d0682610c9f565b604082019050919050565b60006020820190508181036000830152610d2a81610cee565b9050919050565b610d3a81610a43565b82525050565b6000602082019050610d556000830184610d31565b92915050565b7f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060008201527f6e6577206f776e65720000000000000000000000000000000000000000000000602082015250565b6000610db7602983610b90565b9150610dc282610d5b565b604082019050919050565b60006020820190508181036000830152610de681610daa565b9050919050565b7f476174657761793a20696e76616c696420737461747573000000000000000000600082015250565b6000610e23601783610b90565b9150610e2e82610ded565b602082019050919050565b60006020820190508181036000830152610e5281610e16565b9050919050565b610e6281610ada565b82525050565b6000602082019050610e7d6000830184610e59565b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610eb9602083610b90565b9150610ec482610e83565b602082019050919050565b60006020820190508181036000830152610ee881610eac565b905091905056fea26474726f6e5822122084585c73b69ab002121d8f9d4e059d774f68857675dcea5e9a31e9954eff8ac964736f6c63430008120033", "sourceMap": "276:2570:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "276:2570:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2293:551;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1894:170;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2085:101:5;;;:::i;:::-;;2031:212:4;;;:::i;:::-;;1462:85:5;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1426:335:1;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1144:99:4;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1436:178;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2293:551:1;1355:13:5;:11;:13::i;:::-;2401:1:1::1;2384:19;;:5;:19;;::::0;2376:53:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2433:12;2453:18;:4;:18:::0;2449:326:::1;;2505:5;2486:24;;:15;;;;;;;;;;;:24;;::::0;2478:74:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2575:5;2557:15;;:23;;;;;;;;;;;;;;;;;;2595:4;2585:14;;2449:326;;;2614:20;:4;:20:::0;2610:165:::1;;2671:5;2649:27;;:18;;;;;;;;;;;:27;;::::0;2641:79:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2746:5;2725:18;;:26;;;;;;;;;;;;;;;;;;2766:4;2756:14;;2610:165;2449:326;2782:7;2778:63;;;2830:5;2801:35;;2824:4;2801:35;;;;;;;;;;2778:63;2372:472;2293:551:::0;;:::o;1894:170::-;1355:13:5;:11;:13::i;:::-;1993:19:1::1;1972:18;;:40;;;;;;;;;;;;;;;;;;2021:39;2040:19;2021:39;;;;;;:::i;:::-;;;;;;;;1894:170:::0;:::o;2085:101:5:-;1355:13;:11;:13::i;:::-;2149:30:::1;2176:1;2149:18;:30::i;:::-;2085:101::o:0;2031:212:4:-;2083:14;2100:12;:10;:12::i;:::-;2083:29;;2148:6;2130:24;;:14;:12;:14::i;:::-;:24;;;2122:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;2210:26;2229:6;2210:18;:26::i;:::-;2073:170;2031:212::o;1462:85:5:-;1508:7;1534:6;;;;;;;;;;;1527:13;;1462:85;:::o;1426:335:1:-;1355:13:5;:11;:13::i;:::-;1547:1:1::1;1530:19;;:5;:19;;::::0;1522:53:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;1597:1;1587:6;:11;:26;;;;1612:1;1602:6;:11;1587:26;1579:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;1649:15;:4;:15:::0;1645:113:::1;;1698:6;1671:17;:24;1689:5;1671:24;;;;;;;;;;;;;;;:33;;;;1739:5;1714:39;;1733:4;1714:39;1746:6;1714:39;;;;;;:::i;:::-;;;;;;;;1645:113;1426:335:::0;;;:::o;1144:99:4:-;1197:7;1223:13;;;;;;;;;;;1216:20;;1144:99;:::o;1436:178::-;1355:13:5;:11;:13::i;:::-;1541:8:4::1;1525:13;;:24;;;;;;;;;;;;;;;;;;1598:8;1564:43;;1589:7;:5;:7::i;:::-;1564:43;;;;;;;;;;;;1436:178:::0;:::o;1620:130:5:-;1694:12;:10;:12::i;:::-;1683:23;;:7;:5;:7::i;:::-;:23;;;1675:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1620:130::o;1798:153:4:-;1887:13;;1880:20;;;;;;;;;;;1910:34;1935:8;1910:24;:34::i;:::-;1798:153;:::o;886:96:9:-;939:7;965:10;958:17;;886:96;:::o;2687:187:5:-;2760:16;2779:6;;;;;;;;;;;2760:25;;2804:8;2795:6;;:17;;;;;;;;;;;;;;;;;;2858:8;2827:40;;2848:8;2827:40;;;;;;;;;;;;2750:124;2687:187;:::o;88:117:14:-;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:128::-;727:7;767:44;760:5;756:56;745:67;;690:128;;;:::o;824:122::-;897:24;915:5;897:24;:::i;:::-;890:5;887:35;877:63;;936:1;933;926:12;877:63;824:122;:::o;952:126::-;989:7;1029:42;1022:5;1018:54;1007:65;;952:126;;;:::o;1084:96::-;1121:7;1150:24;1168:5;1150:24;:::i;:::-;1139:35;;1084:96;;;:::o;1186:181::-;1232:5;1270:6;1257:20;1248:29;;1286:33;1313:5;1286:33;:::i;:::-;1337:24;1355:5;1337:24;:::i;:::-;1328:33;;1186:181;;;;:::o;1373:474::-;1441:6;1449;1498:2;1486:9;1477:7;1473:23;1469:32;1466:119;;;1504:79;;:::i;:::-;1466:119;1624:1;1649:53;1694:7;1685:6;1674:9;1670:22;1649:53;:::i;:::-;1639:63;;1595:117;1751:2;1777:53;1822:7;1813:6;1802:9;1798:22;1777:53;:::i;:::-;1767:63;;1722:118;1373:474;;;;;:::o;1853:101::-;1889:7;1929:18;1922:5;1918:30;1907:41;;1853:101;;;:::o;1960:120::-;2032:23;2049:5;2032:23;:::i;:::-;2025:5;2022:34;2012:62;;2070:1;2067;2060:12;2012:62;1960:120;:::o;2086:137::-;2131:5;2169:6;2156:20;2147:29;;2185:32;2211:5;2185:32;:::i;:::-;2086:137;;;;:::o;2229:327::-;2287:6;2336:2;2324:9;2315:7;2311:23;2307:32;2304:119;;;2342:79;;:::i;:::-;2304:119;2462:1;2487:52;2531:7;2522:6;2511:9;2507:22;2487:52;:::i;:::-;2477:62;;2433:116;2229:327;;;;:::o;2562:118::-;2649:24;2667:5;2649:24;:::i;:::-;2644:3;2637:37;2562:118;;:::o;2686:222::-;2779:4;2817:2;2806:9;2802:18;2794:26;;2830:71;2898:1;2887:9;2883:17;2874:6;2830:71;:::i;:::-;2686:222;;;;:::o;2914:77::-;2951:7;2980:5;2969:16;;2914:77;;;:::o;2997:122::-;3070:24;3088:5;3070:24;:::i;:::-;3063:5;3060:35;3050:63;;3109:1;3106;3099:12;3050:63;2997:122;:::o;3125:139::-;3171:5;3209:6;3196:20;3187:29;;3225:33;3252:5;3225:33;:::i;:::-;3125:139;;;;:::o;3270:619::-;3347:6;3355;3363;3412:2;3400:9;3391:7;3387:23;3383:32;3380:119;;;3418:79;;:::i;:::-;3380:119;3538:1;3563:53;3608:7;3599:6;3588:9;3584:22;3563:53;:::i;:::-;3553:63;;3509:117;3665:2;3691:53;3736:7;3727:6;3716:9;3712:22;3691:53;:::i;:::-;3681:63;;3636:118;3793:2;3819:53;3864:7;3855:6;3844:9;3840:22;3819:53;:::i;:::-;3809:63;;3764:118;3270:619;;;;;:::o;3895:329::-;3954:6;4003:2;3991:9;3982:7;3978:23;3974:32;3971:119;;;4009:79;;:::i;:::-;3971:119;4129:1;4154:53;4199:7;4190:6;4179:9;4175:22;4154:53;:::i;:::-;4144:63;;4100:117;3895:329;;;;:::o;4230:169::-;4314:11;4348:6;4343:3;4336:19;4388:4;4383:3;4379:14;4364:29;;4230:169;;;;:::o;4405:171::-;4545:23;4541:1;4533:6;4529:14;4522:47;4405:171;:::o;4582:366::-;4724:3;4745:67;4809:2;4804:3;4745:67;:::i;:::-;4738:74;;4821:93;4910:3;4821:93;:::i;:::-;4939:2;4934:3;4930:12;4923:19;;4582:366;;;:::o;4954:419::-;5120:4;5158:2;5147:9;5143:18;5135:26;;5207:9;5201:4;5197:20;5193:1;5182:9;5178:17;5171:47;5235:131;5361:4;5235:131;:::i;:::-;5227:139;;4954:419;;;:::o;5379:224::-;5519:34;5515:1;5507:6;5503:14;5496:58;5588:7;5583:2;5575:6;5571:15;5564:32;5379:224;:::o;5609:366::-;5751:3;5772:67;5836:2;5831:3;5772:67;:::i;:::-;5765:74;;5848:93;5937:3;5848:93;:::i;:::-;5966:2;5961:3;5957:12;5950:19;;5609:366;;;:::o;5981:419::-;6147:4;6185:2;6174:9;6170:18;6162:26;;6234:9;6228:4;6224:20;6220:1;6209:9;6205:17;6198:47;6262:131;6388:4;6262:131;:::i;:::-;6254:139;;5981:419;;;:::o;6406:226::-;6546:34;6542:1;6534:6;6530:14;6523:58;6615:9;6610:2;6602:6;6598:15;6591:34;6406:226;:::o;6638:366::-;6780:3;6801:67;6865:2;6860:3;6801:67;:::i;:::-;6794:74;;6877:93;6966:3;6877:93;:::i;:::-;6995:2;6990:3;6986:12;6979:19;;6638:366;;;:::o;7010:419::-;7176:4;7214:2;7203:9;7199:18;7191:26;;7263:9;7257:4;7253:20;7249:1;7238:9;7234:17;7227:47;7291:131;7417:4;7291:131;:::i;:::-;7283:139;;7010:419;;;:::o;7435:115::-;7520:23;7537:5;7520:23;:::i;:::-;7515:3;7508:36;7435:115;;:::o;7556:218::-;7647:4;7685:2;7674:9;7670:18;7662:26;;7698:69;7764:1;7753:9;7749:17;7740:6;7698:69;:::i;:::-;7556:218;;;;:::o;7780:228::-;7920:34;7916:1;7908:6;7904:14;7897:58;7989:11;7984:2;7976:6;7972:15;7965:36;7780:228;:::o;8014:366::-;8156:3;8177:67;8241:2;8236:3;8177:67;:::i;:::-;8170:74;;8253:93;8342:3;8253:93;:::i;:::-;8371:2;8366:3;8362:12;8355:19;;8014:366;;;:::o;8386:419::-;8552:4;8590:2;8579:9;8575:18;8567:26;;8639:9;8633:4;8629:20;8625:1;8614:9;8610:17;8603:47;8667:131;8793:4;8667:131;:::i;:::-;8659:139;;8386:419;;;:::o;8811:173::-;8951:25;8947:1;8939:6;8935:14;8928:49;8811:173;:::o;8990:366::-;9132:3;9153:67;9217:2;9212:3;9153:67;:::i;:::-;9146:74;;9229:93;9318:3;9229:93;:::i;:::-;9347:2;9342:3;9338:12;9331:19;;8990:366;;;:::o;9362:419::-;9528:4;9566:2;9555:9;9551:18;9543:26;;9615:9;9609:4;9605:20;9601:1;9590:9;9586:17;9579:47;9643:131;9769:4;9643:131;:::i;:::-;9635:139;;9362:419;;;:::o;9787:118::-;9874:24;9892:5;9874:24;:::i;:::-;9869:3;9862:37;9787:118;;:::o;9911:222::-;10004:4;10042:2;10031:9;10027:18;10019:26;;10055:71;10123:1;10112:9;10108:17;10099:6;10055:71;:::i;:::-;9911:222;;;;:::o;10139:182::-;10279:34;10275:1;10267:6;10263:14;10256:58;10139:182;:::o;10327:366::-;10469:3;10490:67;10554:2;10549:3;10490:67;:::i;:::-;10483:74;;10566:93;10655:3;10566:93;:::i;:::-;10684:2;10679:3;10675:12;10668:19;;10327:366;;;:::o;10699:419::-;10865:4;10903:2;10892:9;10888:18;10880:26;;10952:9;10946:4;10942:20;10938:1;10927:9;10923:17;10916:47;10980:131;11106:4;10980:131;:::i;:::-;10972:139;;10699:419;;;:::o", + "deployedSourceMap": "276:2570:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2293:551;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1894:170;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2085:101:4;;;:::i;:::-;;2031:212:3;;;:::i;:::-;;1462:85:4;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1426:335:1;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1144:99:3;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1436:178;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2293:551:1;1355:13:4;:11;:13::i;:::-;2401:1:1::1;2384:19;;:5;:19;;::::0;2376:53:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2433:12;2453:18;:4;:18:::0;2449:326:::1;;2505:5;2486:24;;:15;;;;;;;;;;;:24;;::::0;2478:74:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2575:5;2557:15;;:23;;;;;;;;;;;;;;;;;;2595:4;2585:14;;2449:326;;;2614:20;:4;:20:::0;2610:165:::1;;2671:5;2649:27;;:18;;;;;;;;;;;:27;;::::0;2641:79:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2746:5;2725:18;;:26;;;;;;;;;;;;;;;;;;2766:4;2756:14;;2610:165;2449:326;2782:7;2778:63;;;2830:5;2801:35;;2824:4;2801:35;;;;;;;;;;2778:63;2372:472;2293:551:::0;;:::o;1894:170::-;1355:13:4;:11;:13::i;:::-;1993:19:1::1;1972:18;;:40;;;;;;;;;;;;;;;;;;2021:39;2040:19;2021:39;;;;;;:::i;:::-;;;;;;;;1894:170:::0;:::o;2085:101:4:-;1355:13;:11;:13::i;:::-;2149:30:::1;2176:1;2149:18;:30::i;:::-;2085:101::o:0;2031:212:3:-;2083:14;2100:12;:10;:12::i;:::-;2083:29;;2148:6;2130:24;;:14;:12;:14::i;:::-;:24;;;2122:78;;;;;;;;;;;;:::i;:::-;;;;;;;;;2210:26;2229:6;2210:18;:26::i;:::-;2073:170;2031:212::o;1462:85:4:-;1508:7;1534:6;;;;;;;;;;;1527:13;;1462:85;:::o;1426:335:1:-;1355:13:4;:11;:13::i;:::-;1547:1:1::1;1530:19;;:5;:19;;::::0;1522:53:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;1597:1;1587:6;:11;:26;;;;1612:1;1602:6;:11;1587:26;1579:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;1649:15;:4;:15:::0;1645:113:::1;;1698:6;1671:17;:24;1689:5;1671:24;;;;;;;;;;;;;;;:33;;;;1739:5;1714:39;;1733:4;1714:39;1746:6;1714:39;;;;;;:::i;:::-;;;;;;;;1645:113;1426:335:::0;;;:::o;1144:99:3:-;1197:7;1223:13;;;;;;;;;;;1216:20;;1144:99;:::o;1436:178::-;1355:13:4;:11;:13::i;:::-;1541:8:3::1;1525:13;;:24;;;;;;;;;;;;;;;;;;1598:8;1564:43;;1589:7;:5;:7::i;:::-;1564:43;;;;;;;;;;;;1436:178:::0;:::o;1620:130:4:-;1694:12;:10;:12::i;:::-;1683:23;;:7;:5;:7::i;:::-;:23;;;1675:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1620:130::o;1798:153:3:-;1887:13;;1880:20;;;;;;;;;;;1910:34;1935:8;1910:24;:34::i;:::-;1798:153;:::o;886:96:8:-;939:7;965:10;958:17;;886:96;:::o;2687:187:4:-;2760:16;2779:6;;;;;;;;;;;2760:25;;2804:8;2795:6;;:17;;;;;;;;;;;;;;;;;;2858:8;2827:40;;2848:8;2827:40;;;;;;;;;;;;2750:124;2687:187;:::o;88:117:10:-;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:128::-;727:7;767:44;760:5;756:56;745:67;;690:128;;;:::o;824:122::-;897:24;915:5;897:24;:::i;:::-;890:5;887:35;877:63;;936:1;933;926:12;877:63;824:122;:::o;952:126::-;989:7;1029:42;1022:5;1018:54;1007:65;;952:126;;;:::o;1084:96::-;1121:7;1150:24;1168:5;1150:24;:::i;:::-;1139:35;;1084:96;;;:::o;1186:181::-;1232:5;1270:6;1257:20;1248:29;;1286:33;1313:5;1286:33;:::i;:::-;1337:24;1355:5;1337:24;:::i;:::-;1328:33;;1186:181;;;;:::o;1373:474::-;1441:6;1449;1498:2;1486:9;1477:7;1473:23;1469:32;1466:119;;;1504:79;;:::i;:::-;1466:119;1624:1;1649:53;1694:7;1685:6;1674:9;1670:22;1649:53;:::i;:::-;1639:63;;1595:117;1751:2;1777:53;1822:7;1813:6;1802:9;1798:22;1777:53;:::i;:::-;1767:63;;1722:118;1373:474;;;;;:::o;1853:101::-;1889:7;1929:18;1922:5;1918:30;1907:41;;1853:101;;;:::o;1960:120::-;2032:23;2049:5;2032:23;:::i;:::-;2025:5;2022:34;2012:62;;2070:1;2067;2060:12;2012:62;1960:120;:::o;2086:137::-;2131:5;2169:6;2156:20;2147:29;;2185:32;2211:5;2185:32;:::i;:::-;2086:137;;;;:::o;2229:327::-;2287:6;2336:2;2324:9;2315:7;2311:23;2307:32;2304:119;;;2342:79;;:::i;:::-;2304:119;2462:1;2487:52;2531:7;2522:6;2511:9;2507:22;2487:52;:::i;:::-;2477:62;;2433:116;2229:327;;;;:::o;2562:118::-;2649:24;2667:5;2649:24;:::i;:::-;2644:3;2637:37;2562:118;;:::o;2686:222::-;2779:4;2817:2;2806:9;2802:18;2794:26;;2830:71;2898:1;2887:9;2883:17;2874:6;2830:71;:::i;:::-;2686:222;;;;:::o;2914:77::-;2951:7;2980:5;2969:16;;2914:77;;;:::o;2997:122::-;3070:24;3088:5;3070:24;:::i;:::-;3063:5;3060:35;3050:63;;3109:1;3106;3099:12;3050:63;2997:122;:::o;3125:139::-;3171:5;3209:6;3196:20;3187:29;;3225:33;3252:5;3225:33;:::i;:::-;3125:139;;;;:::o;3270:619::-;3347:6;3355;3363;3412:2;3400:9;3391:7;3387:23;3383:32;3380:119;;;3418:79;;:::i;:::-;3380:119;3538:1;3563:53;3608:7;3599:6;3588:9;3584:22;3563:53;:::i;:::-;3553:63;;3509:117;3665:2;3691:53;3736:7;3727:6;3716:9;3712:22;3691:53;:::i;:::-;3681:63;;3636:118;3793:2;3819:53;3864:7;3855:6;3844:9;3840:22;3819:53;:::i;:::-;3809:63;;3764:118;3270:619;;;;;:::o;3895:329::-;3954:6;4003:2;3991:9;3982:7;3978:23;3974:32;3971:119;;;4009:79;;:::i;:::-;3971:119;4129:1;4154:53;4199:7;4190:6;4179:9;4175:22;4154:53;:::i;:::-;4144:63;;4100:117;3895:329;;;;:::o;4230:169::-;4314:11;4348:6;4343:3;4336:19;4388:4;4383:3;4379:14;4364:29;;4230:169;;;;:::o;4405:171::-;4545:23;4541:1;4533:6;4529:14;4522:47;4405:171;:::o;4582:366::-;4724:3;4745:67;4809:2;4804:3;4745:67;:::i;:::-;4738:74;;4821:93;4910:3;4821:93;:::i;:::-;4939:2;4934:3;4930:12;4923:19;;4582:366;;;:::o;4954:419::-;5120:4;5158:2;5147:9;5143:18;5135:26;;5207:9;5201:4;5197:20;5193:1;5182:9;5178:17;5171:47;5235:131;5361:4;5235:131;:::i;:::-;5227:139;;4954:419;;;:::o;5379:224::-;5519:34;5515:1;5507:6;5503:14;5496:58;5588:7;5583:2;5575:6;5571:15;5564:32;5379:224;:::o;5609:366::-;5751:3;5772:67;5836:2;5831:3;5772:67;:::i;:::-;5765:74;;5848:93;5937:3;5848:93;:::i;:::-;5966:2;5961:3;5957:12;5950:19;;5609:366;;;:::o;5981:419::-;6147:4;6185:2;6174:9;6170:18;6162:26;;6234:9;6228:4;6224:20;6220:1;6209:9;6205:17;6198:47;6262:131;6388:4;6262:131;:::i;:::-;6254:139;;5981:419;;;:::o;6406:226::-;6546:34;6542:1;6534:6;6530:14;6523:58;6615:9;6610:2;6602:6;6598:15;6591:34;6406:226;:::o;6638:366::-;6780:3;6801:67;6865:2;6860:3;6801:67;:::i;:::-;6794:74;;6877:93;6966:3;6877:93;:::i;:::-;6995:2;6990:3;6986:12;6979:19;;6638:366;;;:::o;7010:419::-;7176:4;7214:2;7203:9;7199:18;7191:26;;7263:9;7257:4;7253:20;7249:1;7238:9;7234:17;7227:47;7291:131;7417:4;7291:131;:::i;:::-;7283:139;;7010:419;;;:::o;7435:115::-;7520:23;7537:5;7520:23;:::i;:::-;7515:3;7508:36;7435:115;;:::o;7556:218::-;7647:4;7685:2;7674:9;7670:18;7662:26;;7698:69;7764:1;7753:9;7749:17;7740:6;7698:69;:::i;:::-;7556:218;;;;:::o;7780:228::-;7920:34;7916:1;7908:6;7904:14;7897:58;7989:11;7984:2;7976:6;7972:15;7965:36;7780:228;:::o;8014:366::-;8156:3;8177:67;8241:2;8236:3;8177:67;:::i;:::-;8170:74;;8253:93;8342:3;8253:93;:::i;:::-;8371:2;8366:3;8362:12;8355:19;;8014:366;;;:::o;8386:419::-;8552:4;8590:2;8579:9;8575:18;8567:26;;8639:9;8633:4;8629:20;8625:1;8614:9;8610:17;8603:47;8667:131;8793:4;8667:131;:::i;:::-;8659:139;;8386:419;;;:::o;8811:173::-;8951:25;8947:1;8939:6;8935:14;8928:49;8811:173;:::o;8990:366::-;9132:3;9153:67;9217:2;9212:3;9153:67;:::i;:::-;9146:74;;9229:93;9318:3;9229:93;:::i;:::-;9347:2;9342:3;9338:12;9331:19;;8990:366;;;:::o;9362:419::-;9528:4;9566:2;9555:9;9551:18;9543:26;;9615:9;9609:4;9605:20;9601:1;9590:9;9586:17;9579:47;9643:131;9769:4;9643:131;:::i;:::-;9635:139;;9362:419;;;:::o;9787:118::-;9874:24;9892:5;9874:24;:::i;:::-;9869:3;9862:37;9787:118;;:::o;9911:222::-;10004:4;10042:2;10031:9;10027:18;10019:26;;10055:71;10123:1;10112:9;10108:17;10099:6;10055:71;:::i;:::-;9911:222;;;;:::o;10139:182::-;10279:34;10275:1;10267:6;10263:14;10256:58;10139:182;:::o;10327:366::-;10469:3;10490:67;10554:2;10549:3;10490:67;:::i;:::-;10483:74;;10566:93;10655:3;10566:93;:::i;:::-;10684:2;10679:3;10675:12;10668:19;;10327:366;;;:::o;10699:419::-;10865:4;10903:2;10892:9;10888:18;10880:26;;10952:9;10946:4;10942:20;10938:1;10927:9;10923:17;10916:47;10980:131;11106:4;10980:131;:::i;:::-;10972:139;;10699:419;;;:::o", "source": "// SPDX-License-Identifier: UNLICENSED\n\n/**\n * @title GatewaySettingManager\n * @dev This contract manages the settings and configurations for the Gateway protocol.\n */\npragma solidity ^0.8.18;\n\nimport '@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol';\n\ncontract GatewaySettingManager is Ownable2StepUpgradeable {\n\tuint256 internal MAX_BPS;\n\tuint64 internal protocolFeePercent;\n\taddress internal treasuryAddress;\n\taddress internal _aggregatorAddress;\n\tmapping(address => uint256) internal _isTokenSupported;\n\n\t// this should decrease if more slots are needed on this contract to avoid collisions with base contract\n\tuint256[50] private __gap;\n\n\n\tevent SettingManagerBool(bytes32 indexed what, address indexed value, uint256 status);\n\tevent ProtocolFeeUpdated(uint64 protocolFee);\n\tevent ProtocolAddressUpdated(bytes32 indexed what, address indexed treasuryAddress);\n\tevent SetFeeRecipient(address indexed treasuryAddress);\n\n\t/* ##################################################################\n OWNER FUNCTIONS\n ################################################################## */\n\n\t/**\n\t * @dev Sets the boolean value for a specific setting.\n\t * @param what The setting to be updated.\n\t * @param value The address or value associated with the setting.\n\t * @param status The boolean value to be set.\n\t * Requirements:\n\t * - The value must not be a zero address.\n\t */\n\tfunction settingManagerBool(bytes32 what, address value, uint256 status) external onlyOwner {\n\t\trequire(value != address(0), 'Gateway: zero address');\n\t\trequire(status == 1 || status == 2, 'Gateway: invalid status');\n\t\tif (what == 'token') {\n\t\t\t_isTokenSupported[value] = status;\n\t\t\temit SettingManagerBool(what, value, status);\n\t\t}\n\t}\n\n\t/**\n\t * @dev Updates the protocol fee percentage.\n\t * @param _protocolFeePercent The new protocol fee percentage to be set.\n\t */\n\tfunction updateProtocolFee(uint64 _protocolFeePercent) external onlyOwner {\n\t\tprotocolFeePercent = _protocolFeePercent;\n\t\temit ProtocolFeeUpdated(_protocolFeePercent);\n\t}\n\n\t/**\n\t * @dev Updates a protocol address.\n\t * @param what The address type to be updated (treasury or aggregator).\n\t * @param value The new address to be set.\n\t * Requirements:\n\t * - The value must not be a zero address.\n\t */\n\tfunction updateProtocolAddress(bytes32 what, address value) external onlyOwner {\n\t\trequire(value != address(0), 'Gateway: zero address');\n\t\tbool updated;\n\t\tif (what == 'treasury') {\n\t\t\trequire(treasuryAddress != value, 'Gateway: treasury address already set');\n\t\t\ttreasuryAddress = value;\n\t\t\tupdated = true;\n\t\t} else if (what == 'aggregator') {\n\t\t\trequire(_aggregatorAddress != value, 'Gateway: aggregator address already set');\n\t\t\t_aggregatorAddress = value;\n\t\t\tupdated = true;\n\t\t}\n\t\tif (updated) {\n\t\t\temit ProtocolAddressUpdated(what, value);\n\t\t}\n\t}\n}\n", "sourcePath": "/Users/encryption/Downloads/projects/paycrest/paycrestContract/contracts/GatewaySettingManager.sol", "ast": { "absolutePath": "/Users/encryption/Downloads/projects/paycrest/paycrestContract/contracts/GatewaySettingManager.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "GatewaySettingManager": [ - 763 + 758 ], "Initializable": [ - 1380 + 1305 ], "Ownable2StepUpgradeable": [ - 1078 + 1003 ], "OwnableUpgradeable": [ - 1211 + 1136 ] }, - "id": 764, + "id": 759, "license": "UNLICENSED", "nodeType": "SourceUnit", "nodes": [ { - "id": 581, + "id": 576, "literals": [ "solidity", "^", @@ -273,11 +273,11 @@ { "absolutePath": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol", "file": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol", - "id": 582, + "id": 577, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 764, - "sourceUnit": 1079, + "scope": 759, + "sourceUnit": 1004, "src": "194:80:1", "symbolAliases": [], "unitAlias": "" @@ -287,16 +287,16 @@ "baseContracts": [ { "baseName": { - "id": 583, + "id": 578, "name": "Ownable2StepUpgradeable", "nameLocations": [ "310:23:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1078, + "referencedDeclaration": 1003, "src": "310:23:1" }, - "id": 584, + "id": 579, "nodeType": "InheritanceSpecifier", "src": "310:23:1" } @@ -305,13 +305,13 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 763, + "id": 758, "linearizedBaseContracts": [ - 763, - 1078, - 1211, - 1889, - 1380 + 758, + 1003, + 1136, + 1814, + 1305 ], "name": "GatewaySettingManager", "nameLocation": "285:21:1", @@ -319,12 +319,12 @@ "nodes": [ { "constant": false, - "id": 586, + "id": 581, "mutability": "mutable", "name": "MAX_BPS", "nameLocation": "354:7:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "337:24:1", "stateVariable": true, "storageLocation": "default", @@ -333,7 +333,7 @@ "typeString": "uint256" }, "typeName": { - "id": 585, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "337:7:1", @@ -346,12 +346,12 @@ }, { "constant": false, - "id": 588, + "id": 583, "mutability": "mutable", "name": "protocolFeePercent", "nameLocation": "380:18:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "364:34:1", "stateVariable": true, "storageLocation": "default", @@ -360,7 +360,7 @@ "typeString": "uint64" }, "typeName": { - "id": 587, + "id": 582, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "364:6:1", @@ -373,12 +373,12 @@ }, { "constant": false, - "id": 590, + "id": 585, "mutability": "mutable", "name": "treasuryAddress", "nameLocation": "418:15:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "401:32:1", "stateVariable": true, "storageLocation": "default", @@ -387,7 +387,7 @@ "typeString": "address" }, "typeName": { - "id": 589, + "id": 584, "name": "address", "nodeType": "ElementaryTypeName", "src": "401:7:1", @@ -401,12 +401,12 @@ }, { "constant": false, - "id": 592, + "id": 587, "mutability": "mutable", "name": "_aggregatorAddress", "nameLocation": "453:18:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "436:35:1", "stateVariable": true, "storageLocation": "default", @@ -415,7 +415,7 @@ "typeString": "address" }, "typeName": { - "id": 591, + "id": 586, "name": "address", "nodeType": "ElementaryTypeName", "src": "436:7:1", @@ -429,12 +429,12 @@ }, { "constant": false, - "id": 596, + "id": 591, "mutability": "mutable", "name": "_isTokenSupported", "nameLocation": "511:17:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "474:54:1", "stateVariable": true, "storageLocation": "default", @@ -443,11 +443,11 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 595, + "id": 590, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 593, + "id": 588, "name": "address", "nodeType": "ElementaryTypeName", "src": "482:7:1", @@ -465,7 +465,7 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 594, + "id": 589, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "493:7:1", @@ -479,12 +479,12 @@ }, { "constant": false, - "id": 600, + "id": 595, "mutability": "mutable", "name": "__gap", "nameLocation": "658:5:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "638:25:1", "stateVariable": true, "storageLocation": "default", @@ -494,7 +494,7 @@ }, "typeName": { "baseType": { - "id": 597, + "id": 592, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "638:7:1", @@ -503,10 +503,10 @@ "typeString": "uint256" } }, - "id": 599, + "id": 594, "length": { "hexValue": "3530", - "id": 598, + "id": 593, "isConstant": false, "isLValue": false, "isPure": true, @@ -532,23 +532,23 @@ { "anonymous": false, "eventSelector": "cfa976492af7c14a916cc3a239f4c9c75bbd7f5f0e398beb41d892c7eeccae4c", - "id": 608, + "id": 603, "name": "SettingManagerBool", "nameLocation": "674:18:1", "nodeType": "EventDefinition", "parameters": { - "id": 607, + "id": 602, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 602, + "id": 597, "indexed": true, "mutability": "mutable", "name": "what", "nameLocation": "709:4:1", "nodeType": "VariableDeclaration", - "scope": 608, + "scope": 603, "src": "693:20:1", "stateVariable": false, "storageLocation": "default", @@ -557,7 +557,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 601, + "id": 596, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "693:7:1", @@ -570,13 +570,13 @@ }, { "constant": false, - "id": 604, + "id": 599, "indexed": true, "mutability": "mutable", "name": "value", "nameLocation": "731:5:1", "nodeType": "VariableDeclaration", - "scope": 608, + "scope": 603, "src": "715:21:1", "stateVariable": false, "storageLocation": "default", @@ -585,7 +585,7 @@ "typeString": "address" }, "typeName": { - "id": 603, + "id": 598, "name": "address", "nodeType": "ElementaryTypeName", "src": "715:7:1", @@ -599,13 +599,13 @@ }, { "constant": false, - "id": 606, + "id": 601, "indexed": false, "mutability": "mutable", "name": "status", "nameLocation": "746:6:1", "nodeType": "VariableDeclaration", - "scope": 608, + "scope": 603, "src": "738:14:1", "stateVariable": false, "storageLocation": "default", @@ -614,7 +614,7 @@ "typeString": "uint256" }, "typeName": { - "id": 605, + "id": 600, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "738:7:1", @@ -633,23 +633,23 @@ { "anonymous": false, "eventSelector": "1ce29a697a4765bd17d91df93ba75b250b629ecf030553ff1f6ab59f15ae6c7b", - "id": 612, + "id": 607, "name": "ProtocolFeeUpdated", "nameLocation": "762:18:1", "nodeType": "EventDefinition", "parameters": { - "id": 611, + "id": 606, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 610, + "id": 605, "indexed": false, "mutability": "mutable", "name": "protocolFee", "nameLocation": "788:11:1", "nodeType": "VariableDeclaration", - "scope": 612, + "scope": 607, "src": "781:18:1", "stateVariable": false, "storageLocation": "default", @@ -658,7 +658,7 @@ "typeString": "uint64" }, "typeName": { - "id": 609, + "id": 604, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "781:6:1", @@ -677,23 +677,23 @@ { "anonymous": false, "eventSelector": "bbc5b96e57cfecb3dbeeadf92e87f15e58e64fcd75cbe256dcc5d9ef2e51e8a4", - "id": 618, + "id": 613, "name": "ProtocolAddressUpdated", "nameLocation": "809:22:1", "nodeType": "EventDefinition", "parameters": { - "id": 617, + "id": 612, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 614, + "id": 609, "indexed": true, "mutability": "mutable", "name": "what", "nameLocation": "848:4:1", "nodeType": "VariableDeclaration", - "scope": 618, + "scope": 613, "src": "832:20:1", "stateVariable": false, "storageLocation": "default", @@ -702,7 +702,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 613, + "id": 608, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "832:7:1", @@ -715,13 +715,13 @@ }, { "constant": false, - "id": 616, + "id": 611, "indexed": true, "mutability": "mutable", "name": "treasuryAddress", "nameLocation": "870:15:1", "nodeType": "VariableDeclaration", - "scope": 618, + "scope": 613, "src": "854:31:1", "stateVariable": false, "storageLocation": "default", @@ -730,7 +730,7 @@ "typeString": "address" }, "typeName": { - "id": 615, + "id": 610, "name": "address", "nodeType": "ElementaryTypeName", "src": "854:7:1", @@ -750,23 +750,23 @@ { "anonymous": false, "eventSelector": "2e979f80fe4d43055c584cf4a8467c55875ea36728fc37176c05acd784eb7a73", - "id": 622, + "id": 617, "name": "SetFeeRecipient", "nameLocation": "895:15:1", "nodeType": "EventDefinition", "parameters": { - "id": 621, + "id": 616, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 620, + "id": 615, "indexed": true, "mutability": "mutable", "name": "treasuryAddress", "nameLocation": "927:15:1", "nodeType": "VariableDeclaration", - "scope": 622, + "scope": 617, "src": "911:31:1", "stateVariable": false, "storageLocation": "default", @@ -775,7 +775,7 @@ "typeString": "address" }, "typeName": { - "id": 619, + "id": 614, "name": "address", "nodeType": "ElementaryTypeName", "src": "911:7:1", @@ -794,7 +794,7 @@ }, { "body": { - "id": 672, + "id": 667, "nodeType": "Block", "src": "1518:243:1", "statements": [ @@ -806,17 +806,17 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 640, + "id": 635, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 635, + "id": 630, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 627, + "referencedDeclaration": 622, "src": "1530:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -829,7 +829,7 @@ "arguments": [ { "hexValue": "30", - "id": 638, + "id": 633, "isConstant": false, "isLValue": false, "isPure": true, @@ -851,7 +851,7 @@ "typeString": "int_const 0" } ], - "id": 637, + "id": 632, "isConstant": false, "isLValue": false, "isPure": true, @@ -863,14 +863,14 @@ "typeString": "type(address)" }, "typeName": { - "id": 636, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", "src": "1539:7:1", "typeDescriptions": {} } }, - "id": 639, + "id": 634, "isConstant": false, "isLValue": false, "isPure": true, @@ -894,7 +894,7 @@ }, { "hexValue": "476174657761793a207a65726f2061646472657373", - "id": 641, + "id": 636, "isConstant": false, "isLValue": false, "isPure": true, @@ -920,7 +920,7 @@ "typeString": "literal_string \"Gateway: zero address\"" } ], - "id": 634, + "id": 629, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -934,7 +934,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 642, + "id": 637, "isConstant": false, "isLValue": false, "isPure": false, @@ -950,7 +950,7 @@ "typeString": "tuple()" } }, - "id": 643, + "id": 638, "nodeType": "ExpressionStatement", "src": "1522:53:1" }, @@ -962,7 +962,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 651, + "id": 646, "isConstant": false, "isLValue": false, "isPure": false, @@ -972,17 +972,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 647, + "id": 642, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 645, + "id": 640, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 629, + "referencedDeclaration": 624, "src": "1587:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -993,7 +993,7 @@ "operator": "==", "rightExpression": { "hexValue": "31", - "id": 646, + "id": 641, "isConstant": false, "isLValue": false, "isPure": true, @@ -1020,17 +1020,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 650, + "id": 645, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 648, + "id": 643, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 629, + "referencedDeclaration": 624, "src": "1602:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1041,7 +1041,7 @@ "operator": "==", "rightExpression": { "hexValue": "32", - "id": 649, + "id": 644, "isConstant": false, "isLValue": false, "isPure": true, @@ -1069,7 +1069,7 @@ }, { "hexValue": "476174657761793a20696e76616c696420737461747573", - "id": 652, + "id": 647, "isConstant": false, "isLValue": false, "isPure": true, @@ -1095,7 +1095,7 @@ "typeString": "literal_string \"Gateway: invalid status\"" } ], - "id": 644, + "id": 639, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1109,7 +1109,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 653, + "id": 648, "isConstant": false, "isLValue": false, "isPure": false, @@ -1125,7 +1125,7 @@ "typeString": "tuple()" } }, - "id": 654, + "id": 649, "nodeType": "ExpressionStatement", "src": "1579:62:1" }, @@ -1135,17 +1135,17 @@ "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, - "id": 657, + "id": 652, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 655, + "id": 650, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 625, + "referencedDeclaration": 620, "src": "1649:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -1156,7 +1156,7 @@ "operator": "==", "rightExpression": { "hexValue": "746f6b656e", - "id": 656, + "id": 651, "isConstant": false, "isLValue": false, "isPure": true, @@ -1176,41 +1176,41 @@ "typeString": "bool" } }, - "id": 671, + "id": 666, "nodeType": "IfStatement", "src": "1645:113:1", "trueBody": { - "id": 670, + "id": 665, "nodeType": "Block", "src": "1666:92:1", "statements": [ { "expression": { - "id": 662, + "id": 657, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 658, + "id": 653, "name": "_isTokenSupported", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 596, + "referencedDeclaration": 591, "src": "1671:17:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 660, + "id": 655, "indexExpression": { - "id": 659, + "id": 654, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 627, + "referencedDeclaration": 622, "src": "1689:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1231,11 +1231,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 661, + "id": 656, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 629, + "referencedDeclaration": 624, "src": "1698:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1248,7 +1248,7 @@ "typeString": "uint256" } }, - "id": 663, + "id": 658, "nodeType": "ExpressionStatement", "src": "1671:33:1" }, @@ -1256,11 +1256,11 @@ "eventCall": { "arguments": [ { - "id": 665, + "id": 660, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 625, + "referencedDeclaration": 620, "src": "1733:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -1268,11 +1268,11 @@ } }, { - "id": 666, + "id": 661, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 627, + "referencedDeclaration": 622, "src": "1739:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1280,11 +1280,11 @@ } }, { - "id": 667, + "id": 662, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 629, + "referencedDeclaration": 624, "src": "1746:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -1307,18 +1307,18 @@ "typeString": "uint256" } ], - "id": 664, + "id": 659, "name": "SettingManagerBool", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 608, + "referencedDeclaration": 603, "src": "1714:18:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (bytes32,address,uint256)" } }, - "id": 668, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -1334,7 +1334,7 @@ "typeString": "tuple()" } }, - "id": 669, + "id": 664, "nodeType": "EmitStatement", "src": "1709:44:1" } @@ -1344,27 +1344,27 @@ ] }, "documentation": { - "id": 623, + "id": 618, "nodeType": "StructuredDocumentation", "src": "1141:283:1", "text": " @dev Sets the boolean value for a specific setting.\n @param what The setting to be updated.\n @param value The address or value associated with the setting.\n @param status The boolean value to be set.\n Requirements:\n - The value must not be a zero address." }, "functionSelector": "cd992400", - "id": 673, + "id": 668, "implemented": true, "kind": "function", "modifiers": [ { - "id": 632, + "id": 627, "kind": "modifierInvocation", "modifierName": { - "id": 631, + "id": 626, "name": "onlyOwner", "nameLocations": [ "1508:9:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, + "referencedDeclaration": 1050, "src": "1508:9:1" }, "nodeType": "ModifierInvocation", @@ -1375,17 +1375,17 @@ "nameLocation": "1435:18:1", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 625, + "id": 620, "mutability": "mutable", "name": "what", "nameLocation": "1462:4:1", "nodeType": "VariableDeclaration", - "scope": 673, + "scope": 668, "src": "1454:12:1", "stateVariable": false, "storageLocation": "default", @@ -1394,7 +1394,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 624, + "id": 619, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1454:7:1", @@ -1407,12 +1407,12 @@ }, { "constant": false, - "id": 627, + "id": 622, "mutability": "mutable", "name": "value", "nameLocation": "1476:5:1", "nodeType": "VariableDeclaration", - "scope": 673, + "scope": 668, "src": "1468:13:1", "stateVariable": false, "storageLocation": "default", @@ -1421,7 +1421,7 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 621, "name": "address", "nodeType": "ElementaryTypeName", "src": "1468:7:1", @@ -1435,12 +1435,12 @@ }, { "constant": false, - "id": 629, + "id": 624, "mutability": "mutable", "name": "status", "nameLocation": "1491:6:1", "nodeType": "VariableDeclaration", - "scope": 673, + "scope": 668, "src": "1483:14:1", "stateVariable": false, "storageLocation": "default", @@ -1449,7 +1449,7 @@ "typeString": "uint256" }, "typeName": { - "id": 628, + "id": 623, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1483:7:1", @@ -1464,12 +1464,12 @@ "src": "1453:45:1" }, "returnParameters": { - "id": 633, + "id": 628, "nodeType": "ParameterList", "parameters": [], "src": "1518:0:1" }, - "scope": 763, + "scope": 758, "src": "1426:335:1", "stateMutability": "nonpayable", "virtual": false, @@ -1477,23 +1477,23 @@ }, { "body": { - "id": 689, + "id": 684, "nodeType": "Block", "src": "1968:96:1", "statements": [ { "expression": { - "id": 683, + "id": 678, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 681, + "id": 676, "name": "protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 588, + "referencedDeclaration": 583, "src": "1972:18:1", "typeDescriptions": { "typeIdentifier": "t_uint64", @@ -1503,11 +1503,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 682, + "id": 677, "name": "_protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 676, + "referencedDeclaration": 671, "src": "1993:19:1", "typeDescriptions": { "typeIdentifier": "t_uint64", @@ -1520,7 +1520,7 @@ "typeString": "uint64" } }, - "id": 684, + "id": 679, "nodeType": "ExpressionStatement", "src": "1972:40:1" }, @@ -1528,11 +1528,11 @@ "eventCall": { "arguments": [ { - "id": 686, + "id": 681, "name": "_protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 676, + "referencedDeclaration": 671, "src": "2040:19:1", "typeDescriptions": { "typeIdentifier": "t_uint64", @@ -1547,18 +1547,18 @@ "typeString": "uint64" } ], - "id": 685, + "id": 680, "name": "ProtocolFeeUpdated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 612, + "referencedDeclaration": 607, "src": "2021:18:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint64_$returns$__$", "typeString": "function (uint64)" } }, - "id": 687, + "id": 682, "isConstant": false, "isLValue": false, "isPure": false, @@ -1574,34 +1574,34 @@ "typeString": "tuple()" } }, - "id": 688, + "id": 683, "nodeType": "EmitStatement", "src": "2016:44:1" } ] }, "documentation": { - "id": 674, + "id": 669, "nodeType": "StructuredDocumentation", "src": "1764:128:1", "text": " @dev Updates the protocol fee percentage.\n @param _protocolFeePercent The new protocol fee percentage to be set." }, "functionSelector": "47094e2e", - "id": 690, + "id": 685, "implemented": true, "kind": "function", "modifiers": [ { - "id": 679, + "id": 674, "kind": "modifierInvocation", "modifierName": { - "id": 678, + "id": 673, "name": "onlyOwner", "nameLocations": [ "1958:9:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, + "referencedDeclaration": 1050, "src": "1958:9:1" }, "nodeType": "ModifierInvocation", @@ -1612,17 +1612,17 @@ "nameLocation": "1903:17:1", "nodeType": "FunctionDefinition", "parameters": { - "id": 677, + "id": 672, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 676, + "id": 671, "mutability": "mutable", "name": "_protocolFeePercent", "nameLocation": "1928:19:1", "nodeType": "VariableDeclaration", - "scope": 690, + "scope": 685, "src": "1921:26:1", "stateVariable": false, "storageLocation": "default", @@ -1631,7 +1631,7 @@ "typeString": "uint64" }, "typeName": { - "id": 675, + "id": 670, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "1921:6:1", @@ -1646,12 +1646,12 @@ "src": "1920:28:1" }, "returnParameters": { - "id": 680, + "id": 675, "nodeType": "ParameterList", "parameters": [], "src": "1968:0:1" }, - "scope": 763, + "scope": 758, "src": "1894:170:1", "stateMutability": "nonpayable", "virtual": false, @@ -1659,7 +1659,7 @@ }, { "body": { - "id": 761, + "id": 756, "nodeType": "Block", "src": "2372:472:1", "statements": [ @@ -1671,17 +1671,17 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 706, + "id": 701, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 701, + "id": 696, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2384:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1694,7 +1694,7 @@ "arguments": [ { "hexValue": "30", - "id": 704, + "id": 699, "isConstant": false, "isLValue": false, "isPure": true, @@ -1716,7 +1716,7 @@ "typeString": "int_const 0" } ], - "id": 703, + "id": 698, "isConstant": false, "isLValue": false, "isPure": true, @@ -1728,14 +1728,14 @@ "typeString": "type(address)" }, "typeName": { - "id": 702, + "id": 697, "name": "address", "nodeType": "ElementaryTypeName", "src": "2393:7:1", "typeDescriptions": {} } }, - "id": 705, + "id": 700, "isConstant": false, "isLValue": false, "isPure": true, @@ -1759,7 +1759,7 @@ }, { "hexValue": "476174657761793a207a65726f2061646472657373", - "id": 707, + "id": 702, "isConstant": false, "isLValue": false, "isPure": true, @@ -1785,7 +1785,7 @@ "typeString": "literal_string \"Gateway: zero address\"" } ], - "id": 700, + "id": 695, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1799,7 +1799,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 708, + "id": 703, "isConstant": false, "isLValue": false, "isPure": false, @@ -1815,23 +1815,23 @@ "typeString": "tuple()" } }, - "id": 709, + "id": 704, "nodeType": "ExpressionStatement", "src": "2376:53:1" }, { "assignments": [ - 711 + 706 ], "declarations": [ { "constant": false, - "id": 711, + "id": 706, "mutability": "mutable", "name": "updated", "nameLocation": "2438:7:1", "nodeType": "VariableDeclaration", - "scope": 761, + "scope": 756, "src": "2433:12:1", "stateVariable": false, "storageLocation": "default", @@ -1840,7 +1840,7 @@ "typeString": "bool" }, "typeName": { - "id": 710, + "id": 705, "name": "bool", "nodeType": "ElementaryTypeName", "src": "2433:4:1", @@ -1852,7 +1852,7 @@ "visibility": "internal" } ], - "id": 712, + "id": 707, "nodeType": "VariableDeclarationStatement", "src": "2433:12:1" }, @@ -1862,17 +1862,17 @@ "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, - "id": 715, + "id": 710, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 713, + "id": 708, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 693, + "referencedDeclaration": 688, "src": "2453:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -1883,7 +1883,7 @@ "operator": "==", "rightExpression": { "hexValue": "7472656173757279", - "id": 714, + "id": 709, "isConstant": false, "isLValue": false, "isPure": true, @@ -1909,17 +1909,17 @@ "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, - "id": 734, + "id": 729, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 732, + "id": 727, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 693, + "referencedDeclaration": 688, "src": "2614:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -1930,7 +1930,7 @@ "operator": "==", "rightExpression": { "hexValue": "61676772656761746f72", - "id": 733, + "id": 728, "isConstant": false, "isLValue": false, "isPure": true, @@ -1950,11 +1950,11 @@ "typeString": "bool" } }, - "id": 751, + "id": 746, "nodeType": "IfStatement", "src": "2610:165:1", "trueBody": { - "id": 750, + "id": 745, "nodeType": "Block", "src": "2636:139:1", "statements": [ @@ -1966,17 +1966,17 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 738, + "id": 733, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 736, + "id": 731, "name": "_aggregatorAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 592, + "referencedDeclaration": 587, "src": "2649:18:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1986,11 +1986,11 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 737, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2671:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2005,7 +2005,7 @@ }, { "hexValue": "476174657761793a2061676772656761746f72206164647265737320616c726561647920736574", - "id": 739, + "id": 734, "isConstant": false, "isLValue": false, "isPure": true, @@ -2031,7 +2031,7 @@ "typeString": "literal_string \"Gateway: aggregator address already set\"" } ], - "id": 735, + "id": 730, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2045,7 +2045,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 740, + "id": 735, "isConstant": false, "isLValue": false, "isPure": false, @@ -2061,23 +2061,23 @@ "typeString": "tuple()" } }, - "id": 741, + "id": 736, "nodeType": "ExpressionStatement", "src": "2641:79:1" }, { "expression": { - "id": 744, + "id": 739, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 742, + "id": 737, "name": "_aggregatorAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 592, + "referencedDeclaration": 587, "src": "2725:18:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2087,11 +2087,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 743, + "id": 738, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2746:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2104,23 +2104,23 @@ "typeString": "address" } }, - "id": 745, + "id": 740, "nodeType": "ExpressionStatement", "src": "2725:26:1" }, { "expression": { - "id": 748, + "id": 743, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 746, + "id": 741, "name": "updated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 711, + "referencedDeclaration": 706, "src": "2756:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2131,7 +2131,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 747, + "id": 742, "isConstant": false, "isLValue": false, "isPure": true, @@ -2151,18 +2151,18 @@ "typeString": "bool" } }, - "id": 749, + "id": 744, "nodeType": "ExpressionStatement", "src": "2756:14:1" } ] } }, - "id": 752, + "id": 747, "nodeType": "IfStatement", "src": "2449:326:1", "trueBody": { - "id": 731, + "id": 726, "nodeType": "Block", "src": "2473:131:1", "statements": [ @@ -2174,17 +2174,17 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 719, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 717, + "id": 712, "name": "treasuryAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 590, + "referencedDeclaration": 585, "src": "2486:15:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2194,11 +2194,11 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 718, + "id": 713, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2505:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2213,7 +2213,7 @@ }, { "hexValue": "476174657761793a207472656173757279206164647265737320616c726561647920736574", - "id": 720, + "id": 715, "isConstant": false, "isLValue": false, "isPure": true, @@ -2239,7 +2239,7 @@ "typeString": "literal_string \"Gateway: treasury address already set\"" } ], - "id": 716, + "id": 711, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2253,7 +2253,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 721, + "id": 716, "isConstant": false, "isLValue": false, "isPure": false, @@ -2269,23 +2269,23 @@ "typeString": "tuple()" } }, - "id": 722, + "id": 717, "nodeType": "ExpressionStatement", "src": "2478:74:1" }, { "expression": { - "id": 725, + "id": 720, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 723, + "id": 718, "name": "treasuryAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 590, + "referencedDeclaration": 585, "src": "2557:15:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2295,11 +2295,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 724, + "id": 719, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2575:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2312,23 +2312,23 @@ "typeString": "address" } }, - "id": 726, + "id": 721, "nodeType": "ExpressionStatement", "src": "2557:23:1" }, { "expression": { - "id": 729, + "id": 724, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 727, + "id": 722, "name": "updated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 711, + "referencedDeclaration": 706, "src": "2585:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2339,7 +2339,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 728, + "id": 723, "isConstant": false, "isLValue": false, "isPure": true, @@ -2359,7 +2359,7 @@ "typeString": "bool" } }, - "id": 730, + "id": 725, "nodeType": "ExpressionStatement", "src": "2585:14:1" } @@ -2368,22 +2368,22 @@ }, { "condition": { - "id": 753, + "id": 748, "name": "updated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 711, + "referencedDeclaration": 706, "src": "2782:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 760, + "id": 755, "nodeType": "IfStatement", "src": "2778:63:1", "trueBody": { - "id": 759, + "id": 754, "nodeType": "Block", "src": "2791:50:1", "statements": [ @@ -2391,11 +2391,11 @@ "eventCall": { "arguments": [ { - "id": 755, + "id": 750, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 693, + "referencedDeclaration": 688, "src": "2824:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -2403,11 +2403,11 @@ } }, { - "id": 756, + "id": 751, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2830:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2426,18 +2426,18 @@ "typeString": "address" } ], - "id": 754, + "id": 749, "name": "ProtocolAddressUpdated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 618, + "referencedDeclaration": 613, "src": "2801:22:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$", "typeString": "function (bytes32,address)" } }, - "id": 757, + "id": 752, "isConstant": false, "isLValue": false, "isPure": false, @@ -2453,7 +2453,7 @@ "typeString": "tuple()" } }, - "id": 758, + "id": 753, "nodeType": "EmitStatement", "src": "2796:40:1" } @@ -2463,27 +2463,27 @@ ] }, "documentation": { - "id": 691, + "id": 686, "nodeType": "StructuredDocumentation", "src": "2067:224:1", "text": " @dev Updates a protocol address.\n @param what The address type to be updated (treasury or aggregator).\n @param value The new address to be set.\n Requirements:\n - The value must not be a zero address." }, "functionSelector": "40ebc677", - "id": 762, + "id": 757, "implemented": true, "kind": "function", "modifiers": [ { - "id": 698, + "id": 693, "kind": "modifierInvocation", "modifierName": { - "id": 697, + "id": 692, "name": "onlyOwner", "nameLocations": [ "2362:9:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, + "referencedDeclaration": 1050, "src": "2362:9:1" }, "nodeType": "ModifierInvocation", @@ -2494,17 +2494,17 @@ "nameLocation": "2302:21:1", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 691, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 688, "mutability": "mutable", "name": "what", "nameLocation": "2332:4:1", "nodeType": "VariableDeclaration", - "scope": 762, + "scope": 757, "src": "2324:12:1", "stateVariable": false, "storageLocation": "default", @@ -2513,7 +2513,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 692, + "id": 687, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2324:7:1", @@ -2526,12 +2526,12 @@ }, { "constant": false, - "id": 695, + "id": 690, "mutability": "mutable", "name": "value", "nameLocation": "2346:5:1", "nodeType": "VariableDeclaration", - "scope": 762, + "scope": 757, "src": "2338:13:1", "stateVariable": false, "storageLocation": "default", @@ -2540,7 +2540,7 @@ "typeString": "address" }, "typeName": { - "id": 694, + "id": 689, "name": "address", "nodeType": "ElementaryTypeName", "src": "2338:7:1", @@ -2556,19 +2556,19 @@ "src": "2323:29:1" }, "returnParameters": { - "id": 699, + "id": 694, "nodeType": "ParameterList", "parameters": [], "src": "2372:0:1" }, - "scope": 763, + "scope": 758, "src": "2293:551:1", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 764, + "scope": 759, "src": "276:2570:1", "usedErrors": [] } @@ -2579,27 +2579,27 @@ "absolutePath": "/Users/encryption/Downloads/projects/paycrest/paycrestContract/contracts/GatewaySettingManager.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "GatewaySettingManager": [ - 763 + 758 ], "Initializable": [ - 1380 + 1305 ], "Ownable2StepUpgradeable": [ - 1078 + 1003 ], "OwnableUpgradeable": [ - 1211 + 1136 ] }, - "id": 764, + "id": 759, "license": "UNLICENSED", "nodeType": "SourceUnit", "nodes": [ { - "id": 581, + "id": 576, "literals": [ "solidity", "^", @@ -2612,11 +2612,11 @@ { "absolutePath": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol", "file": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol", - "id": 582, + "id": 577, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 764, - "sourceUnit": 1079, + "scope": 759, + "sourceUnit": 1004, "src": "194:80:1", "symbolAliases": [], "unitAlias": "" @@ -2626,16 +2626,16 @@ "baseContracts": [ { "baseName": { - "id": 583, + "id": 578, "name": "Ownable2StepUpgradeable", "nameLocations": [ "310:23:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1078, + "referencedDeclaration": 1003, "src": "310:23:1" }, - "id": 584, + "id": 579, "nodeType": "InheritanceSpecifier", "src": "310:23:1" } @@ -2644,13 +2644,13 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 763, + "id": 758, "linearizedBaseContracts": [ - 763, - 1078, - 1211, - 1889, - 1380 + 758, + 1003, + 1136, + 1814, + 1305 ], "name": "GatewaySettingManager", "nameLocation": "285:21:1", @@ -2658,12 +2658,12 @@ "nodes": [ { "constant": false, - "id": 586, + "id": 581, "mutability": "mutable", "name": "MAX_BPS", "nameLocation": "354:7:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "337:24:1", "stateVariable": true, "storageLocation": "default", @@ -2672,7 +2672,7 @@ "typeString": "uint256" }, "typeName": { - "id": 585, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "337:7:1", @@ -2685,12 +2685,12 @@ }, { "constant": false, - "id": 588, + "id": 583, "mutability": "mutable", "name": "protocolFeePercent", "nameLocation": "380:18:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "364:34:1", "stateVariable": true, "storageLocation": "default", @@ -2699,7 +2699,7 @@ "typeString": "uint64" }, "typeName": { - "id": 587, + "id": 582, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "364:6:1", @@ -2712,12 +2712,12 @@ }, { "constant": false, - "id": 590, + "id": 585, "mutability": "mutable", "name": "treasuryAddress", "nameLocation": "418:15:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "401:32:1", "stateVariable": true, "storageLocation": "default", @@ -2726,7 +2726,7 @@ "typeString": "address" }, "typeName": { - "id": 589, + "id": 584, "name": "address", "nodeType": "ElementaryTypeName", "src": "401:7:1", @@ -2740,12 +2740,12 @@ }, { "constant": false, - "id": 592, + "id": 587, "mutability": "mutable", "name": "_aggregatorAddress", "nameLocation": "453:18:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "436:35:1", "stateVariable": true, "storageLocation": "default", @@ -2754,7 +2754,7 @@ "typeString": "address" }, "typeName": { - "id": 591, + "id": 586, "name": "address", "nodeType": "ElementaryTypeName", "src": "436:7:1", @@ -2768,12 +2768,12 @@ }, { "constant": false, - "id": 596, + "id": 591, "mutability": "mutable", "name": "_isTokenSupported", "nameLocation": "511:17:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "474:54:1", "stateVariable": true, "storageLocation": "default", @@ -2782,11 +2782,11 @@ "typeString": "mapping(address => uint256)" }, "typeName": { - "id": 595, + "id": 590, "keyName": "", "keyNameLocation": "-1:-1:-1", "keyType": { - "id": 593, + "id": 588, "name": "address", "nodeType": "ElementaryTypeName", "src": "482:7:1", @@ -2804,7 +2804,7 @@ "valueName": "", "valueNameLocation": "-1:-1:-1", "valueType": { - "id": 594, + "id": 589, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "493:7:1", @@ -2818,12 +2818,12 @@ }, { "constant": false, - "id": 600, + "id": 595, "mutability": "mutable", "name": "__gap", "nameLocation": "658:5:1", "nodeType": "VariableDeclaration", - "scope": 763, + "scope": 758, "src": "638:25:1", "stateVariable": true, "storageLocation": "default", @@ -2833,7 +2833,7 @@ }, "typeName": { "baseType": { - "id": 597, + "id": 592, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "638:7:1", @@ -2842,10 +2842,10 @@ "typeString": "uint256" } }, - "id": 599, + "id": 594, "length": { "hexValue": "3530", - "id": 598, + "id": 593, "isConstant": false, "isLValue": false, "isPure": true, @@ -2871,23 +2871,23 @@ { "anonymous": false, "eventSelector": "cfa976492af7c14a916cc3a239f4c9c75bbd7f5f0e398beb41d892c7eeccae4c", - "id": 608, + "id": 603, "name": "SettingManagerBool", "nameLocation": "674:18:1", "nodeType": "EventDefinition", "parameters": { - "id": 607, + "id": 602, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 602, + "id": 597, "indexed": true, "mutability": "mutable", "name": "what", "nameLocation": "709:4:1", "nodeType": "VariableDeclaration", - "scope": 608, + "scope": 603, "src": "693:20:1", "stateVariable": false, "storageLocation": "default", @@ -2896,7 +2896,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 601, + "id": 596, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "693:7:1", @@ -2909,13 +2909,13 @@ }, { "constant": false, - "id": 604, + "id": 599, "indexed": true, "mutability": "mutable", "name": "value", "nameLocation": "731:5:1", "nodeType": "VariableDeclaration", - "scope": 608, + "scope": 603, "src": "715:21:1", "stateVariable": false, "storageLocation": "default", @@ -2924,7 +2924,7 @@ "typeString": "address" }, "typeName": { - "id": 603, + "id": 598, "name": "address", "nodeType": "ElementaryTypeName", "src": "715:7:1", @@ -2938,13 +2938,13 @@ }, { "constant": false, - "id": 606, + "id": 601, "indexed": false, "mutability": "mutable", "name": "status", "nameLocation": "746:6:1", "nodeType": "VariableDeclaration", - "scope": 608, + "scope": 603, "src": "738:14:1", "stateVariable": false, "storageLocation": "default", @@ -2953,7 +2953,7 @@ "typeString": "uint256" }, "typeName": { - "id": 605, + "id": 600, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "738:7:1", @@ -2972,23 +2972,23 @@ { "anonymous": false, "eventSelector": "1ce29a697a4765bd17d91df93ba75b250b629ecf030553ff1f6ab59f15ae6c7b", - "id": 612, + "id": 607, "name": "ProtocolFeeUpdated", "nameLocation": "762:18:1", "nodeType": "EventDefinition", "parameters": { - "id": 611, + "id": 606, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 610, + "id": 605, "indexed": false, "mutability": "mutable", "name": "protocolFee", "nameLocation": "788:11:1", "nodeType": "VariableDeclaration", - "scope": 612, + "scope": 607, "src": "781:18:1", "stateVariable": false, "storageLocation": "default", @@ -2997,7 +2997,7 @@ "typeString": "uint64" }, "typeName": { - "id": 609, + "id": 604, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "781:6:1", @@ -3016,23 +3016,23 @@ { "anonymous": false, "eventSelector": "bbc5b96e57cfecb3dbeeadf92e87f15e58e64fcd75cbe256dcc5d9ef2e51e8a4", - "id": 618, + "id": 613, "name": "ProtocolAddressUpdated", "nameLocation": "809:22:1", "nodeType": "EventDefinition", "parameters": { - "id": 617, + "id": 612, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 614, + "id": 609, "indexed": true, "mutability": "mutable", "name": "what", "nameLocation": "848:4:1", "nodeType": "VariableDeclaration", - "scope": 618, + "scope": 613, "src": "832:20:1", "stateVariable": false, "storageLocation": "default", @@ -3041,7 +3041,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 613, + "id": 608, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "832:7:1", @@ -3054,13 +3054,13 @@ }, { "constant": false, - "id": 616, + "id": 611, "indexed": true, "mutability": "mutable", "name": "treasuryAddress", "nameLocation": "870:15:1", "nodeType": "VariableDeclaration", - "scope": 618, + "scope": 613, "src": "854:31:1", "stateVariable": false, "storageLocation": "default", @@ -3069,7 +3069,7 @@ "typeString": "address" }, "typeName": { - "id": 615, + "id": 610, "name": "address", "nodeType": "ElementaryTypeName", "src": "854:7:1", @@ -3089,23 +3089,23 @@ { "anonymous": false, "eventSelector": "2e979f80fe4d43055c584cf4a8467c55875ea36728fc37176c05acd784eb7a73", - "id": 622, + "id": 617, "name": "SetFeeRecipient", "nameLocation": "895:15:1", "nodeType": "EventDefinition", "parameters": { - "id": 621, + "id": 616, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 620, + "id": 615, "indexed": true, "mutability": "mutable", "name": "treasuryAddress", "nameLocation": "927:15:1", "nodeType": "VariableDeclaration", - "scope": 622, + "scope": 617, "src": "911:31:1", "stateVariable": false, "storageLocation": "default", @@ -3114,7 +3114,7 @@ "typeString": "address" }, "typeName": { - "id": 619, + "id": 614, "name": "address", "nodeType": "ElementaryTypeName", "src": "911:7:1", @@ -3133,7 +3133,7 @@ }, { "body": { - "id": 672, + "id": 667, "nodeType": "Block", "src": "1518:243:1", "statements": [ @@ -3145,17 +3145,17 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 640, + "id": 635, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 635, + "id": 630, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 627, + "referencedDeclaration": 622, "src": "1530:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3168,7 +3168,7 @@ "arguments": [ { "hexValue": "30", - "id": 638, + "id": 633, "isConstant": false, "isLValue": false, "isPure": true, @@ -3190,7 +3190,7 @@ "typeString": "int_const 0" } ], - "id": 637, + "id": 632, "isConstant": false, "isLValue": false, "isPure": true, @@ -3202,14 +3202,14 @@ "typeString": "type(address)" }, "typeName": { - "id": 636, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", "src": "1539:7:1", "typeDescriptions": {} } }, - "id": 639, + "id": 634, "isConstant": false, "isLValue": false, "isPure": true, @@ -3233,7 +3233,7 @@ }, { "hexValue": "476174657761793a207a65726f2061646472657373", - "id": 641, + "id": 636, "isConstant": false, "isLValue": false, "isPure": true, @@ -3259,7 +3259,7 @@ "typeString": "literal_string \"Gateway: zero address\"" } ], - "id": 634, + "id": 629, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -3273,7 +3273,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 642, + "id": 637, "isConstant": false, "isLValue": false, "isPure": false, @@ -3289,7 +3289,7 @@ "typeString": "tuple()" } }, - "id": 643, + "id": 638, "nodeType": "ExpressionStatement", "src": "1522:53:1" }, @@ -3301,7 +3301,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 651, + "id": 646, "isConstant": false, "isLValue": false, "isPure": false, @@ -3311,17 +3311,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 647, + "id": 642, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 645, + "id": 640, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 629, + "referencedDeclaration": 624, "src": "1587:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -3332,7 +3332,7 @@ "operator": "==", "rightExpression": { "hexValue": "31", - "id": 646, + "id": 641, "isConstant": false, "isLValue": false, "isPure": true, @@ -3359,17 +3359,17 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 650, + "id": 645, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 648, + "id": 643, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 629, + "referencedDeclaration": 624, "src": "1602:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -3380,7 +3380,7 @@ "operator": "==", "rightExpression": { "hexValue": "32", - "id": 649, + "id": 644, "isConstant": false, "isLValue": false, "isPure": true, @@ -3408,7 +3408,7 @@ }, { "hexValue": "476174657761793a20696e76616c696420737461747573", - "id": 652, + "id": 647, "isConstant": false, "isLValue": false, "isPure": true, @@ -3434,7 +3434,7 @@ "typeString": "literal_string \"Gateway: invalid status\"" } ], - "id": 644, + "id": 639, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -3448,7 +3448,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 653, + "id": 648, "isConstant": false, "isLValue": false, "isPure": false, @@ -3464,7 +3464,7 @@ "typeString": "tuple()" } }, - "id": 654, + "id": 649, "nodeType": "ExpressionStatement", "src": "1579:62:1" }, @@ -3474,17 +3474,17 @@ "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, - "id": 657, + "id": 652, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 655, + "id": 650, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 625, + "referencedDeclaration": 620, "src": "1649:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -3495,7 +3495,7 @@ "operator": "==", "rightExpression": { "hexValue": "746f6b656e", - "id": 656, + "id": 651, "isConstant": false, "isLValue": false, "isPure": true, @@ -3515,41 +3515,41 @@ "typeString": "bool" } }, - "id": 671, + "id": 666, "nodeType": "IfStatement", "src": "1645:113:1", "trueBody": { - "id": 670, + "id": 665, "nodeType": "Block", "src": "1666:92:1", "statements": [ { "expression": { - "id": 662, + "id": 657, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 658, + "id": 653, "name": "_isTokenSupported", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 596, + "referencedDeclaration": 591, "src": "1671:17:1", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_uint256_$", "typeString": "mapping(address => uint256)" } }, - "id": 660, + "id": 655, "indexExpression": { - "id": 659, + "id": 654, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 627, + "referencedDeclaration": 622, "src": "1689:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3570,11 +3570,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 661, + "id": 656, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 629, + "referencedDeclaration": 624, "src": "1698:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -3587,7 +3587,7 @@ "typeString": "uint256" } }, - "id": 663, + "id": 658, "nodeType": "ExpressionStatement", "src": "1671:33:1" }, @@ -3595,11 +3595,11 @@ "eventCall": { "arguments": [ { - "id": 665, + "id": 660, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 625, + "referencedDeclaration": 620, "src": "1733:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -3607,11 +3607,11 @@ } }, { - "id": 666, + "id": 661, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 627, + "referencedDeclaration": 622, "src": "1739:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3619,11 +3619,11 @@ } }, { - "id": 667, + "id": 662, "name": "status", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 629, + "referencedDeclaration": 624, "src": "1746:6:1", "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -3646,18 +3646,18 @@ "typeString": "uint256" } ], - "id": 664, + "id": 659, "name": "SettingManagerBool", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 608, + "referencedDeclaration": 603, "src": "1714:18:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (bytes32,address,uint256)" } }, - "id": 668, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -3673,7 +3673,7 @@ "typeString": "tuple()" } }, - "id": 669, + "id": 664, "nodeType": "EmitStatement", "src": "1709:44:1" } @@ -3683,27 +3683,27 @@ ] }, "documentation": { - "id": 623, + "id": 618, "nodeType": "StructuredDocumentation", "src": "1141:283:1", "text": " @dev Sets the boolean value for a specific setting.\n @param what The setting to be updated.\n @param value The address or value associated with the setting.\n @param status The boolean value to be set.\n Requirements:\n - The value must not be a zero address." }, "functionSelector": "cd992400", - "id": 673, + "id": 668, "implemented": true, "kind": "function", "modifiers": [ { - "id": 632, + "id": 627, "kind": "modifierInvocation", "modifierName": { - "id": 631, + "id": 626, "name": "onlyOwner", "nameLocations": [ "1508:9:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, + "referencedDeclaration": 1050, "src": "1508:9:1" }, "nodeType": "ModifierInvocation", @@ -3714,17 +3714,17 @@ "nameLocation": "1435:18:1", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 625, + "id": 620, "mutability": "mutable", "name": "what", "nameLocation": "1462:4:1", "nodeType": "VariableDeclaration", - "scope": 673, + "scope": 668, "src": "1454:12:1", "stateVariable": false, "storageLocation": "default", @@ -3733,7 +3733,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 624, + "id": 619, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1454:7:1", @@ -3746,12 +3746,12 @@ }, { "constant": false, - "id": 627, + "id": 622, "mutability": "mutable", "name": "value", "nameLocation": "1476:5:1", "nodeType": "VariableDeclaration", - "scope": 673, + "scope": 668, "src": "1468:13:1", "stateVariable": false, "storageLocation": "default", @@ -3760,7 +3760,7 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 621, "name": "address", "nodeType": "ElementaryTypeName", "src": "1468:7:1", @@ -3774,12 +3774,12 @@ }, { "constant": false, - "id": 629, + "id": 624, "mutability": "mutable", "name": "status", "nameLocation": "1491:6:1", "nodeType": "VariableDeclaration", - "scope": 673, + "scope": 668, "src": "1483:14:1", "stateVariable": false, "storageLocation": "default", @@ -3788,7 +3788,7 @@ "typeString": "uint256" }, "typeName": { - "id": 628, + "id": 623, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1483:7:1", @@ -3803,12 +3803,12 @@ "src": "1453:45:1" }, "returnParameters": { - "id": 633, + "id": 628, "nodeType": "ParameterList", "parameters": [], "src": "1518:0:1" }, - "scope": 763, + "scope": 758, "src": "1426:335:1", "stateMutability": "nonpayable", "virtual": false, @@ -3816,23 +3816,23 @@ }, { "body": { - "id": 689, + "id": 684, "nodeType": "Block", "src": "1968:96:1", "statements": [ { "expression": { - "id": 683, + "id": 678, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 681, + "id": 676, "name": "protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 588, + "referencedDeclaration": 583, "src": "1972:18:1", "typeDescriptions": { "typeIdentifier": "t_uint64", @@ -3842,11 +3842,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 682, + "id": 677, "name": "_protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 676, + "referencedDeclaration": 671, "src": "1993:19:1", "typeDescriptions": { "typeIdentifier": "t_uint64", @@ -3859,7 +3859,7 @@ "typeString": "uint64" } }, - "id": 684, + "id": 679, "nodeType": "ExpressionStatement", "src": "1972:40:1" }, @@ -3867,11 +3867,11 @@ "eventCall": { "arguments": [ { - "id": 686, + "id": 681, "name": "_protocolFeePercent", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 676, + "referencedDeclaration": 671, "src": "2040:19:1", "typeDescriptions": { "typeIdentifier": "t_uint64", @@ -3886,18 +3886,18 @@ "typeString": "uint64" } ], - "id": 685, + "id": 680, "name": "ProtocolFeeUpdated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 612, + "referencedDeclaration": 607, "src": "2021:18:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint64_$returns$__$", "typeString": "function (uint64)" } }, - "id": 687, + "id": 682, "isConstant": false, "isLValue": false, "isPure": false, @@ -3913,34 +3913,34 @@ "typeString": "tuple()" } }, - "id": 688, + "id": 683, "nodeType": "EmitStatement", "src": "2016:44:1" } ] }, "documentation": { - "id": 674, + "id": 669, "nodeType": "StructuredDocumentation", "src": "1764:128:1", "text": " @dev Updates the protocol fee percentage.\n @param _protocolFeePercent The new protocol fee percentage to be set." }, "functionSelector": "47094e2e", - "id": 690, + "id": 685, "implemented": true, "kind": "function", "modifiers": [ { - "id": 679, + "id": 674, "kind": "modifierInvocation", "modifierName": { - "id": 678, + "id": 673, "name": "onlyOwner", "nameLocations": [ "1958:9:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, + "referencedDeclaration": 1050, "src": "1958:9:1" }, "nodeType": "ModifierInvocation", @@ -3951,17 +3951,17 @@ "nameLocation": "1903:17:1", "nodeType": "FunctionDefinition", "parameters": { - "id": 677, + "id": 672, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 676, + "id": 671, "mutability": "mutable", "name": "_protocolFeePercent", "nameLocation": "1928:19:1", "nodeType": "VariableDeclaration", - "scope": 690, + "scope": 685, "src": "1921:26:1", "stateVariable": false, "storageLocation": "default", @@ -3970,7 +3970,7 @@ "typeString": "uint64" }, "typeName": { - "id": 675, + "id": 670, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "1921:6:1", @@ -3985,12 +3985,12 @@ "src": "1920:28:1" }, "returnParameters": { - "id": 680, + "id": 675, "nodeType": "ParameterList", "parameters": [], "src": "1968:0:1" }, - "scope": 763, + "scope": 758, "src": "1894:170:1", "stateMutability": "nonpayable", "virtual": false, @@ -3998,7 +3998,7 @@ }, { "body": { - "id": 761, + "id": 756, "nodeType": "Block", "src": "2372:472:1", "statements": [ @@ -4010,17 +4010,17 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 706, + "id": 701, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 701, + "id": 696, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2384:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4033,7 +4033,7 @@ "arguments": [ { "hexValue": "30", - "id": 704, + "id": 699, "isConstant": false, "isLValue": false, "isPure": true, @@ -4055,7 +4055,7 @@ "typeString": "int_const 0" } ], - "id": 703, + "id": 698, "isConstant": false, "isLValue": false, "isPure": true, @@ -4067,14 +4067,14 @@ "typeString": "type(address)" }, "typeName": { - "id": 702, + "id": 697, "name": "address", "nodeType": "ElementaryTypeName", "src": "2393:7:1", "typeDescriptions": {} } }, - "id": 705, + "id": 700, "isConstant": false, "isLValue": false, "isPure": true, @@ -4098,7 +4098,7 @@ }, { "hexValue": "476174657761793a207a65726f2061646472657373", - "id": 707, + "id": 702, "isConstant": false, "isLValue": false, "isPure": true, @@ -4124,7 +4124,7 @@ "typeString": "literal_string \"Gateway: zero address\"" } ], - "id": 700, + "id": 695, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -4138,7 +4138,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 708, + "id": 703, "isConstant": false, "isLValue": false, "isPure": false, @@ -4154,23 +4154,23 @@ "typeString": "tuple()" } }, - "id": 709, + "id": 704, "nodeType": "ExpressionStatement", "src": "2376:53:1" }, { "assignments": [ - 711 + 706 ], "declarations": [ { "constant": false, - "id": 711, + "id": 706, "mutability": "mutable", "name": "updated", "nameLocation": "2438:7:1", "nodeType": "VariableDeclaration", - "scope": 761, + "scope": 756, "src": "2433:12:1", "stateVariable": false, "storageLocation": "default", @@ -4179,7 +4179,7 @@ "typeString": "bool" }, "typeName": { - "id": 710, + "id": 705, "name": "bool", "nodeType": "ElementaryTypeName", "src": "2433:4:1", @@ -4191,7 +4191,7 @@ "visibility": "internal" } ], - "id": 712, + "id": 707, "nodeType": "VariableDeclarationStatement", "src": "2433:12:1" }, @@ -4201,17 +4201,17 @@ "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, - "id": 715, + "id": 710, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 713, + "id": 708, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 693, + "referencedDeclaration": 688, "src": "2453:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4222,7 +4222,7 @@ "operator": "==", "rightExpression": { "hexValue": "7472656173757279", - "id": 714, + "id": 709, "isConstant": false, "isLValue": false, "isPure": true, @@ -4248,17 +4248,17 @@ "typeIdentifier": "t_bytes32", "typeString": "bytes32" }, - "id": 734, + "id": 729, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 732, + "id": 727, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 693, + "referencedDeclaration": 688, "src": "2614:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4269,7 +4269,7 @@ "operator": "==", "rightExpression": { "hexValue": "61676772656761746f72", - "id": 733, + "id": 728, "isConstant": false, "isLValue": false, "isPure": true, @@ -4289,11 +4289,11 @@ "typeString": "bool" } }, - "id": 751, + "id": 746, "nodeType": "IfStatement", "src": "2610:165:1", "trueBody": { - "id": 750, + "id": 745, "nodeType": "Block", "src": "2636:139:1", "statements": [ @@ -4305,17 +4305,17 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 738, + "id": 733, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 736, + "id": 731, "name": "_aggregatorAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 592, + "referencedDeclaration": 587, "src": "2649:18:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4325,11 +4325,11 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 737, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2671:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4344,7 +4344,7 @@ }, { "hexValue": "476174657761793a2061676772656761746f72206164647265737320616c726561647920736574", - "id": 739, + "id": 734, "isConstant": false, "isLValue": false, "isPure": true, @@ -4370,7 +4370,7 @@ "typeString": "literal_string \"Gateway: aggregator address already set\"" } ], - "id": 735, + "id": 730, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -4384,7 +4384,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 740, + "id": 735, "isConstant": false, "isLValue": false, "isPure": false, @@ -4400,23 +4400,23 @@ "typeString": "tuple()" } }, - "id": 741, + "id": 736, "nodeType": "ExpressionStatement", "src": "2641:79:1" }, { "expression": { - "id": 744, + "id": 739, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 742, + "id": 737, "name": "_aggregatorAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 592, + "referencedDeclaration": 587, "src": "2725:18:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4426,11 +4426,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 743, + "id": 738, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2746:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4443,23 +4443,23 @@ "typeString": "address" } }, - "id": 745, + "id": 740, "nodeType": "ExpressionStatement", "src": "2725:26:1" }, { "expression": { - "id": 748, + "id": 743, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 746, + "id": 741, "name": "updated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 711, + "referencedDeclaration": 706, "src": "2756:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4470,7 +4470,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 747, + "id": 742, "isConstant": false, "isLValue": false, "isPure": true, @@ -4490,18 +4490,18 @@ "typeString": "bool" } }, - "id": 749, + "id": 744, "nodeType": "ExpressionStatement", "src": "2756:14:1" } ] } }, - "id": 752, + "id": 747, "nodeType": "IfStatement", "src": "2449:326:1", "trueBody": { - "id": 731, + "id": 726, "nodeType": "Block", "src": "2473:131:1", "statements": [ @@ -4513,17 +4513,17 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 719, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 717, + "id": 712, "name": "treasuryAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 590, + "referencedDeclaration": 585, "src": "2486:15:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4533,11 +4533,11 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 718, + "id": 713, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2505:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4552,7 +4552,7 @@ }, { "hexValue": "476174657761793a207472656173757279206164647265737320616c726561647920736574", - "id": 720, + "id": 715, "isConstant": false, "isLValue": false, "isPure": true, @@ -4578,7 +4578,7 @@ "typeString": "literal_string \"Gateway: treasury address already set\"" } ], - "id": 716, + "id": 711, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -4592,7 +4592,7 @@ "typeString": "function (bool,string memory) pure" } }, - "id": 721, + "id": 716, "isConstant": false, "isLValue": false, "isPure": false, @@ -4608,23 +4608,23 @@ "typeString": "tuple()" } }, - "id": 722, + "id": 717, "nodeType": "ExpressionStatement", "src": "2478:74:1" }, { "expression": { - "id": 725, + "id": 720, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 723, + "id": 718, "name": "treasuryAddress", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 590, + "referencedDeclaration": 585, "src": "2557:15:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4634,11 +4634,11 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 724, + "id": 719, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2575:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4651,23 +4651,23 @@ "typeString": "address" } }, - "id": 726, + "id": 721, "nodeType": "ExpressionStatement", "src": "2557:23:1" }, { "expression": { - "id": 729, + "id": 724, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 727, + "id": 722, "name": "updated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 711, + "referencedDeclaration": 706, "src": "2585:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", @@ -4678,7 +4678,7 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 728, + "id": 723, "isConstant": false, "isLValue": false, "isPure": true, @@ -4698,7 +4698,7 @@ "typeString": "bool" } }, - "id": 730, + "id": 725, "nodeType": "ExpressionStatement", "src": "2585:14:1" } @@ -4707,22 +4707,22 @@ }, { "condition": { - "id": 753, + "id": 748, "name": "updated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 711, + "referencedDeclaration": 706, "src": "2782:7:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 760, + "id": 755, "nodeType": "IfStatement", "src": "2778:63:1", "trueBody": { - "id": 759, + "id": 754, "nodeType": "Block", "src": "2791:50:1", "statements": [ @@ -4730,11 +4730,11 @@ "eventCall": { "arguments": [ { - "id": 755, + "id": 750, "name": "what", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 693, + "referencedDeclaration": 688, "src": "2824:4:1", "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -4742,11 +4742,11 @@ } }, { - "id": 756, + "id": 751, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 695, + "referencedDeclaration": 690, "src": "2830:5:1", "typeDescriptions": { "typeIdentifier": "t_address", @@ -4765,18 +4765,18 @@ "typeString": "address" } ], - "id": 754, + "id": 749, "name": "ProtocolAddressUpdated", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 618, + "referencedDeclaration": 613, "src": "2801:22:1", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_bytes32_$_t_address_$returns$__$", "typeString": "function (bytes32,address)" } }, - "id": 757, + "id": 752, "isConstant": false, "isLValue": false, "isPure": false, @@ -4792,7 +4792,7 @@ "typeString": "tuple()" } }, - "id": 758, + "id": 753, "nodeType": "EmitStatement", "src": "2796:40:1" } @@ -4802,27 +4802,27 @@ ] }, "documentation": { - "id": 691, + "id": 686, "nodeType": "StructuredDocumentation", "src": "2067:224:1", "text": " @dev Updates a protocol address.\n @param what The address type to be updated (treasury or aggregator).\n @param value The new address to be set.\n Requirements:\n - The value must not be a zero address." }, "functionSelector": "40ebc677", - "id": 762, + "id": 757, "implemented": true, "kind": "function", "modifiers": [ { - "id": 698, + "id": 693, "kind": "modifierInvocation", "modifierName": { - "id": 697, + "id": 692, "name": "onlyOwner", "nameLocations": [ "2362:9:1" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, + "referencedDeclaration": 1050, "src": "2362:9:1" }, "nodeType": "ModifierInvocation", @@ -4833,17 +4833,17 @@ "nameLocation": "2302:21:1", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 691, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 688, "mutability": "mutable", "name": "what", "nameLocation": "2332:4:1", "nodeType": "VariableDeclaration", - "scope": 762, + "scope": 757, "src": "2324:12:1", "stateVariable": false, "storageLocation": "default", @@ -4852,7 +4852,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 692, + "id": 687, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "2324:7:1", @@ -4865,12 +4865,12 @@ }, { "constant": false, - "id": 695, + "id": 690, "mutability": "mutable", "name": "value", "nameLocation": "2346:5:1", "nodeType": "VariableDeclaration", - "scope": 762, + "scope": 757, "src": "2338:13:1", "stateVariable": false, "storageLocation": "default", @@ -4879,7 +4879,7 @@ "typeString": "address" }, "typeName": { - "id": 694, + "id": 689, "name": "address", "nodeType": "ElementaryTypeName", "src": "2338:7:1", @@ -4895,19 +4895,19 @@ "src": "2323:29:1" }, "returnParameters": { - "id": 699, + "id": 694, "nodeType": "ParameterList", "parameters": [], "src": "2372:0:1" }, - "scope": 763, + "scope": 758, "src": "2293:551:1", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 764, + "scope": 759, "src": "276:2570:1", "usedErrors": [] } @@ -4920,5 +4920,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2024-06-27T12:24:25.255Z" + "updatedAt": "2024-07-04T18:51:17.136Z" } \ No newline at end of file diff --git a/build/contracts/IERC20.json b/build/contracts/IERC20.json index 645f4a0..cdaaa8d 100644 --- a/build/contracts/IERC20.json +++ b/build/contracts/IERC20.json @@ -195,15 +195,15 @@ "absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol", "exportedSymbols": { "IERC20": [ - 2554 + 1892 ] }, - "id": 2555, + "id": 1893, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 2478, + "id": 1816, "literals": [ "solidity", "^", @@ -211,7 +211,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "106:23:11" + "src": "106:23:9" }, { "abstract": false, @@ -220,47 +220,47 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 2479, + "id": 1817, "nodeType": "StructuredDocumentation", - "src": "131:70:11", + "src": "131:70:9", "text": " @dev Interface of the ERC20 standard as defined in the EIP." }, "fullyImplemented": false, - "id": 2554, + "id": 1892, "linearizedBaseContracts": [ - 2554 + 1892 ], "name": "IERC20", - "nameLocation": "212:6:11", + "nameLocation": "212:6:9", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": { - "id": 2480, + "id": 1818, "nodeType": "StructuredDocumentation", - "src": "225:158:11", + "src": "225:158:9", "text": " @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero." }, "eventSelector": "ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", - "id": 2488, + "id": 1826, "name": "Transfer", - "nameLocation": "394:8:11", + "nameLocation": "394:8:9", "nodeType": "EventDefinition", "parameters": { - "id": 2487, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2482, + "id": 1820, "indexed": true, "mutability": "mutable", "name": "from", - "nameLocation": "419:4:11", + "nameLocation": "419:4:9", "nodeType": "VariableDeclaration", - "scope": 2488, - "src": "403:20:11", + "scope": 1826, + "src": "403:20:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -268,10 +268,10 @@ "typeString": "address" }, "typeName": { - "id": 2481, + "id": 1819, "name": "address", "nodeType": "ElementaryTypeName", - "src": "403:7:11", + "src": "403:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -282,14 +282,14 @@ }, { "constant": false, - "id": 2484, + "id": 1822, "indexed": true, "mutability": "mutable", "name": "to", - "nameLocation": "441:2:11", + "nameLocation": "441:2:9", "nodeType": "VariableDeclaration", - "scope": 2488, - "src": "425:18:11", + "scope": 1826, + "src": "425:18:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -297,10 +297,10 @@ "typeString": "address" }, "typeName": { - "id": 2483, + "id": 1821, "name": "address", "nodeType": "ElementaryTypeName", - "src": "425:7:11", + "src": "425:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -311,14 +311,14 @@ }, { "constant": false, - "id": 2486, + "id": 1824, "indexed": false, "mutability": "mutable", "name": "value", - "nameLocation": "453:5:11", + "nameLocation": "453:5:9", "nodeType": "VariableDeclaration", - "scope": 2488, - "src": "445:13:11", + "scope": 1826, + "src": "445:13:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -326,10 +326,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2485, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "445:7:11", + "src": "445:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -338,37 +338,37 @@ "visibility": "internal" } ], - "src": "402:57:11" + "src": "402:57:9" }, - "src": "388:72:11" + "src": "388:72:9" }, { "anonymous": false, "documentation": { - "id": 2489, + "id": 1827, "nodeType": "StructuredDocumentation", - "src": "466:148:11", + "src": "466:148:9", "text": " @dev Emitted when the allowance of a `spender` for an `owner` is set by\n a call to {approve}. `value` is the new allowance." }, "eventSelector": "8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", - "id": 2497, + "id": 1835, "name": "Approval", - "nameLocation": "625:8:11", + "nameLocation": "625:8:9", "nodeType": "EventDefinition", "parameters": { - "id": 2496, + "id": 1834, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2491, + "id": 1829, "indexed": true, "mutability": "mutable", "name": "owner", - "nameLocation": "650:5:11", + "nameLocation": "650:5:9", "nodeType": "VariableDeclaration", - "scope": 2497, - "src": "634:21:11", + "scope": 1835, + "src": "634:21:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -376,10 +376,10 @@ "typeString": "address" }, "typeName": { - "id": 2490, + "id": 1828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "634:7:11", + "src": "634:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -390,14 +390,14 @@ }, { "constant": false, - "id": 2493, + "id": 1831, "indexed": true, "mutability": "mutable", "name": "spender", - "nameLocation": "673:7:11", + "nameLocation": "673:7:9", "nodeType": "VariableDeclaration", - "scope": 2497, - "src": "657:23:11", + "scope": 1835, + "src": "657:23:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -405,10 +405,10 @@ "typeString": "address" }, "typeName": { - "id": 2492, + "id": 1830, "name": "address", "nodeType": "ElementaryTypeName", - "src": "657:7:11", + "src": "657:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -419,14 +419,14 @@ }, { "constant": false, - "id": 2495, + "id": 1833, "indexed": false, "mutability": "mutable", "name": "value", - "nameLocation": "690:5:11", + "nameLocation": "690:5:9", "nodeType": "VariableDeclaration", - "scope": 2497, - "src": "682:13:11", + "scope": 1835, + "src": "682:13:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -434,10 +434,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2494, + "id": 1832, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "682:7:11", + "src": "682:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -446,44 +446,44 @@ "visibility": "internal" } ], - "src": "633:63:11" + "src": "633:63:9" }, - "src": "619:78:11" + "src": "619:78:9" }, { "documentation": { - "id": 2498, + "id": 1836, "nodeType": "StructuredDocumentation", - "src": "703:66:11", + "src": "703:66:9", "text": " @dev Returns the amount of tokens in existence." }, "functionSelector": "18160ddd", - "id": 2503, + "id": 1841, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", - "nameLocation": "783:11:11", + "nameLocation": "783:11:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2499, + "id": 1837, "nodeType": "ParameterList", "parameters": [], - "src": "794:2:11" + "src": "794:2:9" }, "returnParameters": { - "id": 2502, + "id": 1840, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2501, + "id": 1839, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2503, - "src": "820:7:11", + "scope": 1841, + "src": "820:7:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -491,10 +491,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2500, + "id": 1838, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "820:7:11", + "src": "820:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -503,42 +503,42 @@ "visibility": "internal" } ], - "src": "819:9:11" + "src": "819:9:9" }, - "scope": 2554, - "src": "774:55:11", + "scope": 1892, + "src": "774:55:9", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 2504, + "id": 1842, "nodeType": "StructuredDocumentation", - "src": "835:72:11", + "src": "835:72:9", "text": " @dev Returns the amount of tokens owned by `account`." }, "functionSelector": "70a08231", - "id": 2511, + "id": 1849, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", - "nameLocation": "921:9:11", + "nameLocation": "921:9:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2507, + "id": 1845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2506, + "id": 1844, "mutability": "mutable", "name": "account", - "nameLocation": "939:7:11", + "nameLocation": "939:7:9", "nodeType": "VariableDeclaration", - "scope": 2511, - "src": "931:15:11", + "scope": 1849, + "src": "931:15:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -546,10 +546,10 @@ "typeString": "address" }, "typeName": { - "id": 2505, + "id": 1843, "name": "address", "nodeType": "ElementaryTypeName", - "src": "931:7:11", + "src": "931:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -559,21 +559,21 @@ "visibility": "internal" } ], - "src": "930:17:11" + "src": "930:17:9" }, "returnParameters": { - "id": 2510, + "id": 1848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2509, + "id": 1847, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2511, - "src": "971:7:11", + "scope": 1849, + "src": "971:7:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -581,10 +581,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2508, + "id": 1846, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "971:7:11", + "src": "971:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -593,42 +593,42 @@ "visibility": "internal" } ], - "src": "970:9:11" + "src": "970:9:9" }, - "scope": 2554, - "src": "912:68:11", + "scope": 1892, + "src": "912:68:9", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 2512, + "id": 1850, "nodeType": "StructuredDocumentation", - "src": "986:202:11", + "src": "986:202:9", "text": " @dev Moves `amount` tokens from the caller's account to `to`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." }, "functionSelector": "a9059cbb", - "id": 2521, + "id": 1859, "implemented": false, "kind": "function", "modifiers": [], "name": "transfer", - "nameLocation": "1202:8:11", + "nameLocation": "1202:8:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2517, + "id": 1855, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2514, + "id": 1852, "mutability": "mutable", "name": "to", - "nameLocation": "1219:2:11", + "nameLocation": "1219:2:9", "nodeType": "VariableDeclaration", - "scope": 2521, - "src": "1211:10:11", + "scope": 1859, + "src": "1211:10:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -636,10 +636,10 @@ "typeString": "address" }, "typeName": { - "id": 2513, + "id": 1851, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1211:7:11", + "src": "1211:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -650,13 +650,13 @@ }, { "constant": false, - "id": 2516, + "id": 1854, "mutability": "mutable", "name": "amount", - "nameLocation": "1231:6:11", + "nameLocation": "1231:6:9", "nodeType": "VariableDeclaration", - "scope": 2521, - "src": "1223:14:11", + "scope": 1859, + "src": "1223:14:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -664,10 +664,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2515, + "id": 1853, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1223:7:11", + "src": "1223:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -676,21 +676,21 @@ "visibility": "internal" } ], - "src": "1210:28:11" + "src": "1210:28:9" }, "returnParameters": { - "id": 2520, + "id": 1858, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2519, + "id": 1857, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2521, - "src": "1257:4:11", + "scope": 1859, + "src": "1257:4:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -698,10 +698,10 @@ "typeString": "bool" }, "typeName": { - "id": 2518, + "id": 1856, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1257:4:11", + "src": "1257:4:9", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -710,42 +710,42 @@ "visibility": "internal" } ], - "src": "1256:6:11" + "src": "1256:6:9" }, - "scope": 2554, - "src": "1193:70:11", + "scope": 1892, + "src": "1193:70:9", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 2522, + "id": 1860, "nodeType": "StructuredDocumentation", - "src": "1269:264:11", + "src": "1269:264:9", "text": " @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n This value changes when {approve} or {transferFrom} are called." }, "functionSelector": "dd62ed3e", - "id": 2531, + "id": 1869, "implemented": false, "kind": "function", "modifiers": [], "name": "allowance", - "nameLocation": "1547:9:11", + "nameLocation": "1547:9:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2527, + "id": 1865, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2524, + "id": 1862, "mutability": "mutable", "name": "owner", - "nameLocation": "1565:5:11", + "nameLocation": "1565:5:9", "nodeType": "VariableDeclaration", - "scope": 2531, - "src": "1557:13:11", + "scope": 1869, + "src": "1557:13:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -753,10 +753,10 @@ "typeString": "address" }, "typeName": { - "id": 2523, + "id": 1861, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1557:7:11", + "src": "1557:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -767,13 +767,13 @@ }, { "constant": false, - "id": 2526, + "id": 1864, "mutability": "mutable", "name": "spender", - "nameLocation": "1580:7:11", + "nameLocation": "1580:7:9", "nodeType": "VariableDeclaration", - "scope": 2531, - "src": "1572:15:11", + "scope": 1869, + "src": "1572:15:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -781,10 +781,10 @@ "typeString": "address" }, "typeName": { - "id": 2525, + "id": 1863, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1572:7:11", + "src": "1572:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -794,21 +794,21 @@ "visibility": "internal" } ], - "src": "1556:32:11" + "src": "1556:32:9" }, "returnParameters": { - "id": 2530, + "id": 1868, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2529, + "id": 1867, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2531, - "src": "1612:7:11", + "scope": 1869, + "src": "1612:7:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -816,10 +816,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2528, + "id": 1866, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1612:7:11", + "src": "1612:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -828,42 +828,42 @@ "visibility": "internal" } ], - "src": "1611:9:11" + "src": "1611:9:9" }, - "scope": 2554, - "src": "1538:83:11", + "scope": 1892, + "src": "1538:83:9", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 2532, + "id": 1870, "nodeType": "StructuredDocumentation", - "src": "1627:642:11", + "src": "1627:642:9", "text": " @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n Returns a boolean value indicating whether the operation succeeded.\n IMPORTANT: Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 2541, + "id": 1879, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", - "nameLocation": "2283:7:11", + "nameLocation": "2283:7:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2537, + "id": 1875, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2534, + "id": 1872, "mutability": "mutable", "name": "spender", - "nameLocation": "2299:7:11", + "nameLocation": "2299:7:9", "nodeType": "VariableDeclaration", - "scope": 2541, - "src": "2291:15:11", + "scope": 1879, + "src": "2291:15:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -871,10 +871,10 @@ "typeString": "address" }, "typeName": { - "id": 2533, + "id": 1871, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2291:7:11", + "src": "2291:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -885,13 +885,13 @@ }, { "constant": false, - "id": 2536, + "id": 1874, "mutability": "mutable", "name": "amount", - "nameLocation": "2316:6:11", + "nameLocation": "2316:6:9", "nodeType": "VariableDeclaration", - "scope": 2541, - "src": "2308:14:11", + "scope": 1879, + "src": "2308:14:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -899,10 +899,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2535, + "id": 1873, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2308:7:11", + "src": "2308:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -911,21 +911,21 @@ "visibility": "internal" } ], - "src": "2290:33:11" + "src": "2290:33:9" }, "returnParameters": { - "id": 2540, + "id": 1878, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2539, + "id": 1877, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2541, - "src": "2342:4:11", + "scope": 1879, + "src": "2342:4:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -933,10 +933,10 @@ "typeString": "bool" }, "typeName": { - "id": 2538, + "id": 1876, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2342:4:11", + "src": "2342:4:9", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -945,42 +945,42 @@ "visibility": "internal" } ], - "src": "2341:6:11" + "src": "2341:6:9" }, - "scope": 2554, - "src": "2274:74:11", + "scope": 1892, + "src": "2274:74:9", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 2542, + "id": 1880, "nodeType": "StructuredDocumentation", - "src": "2354:287:11", + "src": "2354:287:9", "text": " @dev Moves `amount` tokens from `from` to `to` using the\n allowance mechanism. `amount` is then deducted from the caller's\n allowance.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 2553, + "id": 1891, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", - "nameLocation": "2655:12:11", + "nameLocation": "2655:12:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2549, + "id": 1887, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2544, + "id": 1882, "mutability": "mutable", "name": "from", - "nameLocation": "2676:4:11", + "nameLocation": "2676:4:9", "nodeType": "VariableDeclaration", - "scope": 2553, - "src": "2668:12:11", + "scope": 1891, + "src": "2668:12:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -988,10 +988,10 @@ "typeString": "address" }, "typeName": { - "id": 2543, + "id": 1881, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2668:7:11", + "src": "2668:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1002,13 +1002,13 @@ }, { "constant": false, - "id": 2546, + "id": 1884, "mutability": "mutable", "name": "to", - "nameLocation": "2690:2:11", + "nameLocation": "2690:2:9", "nodeType": "VariableDeclaration", - "scope": 2553, - "src": "2682:10:11", + "scope": 1891, + "src": "2682:10:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1016,10 +1016,10 @@ "typeString": "address" }, "typeName": { - "id": 2545, + "id": 1883, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2682:7:11", + "src": "2682:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1030,13 +1030,13 @@ }, { "constant": false, - "id": 2548, + "id": 1886, "mutability": "mutable", "name": "amount", - "nameLocation": "2702:6:11", + "nameLocation": "2702:6:9", "nodeType": "VariableDeclaration", - "scope": 2553, - "src": "2694:14:11", + "scope": 1891, + "src": "2694:14:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1044,10 +1044,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2547, + "id": 1885, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2694:7:11", + "src": "2694:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1056,21 +1056,21 @@ "visibility": "internal" } ], - "src": "2667:42:11" + "src": "2667:42:9" }, "returnParameters": { - "id": 2552, + "id": 1890, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2551, + "id": 1889, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2553, - "src": "2728:4:11", + "scope": 1891, + "src": "2728:4:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1078,10 +1078,10 @@ "typeString": "bool" }, "typeName": { - "id": 2550, + "id": 1888, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2728:4:11", + "src": "2728:4:9", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1090,35 +1090,35 @@ "visibility": "internal" } ], - "src": "2727:6:11" + "src": "2727:6:9" }, - "scope": 2554, - "src": "2646:88:11", + "scope": 1892, + "src": "2646:88:9", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 2555, - "src": "202:2534:11", + "scope": 1893, + "src": "202:2534:9", "usedErrors": [] } ], - "src": "106:2631:11" + "src": "106:2631:9" }, "legacyAST": { "absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol", "exportedSymbols": { "IERC20": [ - 2554 + 1892 ] }, - "id": 2555, + "id": 1893, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 2478, + "id": 1816, "literals": [ "solidity", "^", @@ -1126,7 +1126,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "106:23:11" + "src": "106:23:9" }, { "abstract": false, @@ -1135,47 +1135,47 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 2479, + "id": 1817, "nodeType": "StructuredDocumentation", - "src": "131:70:11", + "src": "131:70:9", "text": " @dev Interface of the ERC20 standard as defined in the EIP." }, "fullyImplemented": false, - "id": 2554, + "id": 1892, "linearizedBaseContracts": [ - 2554 + 1892 ], "name": "IERC20", - "nameLocation": "212:6:11", + "nameLocation": "212:6:9", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": { - "id": 2480, + "id": 1818, "nodeType": "StructuredDocumentation", - "src": "225:158:11", + "src": "225:158:9", "text": " @dev Emitted when `value` tokens are moved from one account (`from`) to\n another (`to`).\n Note that `value` may be zero." }, "eventSelector": "ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef", - "id": 2488, + "id": 1826, "name": "Transfer", - "nameLocation": "394:8:11", + "nameLocation": "394:8:9", "nodeType": "EventDefinition", "parameters": { - "id": 2487, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2482, + "id": 1820, "indexed": true, "mutability": "mutable", "name": "from", - "nameLocation": "419:4:11", + "nameLocation": "419:4:9", "nodeType": "VariableDeclaration", - "scope": 2488, - "src": "403:20:11", + "scope": 1826, + "src": "403:20:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1183,10 +1183,10 @@ "typeString": "address" }, "typeName": { - "id": 2481, + "id": 1819, "name": "address", "nodeType": "ElementaryTypeName", - "src": "403:7:11", + "src": "403:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1197,14 +1197,14 @@ }, { "constant": false, - "id": 2484, + "id": 1822, "indexed": true, "mutability": "mutable", "name": "to", - "nameLocation": "441:2:11", + "nameLocation": "441:2:9", "nodeType": "VariableDeclaration", - "scope": 2488, - "src": "425:18:11", + "scope": 1826, + "src": "425:18:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1212,10 +1212,10 @@ "typeString": "address" }, "typeName": { - "id": 2483, + "id": 1821, "name": "address", "nodeType": "ElementaryTypeName", - "src": "425:7:11", + "src": "425:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1226,14 +1226,14 @@ }, { "constant": false, - "id": 2486, + "id": 1824, "indexed": false, "mutability": "mutable", "name": "value", - "nameLocation": "453:5:11", + "nameLocation": "453:5:9", "nodeType": "VariableDeclaration", - "scope": 2488, - "src": "445:13:11", + "scope": 1826, + "src": "445:13:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1241,10 +1241,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2485, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "445:7:11", + "src": "445:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1253,37 +1253,37 @@ "visibility": "internal" } ], - "src": "402:57:11" + "src": "402:57:9" }, - "src": "388:72:11" + "src": "388:72:9" }, { "anonymous": false, "documentation": { - "id": 2489, + "id": 1827, "nodeType": "StructuredDocumentation", - "src": "466:148:11", + "src": "466:148:9", "text": " @dev Emitted when the allowance of a `spender` for an `owner` is set by\n a call to {approve}. `value` is the new allowance." }, "eventSelector": "8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925", - "id": 2497, + "id": 1835, "name": "Approval", - "nameLocation": "625:8:11", + "nameLocation": "625:8:9", "nodeType": "EventDefinition", "parameters": { - "id": 2496, + "id": 1834, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2491, + "id": 1829, "indexed": true, "mutability": "mutable", "name": "owner", - "nameLocation": "650:5:11", + "nameLocation": "650:5:9", "nodeType": "VariableDeclaration", - "scope": 2497, - "src": "634:21:11", + "scope": 1835, + "src": "634:21:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1291,10 +1291,10 @@ "typeString": "address" }, "typeName": { - "id": 2490, + "id": 1828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "634:7:11", + "src": "634:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1305,14 +1305,14 @@ }, { "constant": false, - "id": 2493, + "id": 1831, "indexed": true, "mutability": "mutable", "name": "spender", - "nameLocation": "673:7:11", + "nameLocation": "673:7:9", "nodeType": "VariableDeclaration", - "scope": 2497, - "src": "657:23:11", + "scope": 1835, + "src": "657:23:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1320,10 +1320,10 @@ "typeString": "address" }, "typeName": { - "id": 2492, + "id": 1830, "name": "address", "nodeType": "ElementaryTypeName", - "src": "657:7:11", + "src": "657:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1334,14 +1334,14 @@ }, { "constant": false, - "id": 2495, + "id": 1833, "indexed": false, "mutability": "mutable", "name": "value", - "nameLocation": "690:5:11", + "nameLocation": "690:5:9", "nodeType": "VariableDeclaration", - "scope": 2497, - "src": "682:13:11", + "scope": 1835, + "src": "682:13:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1349,10 +1349,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2494, + "id": 1832, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "682:7:11", + "src": "682:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1361,44 +1361,44 @@ "visibility": "internal" } ], - "src": "633:63:11" + "src": "633:63:9" }, - "src": "619:78:11" + "src": "619:78:9" }, { "documentation": { - "id": 2498, + "id": 1836, "nodeType": "StructuredDocumentation", - "src": "703:66:11", + "src": "703:66:9", "text": " @dev Returns the amount of tokens in existence." }, "functionSelector": "18160ddd", - "id": 2503, + "id": 1841, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", - "nameLocation": "783:11:11", + "nameLocation": "783:11:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2499, + "id": 1837, "nodeType": "ParameterList", "parameters": [], - "src": "794:2:11" + "src": "794:2:9" }, "returnParameters": { - "id": 2502, + "id": 1840, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2501, + "id": 1839, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2503, - "src": "820:7:11", + "scope": 1841, + "src": "820:7:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1406,10 +1406,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2500, + "id": 1838, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "820:7:11", + "src": "820:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1418,42 +1418,42 @@ "visibility": "internal" } ], - "src": "819:9:11" + "src": "819:9:9" }, - "scope": 2554, - "src": "774:55:11", + "scope": 1892, + "src": "774:55:9", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 2504, + "id": 1842, "nodeType": "StructuredDocumentation", - "src": "835:72:11", + "src": "835:72:9", "text": " @dev Returns the amount of tokens owned by `account`." }, "functionSelector": "70a08231", - "id": 2511, + "id": 1849, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", - "nameLocation": "921:9:11", + "nameLocation": "921:9:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2507, + "id": 1845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2506, + "id": 1844, "mutability": "mutable", "name": "account", - "nameLocation": "939:7:11", + "nameLocation": "939:7:9", "nodeType": "VariableDeclaration", - "scope": 2511, - "src": "931:15:11", + "scope": 1849, + "src": "931:15:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1461,10 +1461,10 @@ "typeString": "address" }, "typeName": { - "id": 2505, + "id": 1843, "name": "address", "nodeType": "ElementaryTypeName", - "src": "931:7:11", + "src": "931:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1474,21 +1474,21 @@ "visibility": "internal" } ], - "src": "930:17:11" + "src": "930:17:9" }, "returnParameters": { - "id": 2510, + "id": 1848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2509, + "id": 1847, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2511, - "src": "971:7:11", + "scope": 1849, + "src": "971:7:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1496,10 +1496,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2508, + "id": 1846, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "971:7:11", + "src": "971:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1508,42 +1508,42 @@ "visibility": "internal" } ], - "src": "970:9:11" + "src": "970:9:9" }, - "scope": 2554, - "src": "912:68:11", + "scope": 1892, + "src": "912:68:9", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 2512, + "id": 1850, "nodeType": "StructuredDocumentation", - "src": "986:202:11", + "src": "986:202:9", "text": " @dev Moves `amount` tokens from the caller's account to `to`.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." }, "functionSelector": "a9059cbb", - "id": 2521, + "id": 1859, "implemented": false, "kind": "function", "modifiers": [], "name": "transfer", - "nameLocation": "1202:8:11", + "nameLocation": "1202:8:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2517, + "id": 1855, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2514, + "id": 1852, "mutability": "mutable", "name": "to", - "nameLocation": "1219:2:11", + "nameLocation": "1219:2:9", "nodeType": "VariableDeclaration", - "scope": 2521, - "src": "1211:10:11", + "scope": 1859, + "src": "1211:10:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1551,10 +1551,10 @@ "typeString": "address" }, "typeName": { - "id": 2513, + "id": 1851, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1211:7:11", + "src": "1211:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1565,13 +1565,13 @@ }, { "constant": false, - "id": 2516, + "id": 1854, "mutability": "mutable", "name": "amount", - "nameLocation": "1231:6:11", + "nameLocation": "1231:6:9", "nodeType": "VariableDeclaration", - "scope": 2521, - "src": "1223:14:11", + "scope": 1859, + "src": "1223:14:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1579,10 +1579,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2515, + "id": 1853, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1223:7:11", + "src": "1223:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1591,21 +1591,21 @@ "visibility": "internal" } ], - "src": "1210:28:11" + "src": "1210:28:9" }, "returnParameters": { - "id": 2520, + "id": 1858, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2519, + "id": 1857, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2521, - "src": "1257:4:11", + "scope": 1859, + "src": "1257:4:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1613,10 +1613,10 @@ "typeString": "bool" }, "typeName": { - "id": 2518, + "id": 1856, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1257:4:11", + "src": "1257:4:9", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1625,42 +1625,42 @@ "visibility": "internal" } ], - "src": "1256:6:11" + "src": "1256:6:9" }, - "scope": 2554, - "src": "1193:70:11", + "scope": 1892, + "src": "1193:70:9", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 2522, + "id": 1860, "nodeType": "StructuredDocumentation", - "src": "1269:264:11", + "src": "1269:264:9", "text": " @dev Returns the remaining number of tokens that `spender` will be\n allowed to spend on behalf of `owner` through {transferFrom}. This is\n zero by default.\n This value changes when {approve} or {transferFrom} are called." }, "functionSelector": "dd62ed3e", - "id": 2531, + "id": 1869, "implemented": false, "kind": "function", "modifiers": [], "name": "allowance", - "nameLocation": "1547:9:11", + "nameLocation": "1547:9:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2527, + "id": 1865, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2524, + "id": 1862, "mutability": "mutable", "name": "owner", - "nameLocation": "1565:5:11", + "nameLocation": "1565:5:9", "nodeType": "VariableDeclaration", - "scope": 2531, - "src": "1557:13:11", + "scope": 1869, + "src": "1557:13:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1668,10 +1668,10 @@ "typeString": "address" }, "typeName": { - "id": 2523, + "id": 1861, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1557:7:11", + "src": "1557:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1682,13 +1682,13 @@ }, { "constant": false, - "id": 2526, + "id": 1864, "mutability": "mutable", "name": "spender", - "nameLocation": "1580:7:11", + "nameLocation": "1580:7:9", "nodeType": "VariableDeclaration", - "scope": 2531, - "src": "1572:15:11", + "scope": 1869, + "src": "1572:15:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1696,10 +1696,10 @@ "typeString": "address" }, "typeName": { - "id": 2525, + "id": 1863, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1572:7:11", + "src": "1572:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1709,21 +1709,21 @@ "visibility": "internal" } ], - "src": "1556:32:11" + "src": "1556:32:9" }, "returnParameters": { - "id": 2530, + "id": 1868, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2529, + "id": 1867, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2531, - "src": "1612:7:11", + "scope": 1869, + "src": "1612:7:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1731,10 +1731,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2528, + "id": 1866, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1612:7:11", + "src": "1612:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1743,42 +1743,42 @@ "visibility": "internal" } ], - "src": "1611:9:11" + "src": "1611:9:9" }, - "scope": 2554, - "src": "1538:83:11", + "scope": 1892, + "src": "1538:83:9", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 2532, + "id": 1870, "nodeType": "StructuredDocumentation", - "src": "1627:642:11", + "src": "1627:642:9", "text": " @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\n Returns a boolean value indicating whether the operation succeeded.\n IMPORTANT: Beware that changing an allowance with this method brings the risk\n that someone may use both the old and the new allowance by unfortunate\n transaction ordering. One possible solution to mitigate this race\n condition is to first reduce the spender's allowance to 0 and set the\n desired value afterwards:\n https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 2541, + "id": 1879, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", - "nameLocation": "2283:7:11", + "nameLocation": "2283:7:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2537, + "id": 1875, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2534, + "id": 1872, "mutability": "mutable", "name": "spender", - "nameLocation": "2299:7:11", + "nameLocation": "2299:7:9", "nodeType": "VariableDeclaration", - "scope": 2541, - "src": "2291:15:11", + "scope": 1879, + "src": "2291:15:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1786,10 +1786,10 @@ "typeString": "address" }, "typeName": { - "id": 2533, + "id": 1871, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2291:7:11", + "src": "2291:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1800,13 +1800,13 @@ }, { "constant": false, - "id": 2536, + "id": 1874, "mutability": "mutable", "name": "amount", - "nameLocation": "2316:6:11", + "nameLocation": "2316:6:9", "nodeType": "VariableDeclaration", - "scope": 2541, - "src": "2308:14:11", + "scope": 1879, + "src": "2308:14:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1814,10 +1814,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2535, + "id": 1873, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2308:7:11", + "src": "2308:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1826,21 +1826,21 @@ "visibility": "internal" } ], - "src": "2290:33:11" + "src": "2290:33:9" }, "returnParameters": { - "id": 2540, + "id": 1878, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2539, + "id": 1877, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2541, - "src": "2342:4:11", + "scope": 1879, + "src": "2342:4:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1848,10 +1848,10 @@ "typeString": "bool" }, "typeName": { - "id": 2538, + "id": 1876, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2342:4:11", + "src": "2342:4:9", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1860,42 +1860,42 @@ "visibility": "internal" } ], - "src": "2341:6:11" + "src": "2341:6:9" }, - "scope": 2554, - "src": "2274:74:11", + "scope": 1892, + "src": "2274:74:9", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 2542, + "id": 1880, "nodeType": "StructuredDocumentation", - "src": "2354:287:11", + "src": "2354:287:9", "text": " @dev Moves `amount` tokens from `from` to `to` using the\n allowance mechanism. `amount` is then deducted from the caller's\n allowance.\n Returns a boolean value indicating whether the operation succeeded.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 2553, + "id": 1891, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", - "nameLocation": "2655:12:11", + "nameLocation": "2655:12:9", "nodeType": "FunctionDefinition", "parameters": { - "id": 2549, + "id": 1887, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2544, + "id": 1882, "mutability": "mutable", "name": "from", - "nameLocation": "2676:4:11", + "nameLocation": "2676:4:9", "nodeType": "VariableDeclaration", - "scope": 2553, - "src": "2668:12:11", + "scope": 1891, + "src": "2668:12:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1903,10 +1903,10 @@ "typeString": "address" }, "typeName": { - "id": 2543, + "id": 1881, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2668:7:11", + "src": "2668:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1917,13 +1917,13 @@ }, { "constant": false, - "id": 2546, + "id": 1884, "mutability": "mutable", "name": "to", - "nameLocation": "2690:2:11", + "nameLocation": "2690:2:9", "nodeType": "VariableDeclaration", - "scope": 2553, - "src": "2682:10:11", + "scope": 1891, + "src": "2682:10:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1931,10 +1931,10 @@ "typeString": "address" }, "typeName": { - "id": 2545, + "id": 1883, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2682:7:11", + "src": "2682:7:9", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1945,13 +1945,13 @@ }, { "constant": false, - "id": 2548, + "id": 1886, "mutability": "mutable", "name": "amount", - "nameLocation": "2702:6:11", + "nameLocation": "2702:6:9", "nodeType": "VariableDeclaration", - "scope": 2553, - "src": "2694:14:11", + "scope": 1891, + "src": "2694:14:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1959,10 +1959,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2547, + "id": 1885, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2694:7:11", + "src": "2694:7:9", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1971,21 +1971,21 @@ "visibility": "internal" } ], - "src": "2667:42:11" + "src": "2667:42:9" }, "returnParameters": { - "id": 2552, + "id": 1890, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2551, + "id": 1889, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 2553, - "src": "2728:4:11", + "scope": 1891, + "src": "2728:4:9", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1993,10 +1993,10 @@ "typeString": "bool" }, "typeName": { - "id": 2550, + "id": 1888, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2728:4:11", + "src": "2728:4:9", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2005,21 +2005,21 @@ "visibility": "internal" } ], - "src": "2727:6:11" + "src": "2727:6:9" }, - "scope": 2554, - "src": "2646:88:11", + "scope": 1892, + "src": "2646:88:9", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 2555, - "src": "202:2534:11", + "scope": 1893, + "src": "202:2534:9", "usedErrors": [] } ], - "src": "106:2631:11" + "src": "106:2631:9" }, "compiler": { "name": "solc", @@ -2027,5 +2027,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2024-06-27T12:24:25.258Z" + "updatedAt": "2024-07-04T18:51:17.144Z" } \ No newline at end of file diff --git a/build/contracts/IGateway.json b/build/contracts/IGateway.json index 339e6b1..dc06cc1 100644 --- a/build/contracts/IGateway.json +++ b/build/contracts/IGateway.json @@ -345,18 +345,18 @@ "absolutePath": "/Users/encryption/Downloads/projects/paycrest/paycrestContract/contracts/interfaces/IGateway.sol", "exportedSymbols": { "IERC20": [ - 2554 + 1892 ], "IGateway": [ - 901 + 896 ] }, - "id": 902, + "id": 897, "license": "UNLICENSED", "nodeType": "SourceUnit", "nodes": [ { - "id": 765, + "id": 760, "literals": [ "solidity", "^", @@ -369,20 +369,20 @@ { "absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol", "file": "@openzeppelin/contracts/token/ERC20/IERC20.sol", - "id": 767, + "id": 762, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 902, - "sourceUnit": 2555, + "scope": 897, + "sourceUnit": 1893, "src": "65:70:2", "symbolAliases": [ { "foreign": { - "id": 766, + "id": 761, "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "73:6:2", "typeDescriptions": {} }, @@ -398,15 +398,15 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 768, + "id": 763, "nodeType": "StructuredDocumentation", "src": "137:73:2", "text": " @title IGateway\n @notice Interface for the Gateway contract." }, "fullyImplemented": false, - "id": 901, + "id": 896, "linearizedBaseContracts": [ - 901 + 896 ], "name": "IGateway", "nameLocation": "221:8:2", @@ -415,29 +415,29 @@ { "anonymous": false, "documentation": { - "id": 769, + "id": 764, "nodeType": "StructuredDocumentation", "src": "417:335:2", "text": " @dev Emitted when a deposit is made.\n @param sender The address of the sender.\n @param token The address of the deposited token.\n @param amount The amount of the deposit.\n @param orderId The ID of the order.\n @param rate The rate at which the deposit is made.\n @param messageHash The hash of the message." }, "eventSelector": "40ccd1ceb111a3c186ef9911e1b876dc1f789ed331b86097b3b8851055b6a137", - "id": 785, + "id": 780, "name": "OrderCreated", "nameLocation": "760:12:2", "nodeType": "EventDefinition", "parameters": { - "id": 784, + "id": 779, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 771, + "id": 766, "indexed": true, "mutability": "mutable", "name": "sender", "nameLocation": "792:6:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "776:22:2", "stateVariable": false, "storageLocation": "default", @@ -446,7 +446,7 @@ "typeString": "address" }, "typeName": { - "id": 770, + "id": 765, "name": "address", "nodeType": "ElementaryTypeName", "src": "776:7:2", @@ -460,13 +460,13 @@ }, { "constant": false, - "id": 773, + "id": 768, "indexed": true, "mutability": "mutable", "name": "token", "nameLocation": "818:5:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "802:21:2", "stateVariable": false, "storageLocation": "default", @@ -475,7 +475,7 @@ "typeString": "address" }, "typeName": { - "id": 772, + "id": 767, "name": "address", "nodeType": "ElementaryTypeName", "src": "802:7:2", @@ -489,13 +489,13 @@ }, { "constant": false, - "id": 775, + "id": 770, "indexed": true, "mutability": "mutable", "name": "amount", "nameLocation": "843:6:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "827:22:2", "stateVariable": false, "storageLocation": "default", @@ -504,7 +504,7 @@ "typeString": "uint256" }, "typeName": { - "id": 774, + "id": 769, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "827:7:2", @@ -517,13 +517,13 @@ }, { "constant": false, - "id": 777, + "id": 772, "indexed": false, "mutability": "mutable", "name": "protocolFee", "nameLocation": "861:11:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "853:19:2", "stateVariable": false, "storageLocation": "default", @@ -532,7 +532,7 @@ "typeString": "uint256" }, "typeName": { - "id": 776, + "id": 771, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "853:7:2", @@ -545,13 +545,13 @@ }, { "constant": false, - "id": 779, + "id": 774, "indexed": false, "mutability": "mutable", "name": "orderId", "nameLocation": "884:7:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "876:15:2", "stateVariable": false, "storageLocation": "default", @@ -560,7 +560,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 778, + "id": 773, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "876:7:2", @@ -573,13 +573,13 @@ }, { "constant": false, - "id": 781, + "id": 776, "indexed": false, "mutability": "mutable", "name": "rate", "nameLocation": "903:4:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "895:12:2", "stateVariable": false, "storageLocation": "default", @@ -588,7 +588,7 @@ "typeString": "uint256" }, "typeName": { - "id": 780, + "id": 775, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "895:7:2", @@ -601,13 +601,13 @@ }, { "constant": false, - "id": 783, + "id": 778, "indexed": false, "mutability": "mutable", "name": "messageHash", "nameLocation": "918:11:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "911:18:2", "stateVariable": false, "storageLocation": "default", @@ -616,7 +616,7 @@ "typeString": "string" }, "typeName": { - "id": 782, + "id": 777, "name": "string", "nodeType": "ElementaryTypeName", "src": "911:6:2", @@ -635,29 +635,29 @@ { "anonymous": false, "documentation": { - "id": 786, + "id": 781, "nodeType": "StructuredDocumentation", "src": "936:303:2", "text": " @dev Emitted when an aggregator settles a transaction.\n @param splitOrderId The ID of the split order.\n @param orderId The ID of the order.\n @param liquidityProvider The address of the liquidity provider.\n @param settlePercent The percentage at which the transaction is settled." }, "eventSelector": "98ece21e01a01cbe1d1c0dad3b053c8fbd368f99be78be958fcf1d1d13fd249a", - "id": 796, + "id": 791, "name": "OrderSettled", "nameLocation": "1247:12:2", "nodeType": "EventDefinition", "parameters": { - "id": 795, + "id": 790, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 788, + "id": 783, "indexed": false, "mutability": "mutable", "name": "splitOrderId", "nameLocation": "1271:12:2", "nodeType": "VariableDeclaration", - "scope": 796, + "scope": 791, "src": "1263:20:2", "stateVariable": false, "storageLocation": "default", @@ -666,7 +666,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 787, + "id": 782, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1263:7:2", @@ -679,13 +679,13 @@ }, { "constant": false, - "id": 790, + "id": 785, "indexed": true, "mutability": "mutable", "name": "orderId", "nameLocation": "1303:7:2", "nodeType": "VariableDeclaration", - "scope": 796, + "scope": 791, "src": "1287:23:2", "stateVariable": false, "storageLocation": "default", @@ -694,7 +694,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 789, + "id": 784, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1287:7:2", @@ -707,13 +707,13 @@ }, { "constant": false, - "id": 792, + "id": 787, "indexed": true, "mutability": "mutable", "name": "liquidityProvider", "nameLocation": "1330:17:2", "nodeType": "VariableDeclaration", - "scope": 796, + "scope": 791, "src": "1314:33:2", "stateVariable": false, "storageLocation": "default", @@ -722,7 +722,7 @@ "typeString": "address" }, "typeName": { - "id": 791, + "id": 786, "name": "address", "nodeType": "ElementaryTypeName", "src": "1314:7:2", @@ -736,13 +736,13 @@ }, { "constant": false, - "id": 794, + "id": 789, "indexed": false, "mutability": "mutable", "name": "settlePercent", "nameLocation": "1358:13:2", "nodeType": "VariableDeclaration", - "scope": 796, + "scope": 791, "src": "1351:20:2", "stateVariable": false, "storageLocation": "default", @@ -751,7 +751,7 @@ "typeString": "uint96" }, "typeName": { - "id": 793, + "id": 788, "name": "uint96", "nodeType": "ElementaryTypeName", "src": "1351:6:2", @@ -770,29 +770,29 @@ { "anonymous": false, "documentation": { - "id": 797, + "id": 792, "nodeType": "StructuredDocumentation", "src": "1378:163:2", "text": " @dev Emitted when an aggregator refunds a transaction.\n @param fee The fee deducted from the refund amount.\n @param orderId The ID of the order." }, "eventSelector": "0736fe428e1747ca8d387c2e6fa1a31a0cde62d3a167c40a46ade59a3cdc828e", - "id": 803, + "id": 798, "name": "OrderRefunded", "nameLocation": "1549:13:2", "nodeType": "EventDefinition", "parameters": { - "id": 802, + "id": 797, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 799, + "id": 794, "indexed": false, "mutability": "mutable", "name": "fee", "nameLocation": "1571:3:2", "nodeType": "VariableDeclaration", - "scope": 803, + "scope": 798, "src": "1563:11:2", "stateVariable": false, "storageLocation": "default", @@ -801,7 +801,7 @@ "typeString": "uint256" }, "typeName": { - "id": 798, + "id": 793, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1563:7:2", @@ -814,13 +814,13 @@ }, { "constant": false, - "id": 801, + "id": 796, "indexed": true, "mutability": "mutable", "name": "orderId", "nameLocation": "1592:7:2", "nodeType": "VariableDeclaration", - "scope": 803, + "scope": 798, "src": "1576:23:2", "stateVariable": false, "storageLocation": "default", @@ -829,7 +829,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 800, + "id": 795, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1576:7:2", @@ -848,29 +848,29 @@ { "anonymous": false, "documentation": { - "id": 804, + "id": 799, "nodeType": "StructuredDocumentation", "src": "1604:161:2", "text": " @dev Emitted when the sender's fee is transferred.\n @param sender The address of the sender.\n @param amount The amount of the fee transferred." }, "eventSelector": "44f6938ca4a10313aabb76f874cced61e35710a734a126e4afb34461bf8c2501", - "id": 810, + "id": 805, "name": "SenderFeeTransferred", "nameLocation": "1773:20:2", "nodeType": "EventDefinition", "parameters": { - "id": 809, + "id": 804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 806, + "id": 801, "indexed": true, "mutability": "mutable", "name": "sender", "nameLocation": "1810:6:2", "nodeType": "VariableDeclaration", - "scope": 810, + "scope": 805, "src": "1794:22:2", "stateVariable": false, "storageLocation": "default", @@ -879,7 +879,7 @@ "typeString": "address" }, "typeName": { - "id": 805, + "id": 800, "name": "address", "nodeType": "ElementaryTypeName", "src": "1794:7:2", @@ -893,13 +893,13 @@ }, { "constant": false, - "id": 808, + "id": 803, "indexed": true, "mutability": "mutable", "name": "amount", "nameLocation": "1834:6:2", "nodeType": "VariableDeclaration", - "scope": 810, + "scope": 805, "src": "1818:22:2", "stateVariable": false, "storageLocation": "default", @@ -908,7 +908,7 @@ "typeString": "uint256" }, "typeName": { - "id": 807, + "id": 802, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1818:7:2", @@ -926,16 +926,16 @@ }, { "canonicalName": "IGateway.Order", - "id": 831, + "id": 826, "members": [ { "constant": false, - "id": 812, + "id": 807, "mutability": "mutable", "name": "sender", "nameLocation": "2649:6:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2641:14:2", "stateVariable": false, "storageLocation": "default", @@ -944,7 +944,7 @@ "typeString": "address" }, "typeName": { - "id": 811, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", "src": "2641:7:2", @@ -958,12 +958,12 @@ }, { "constant": false, - "id": 814, + "id": 809, "mutability": "mutable", "name": "token", "nameLocation": "2667:5:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2659:13:2", "stateVariable": false, "storageLocation": "default", @@ -972,7 +972,7 @@ "typeString": "address" }, "typeName": { - "id": 813, + "id": 808, "name": "address", "nodeType": "ElementaryTypeName", "src": "2659:7:2", @@ -986,12 +986,12 @@ }, { "constant": false, - "id": 816, + "id": 811, "mutability": "mutable", "name": "senderFeeRecipient", "nameLocation": "2684:18:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2676:26:2", "stateVariable": false, "storageLocation": "default", @@ -1000,7 +1000,7 @@ "typeString": "address" }, "typeName": { - "id": 815, + "id": 810, "name": "address", "nodeType": "ElementaryTypeName", "src": "2676:7:2", @@ -1014,12 +1014,12 @@ }, { "constant": false, - "id": 818, + "id": 813, "mutability": "mutable", "name": "senderFee", "nameLocation": "2714:9:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2706:17:2", "stateVariable": false, "storageLocation": "default", @@ -1028,7 +1028,7 @@ "typeString": "uint256" }, "typeName": { - "id": 817, + "id": 812, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2706:7:2", @@ -1041,12 +1041,12 @@ }, { "constant": false, - "id": 820, + "id": 815, "mutability": "mutable", "name": "protocolFee", "nameLocation": "2735:11:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2727:19:2", "stateVariable": false, "storageLocation": "default", @@ -1055,7 +1055,7 @@ "typeString": "uint256" }, "typeName": { - "id": 819, + "id": 814, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2727:7:2", @@ -1068,12 +1068,12 @@ }, { "constant": false, - "id": 822, + "id": 817, "mutability": "mutable", "name": "isFulfilled", "nameLocation": "2755:11:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2750:16:2", "stateVariable": false, "storageLocation": "default", @@ -1082,7 +1082,7 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 816, "name": "bool", "nodeType": "ElementaryTypeName", "src": "2750:4:2", @@ -1095,12 +1095,12 @@ }, { "constant": false, - "id": 824, + "id": 819, "mutability": "mutable", "name": "isRefunded", "nameLocation": "2775:10:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2770:15:2", "stateVariable": false, "storageLocation": "default", @@ -1109,7 +1109,7 @@ "typeString": "bool" }, "typeName": { - "id": 823, + "id": 818, "name": "bool", "nodeType": "ElementaryTypeName", "src": "2770:4:2", @@ -1122,12 +1122,12 @@ }, { "constant": false, - "id": 826, + "id": 821, "mutability": "mutable", "name": "refundAddress", "nameLocation": "2797:13:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2789:21:2", "stateVariable": false, "storageLocation": "default", @@ -1136,7 +1136,7 @@ "typeString": "address" }, "typeName": { - "id": 825, + "id": 820, "name": "address", "nodeType": "ElementaryTypeName", "src": "2789:7:2", @@ -1150,12 +1150,12 @@ }, { "constant": false, - "id": 828, + "id": 823, "mutability": "mutable", "name": "currentBPS", "nameLocation": "2821:10:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2814:17:2", "stateVariable": false, "storageLocation": "default", @@ -1164,7 +1164,7 @@ "typeString": "uint96" }, "typeName": { - "id": 827, + "id": 822, "name": "uint96", "nodeType": "ElementaryTypeName", "src": "2814:6:2", @@ -1177,12 +1177,12 @@ }, { "constant": false, - "id": 830, + "id": 825, "mutability": "mutable", "name": "amount", "nameLocation": "2843:6:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2835:14:2", "stateVariable": false, "storageLocation": "default", @@ -1191,7 +1191,7 @@ "typeString": "uint256" }, "typeName": { - "id": 829, + "id": 824, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2835:7:2", @@ -1206,19 +1206,19 @@ "name": "Order", "nameLocation": "2631:5:2", "nodeType": "StructDefinition", - "scope": 901, + "scope": 896, "src": "2624:229:2", "visibility": "public" }, { "documentation": { - "id": 832, + "id": 827, "nodeType": "StructuredDocumentation", "src": "3048:964:2", "text": " @notice Locks the sender's amount of token into Gateway.\n @dev Requirements:\n - `msg.sender` must approve Gateway contract on `_token` of at least `amount` before function call.\n - `_token` must be an acceptable token. See {isTokenSupported}.\n - `amount` must be greater than minimum.\n - `_refundAddress` refund address must not be zero address.\n @param _token The address of the token.\n @param _amount The amount in the decimal of `_token` to be locked.\n @param _rate The rate at which the sender intends to sell `_amount` of `_token`.\n @param _senderFeeRecipient The address that will receive `_senderFee` in `_token`.\n @param _senderFee The amount in the decimal of `_token` that will be paid to `_senderFeeRecipient`.\n @param _refundAddress The address that will receive `_amount` in `_token` when there is a need to refund.\n @param messageHash The hash of the message.\n @return _orderId The ID of the order." }, "functionSelector": "809804f7", - "id": 851, + "id": 846, "implemented": false, "kind": "function", "modifiers": [], @@ -1226,17 +1226,17 @@ "nameLocation": "4023:11:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 842, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 834, + "id": 829, "mutability": "mutable", "name": "_token", "nameLocation": "4046:6:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4038:14:2", "stateVariable": false, "storageLocation": "default", @@ -1245,7 +1245,7 @@ "typeString": "address" }, "typeName": { - "id": 833, + "id": 828, "name": "address", "nodeType": "ElementaryTypeName", "src": "4038:7:2", @@ -1259,12 +1259,12 @@ }, { "constant": false, - "id": 836, + "id": 831, "mutability": "mutable", "name": "_amount", "nameLocation": "4064:7:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4056:15:2", "stateVariable": false, "storageLocation": "default", @@ -1273,7 +1273,7 @@ "typeString": "uint256" }, "typeName": { - "id": 835, + "id": 830, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4056:7:2", @@ -1286,12 +1286,12 @@ }, { "constant": false, - "id": 838, + "id": 833, "mutability": "mutable", "name": "_rate", "nameLocation": "4082:5:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4075:12:2", "stateVariable": false, "storageLocation": "default", @@ -1300,7 +1300,7 @@ "typeString": "uint96" }, "typeName": { - "id": 837, + "id": 832, "name": "uint96", "nodeType": "ElementaryTypeName", "src": "4075:6:2", @@ -1313,12 +1313,12 @@ }, { "constant": false, - "id": 840, + "id": 835, "mutability": "mutable", "name": "_senderFeeRecipient", "nameLocation": "4099:19:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4091:27:2", "stateVariable": false, "storageLocation": "default", @@ -1327,7 +1327,7 @@ "typeString": "address" }, "typeName": { - "id": 839, + "id": 834, "name": "address", "nodeType": "ElementaryTypeName", "src": "4091:7:2", @@ -1341,12 +1341,12 @@ }, { "constant": false, - "id": 842, + "id": 837, "mutability": "mutable", "name": "_senderFee", "nameLocation": "4130:10:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4122:18:2", "stateVariable": false, "storageLocation": "default", @@ -1355,7 +1355,7 @@ "typeString": "uint256" }, "typeName": { - "id": 841, + "id": 836, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4122:7:2", @@ -1368,12 +1368,12 @@ }, { "constant": false, - "id": 844, + "id": 839, "mutability": "mutable", "name": "_refundAddress", "nameLocation": "4152:14:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4144:22:2", "stateVariable": false, "storageLocation": "default", @@ -1382,7 +1382,7 @@ "typeString": "address" }, "typeName": { - "id": 843, + "id": 838, "name": "address", "nodeType": "ElementaryTypeName", "src": "4144:7:2", @@ -1396,12 +1396,12 @@ }, { "constant": false, - "id": 846, + "id": 841, "mutability": "mutable", "name": "messageHash", "nameLocation": "4186:11:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4170:27:2", "stateVariable": false, "storageLocation": "calldata", @@ -1410,7 +1410,7 @@ "typeString": "string" }, "typeName": { - "id": 845, + "id": 840, "name": "string", "nodeType": "ElementaryTypeName", "src": "4170:6:2", @@ -1425,17 +1425,17 @@ "src": "4034:166:2" }, "returnParameters": { - "id": 850, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 844, "mutability": "mutable", "name": "_orderId", "nameLocation": "4227:8:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4219:16:2", "stateVariable": false, "storageLocation": "default", @@ -1444,7 +1444,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 848, + "id": 843, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "4219:7:2", @@ -1458,7 +1458,7 @@ ], "src": "4218:18:2" }, - "scope": 901, + "scope": 896, "src": "4014:223:2", "stateMutability": "nonpayable", "virtual": false, @@ -1466,13 +1466,13 @@ }, { "documentation": { - "id": 852, + "id": 847, "nodeType": "StructuredDocumentation", "src": "4240:366:2", "text": " @notice Settles a transaction and distributes rewards accordingly.\n @param _splitOrderId The ID of the split order.\n @param _orderId The ID of the transaction.\n @param _liquidityProvider The address of the liquidity provider.\n @param _settlePercent The rate at which the transaction is settled.\n @return bool the settlement is successful." }, "functionSelector": "f22ee704", - "id": 865, + "id": 860, "implemented": false, "kind": "function", "modifiers": [], @@ -1480,17 +1480,17 @@ "nameLocation": "4617:6:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 861, + "id": 856, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 854, + "id": 849, "mutability": "mutable", "name": "_splitOrderId", "nameLocation": "4635:13:2", "nodeType": "VariableDeclaration", - "scope": 865, + "scope": 860, "src": "4627:21:2", "stateVariable": false, "storageLocation": "default", @@ -1499,7 +1499,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 853, + "id": 848, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "4627:7:2", @@ -1512,12 +1512,12 @@ }, { "constant": false, - "id": 856, + "id": 851, "mutability": "mutable", "name": "_orderId", "nameLocation": "4660:8:2", "nodeType": "VariableDeclaration", - "scope": 865, + "scope": 860, "src": "4652:16:2", "stateVariable": false, "storageLocation": "default", @@ -1526,7 +1526,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 855, + "id": 850, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "4652:7:2", @@ -1539,12 +1539,12 @@ }, { "constant": false, - "id": 858, + "id": 853, "mutability": "mutable", "name": "_liquidityProvider", "nameLocation": "4680:18:2", "nodeType": "VariableDeclaration", - "scope": 865, + "scope": 860, "src": "4672:26:2", "stateVariable": false, "storageLocation": "default", @@ -1553,7 +1553,7 @@ "typeString": "address" }, "typeName": { - "id": 857, + "id": 852, "name": "address", "nodeType": "ElementaryTypeName", "src": "4672:7:2", @@ -1567,12 +1567,12 @@ }, { "constant": false, - "id": 860, + "id": 855, "mutability": "mutable", "name": "_settlePercent", "nameLocation": "4709:14:2", "nodeType": "VariableDeclaration", - "scope": 865, + "scope": 860, "src": "4702:21:2", "stateVariable": false, "storageLocation": "default", @@ -1581,7 +1581,7 @@ "typeString": "uint64" }, "typeName": { - "id": 859, + "id": 854, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "4702:6:2", @@ -1596,17 +1596,17 @@ "src": "4623:103:2" }, "returnParameters": { - "id": 864, + "id": 859, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 863, + "id": 858, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 865, + "scope": 860, "src": "4745:4:2", "stateVariable": false, "storageLocation": "default", @@ -1615,7 +1615,7 @@ "typeString": "bool" }, "typeName": { - "id": 862, + "id": 857, "name": "bool", "nodeType": "ElementaryTypeName", "src": "4745:4:2", @@ -1629,7 +1629,7 @@ ], "src": "4744:6:2" }, - "scope": 901, + "scope": 896, "src": "4608:143:2", "stateMutability": "nonpayable", "virtual": false, @@ -1637,13 +1637,13 @@ }, { "documentation": { - "id": 866, + "id": 861, "nodeType": "StructuredDocumentation", "src": "4754:299:2", "text": " @notice Refunds to the specified refundable address.\n @dev Requirements:\n - Only aggregators can call this function.\n @param _fee The amount to be deducted from the amount to be refunded.\n @param _orderId The ID of the transaction.\n @return bool the refund is successful." }, "functionSelector": "71eedb88", - "id": 875, + "id": 870, "implemented": false, "kind": "function", "modifiers": [], @@ -1651,17 +1651,17 @@ "nameLocation": "5064:6:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 871, + "id": 866, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 868, + "id": 863, "mutability": "mutable", "name": "_fee", "nameLocation": "5079:4:2", "nodeType": "VariableDeclaration", - "scope": 875, + "scope": 870, "src": "5071:12:2", "stateVariable": false, "storageLocation": "default", @@ -1670,7 +1670,7 @@ "typeString": "uint256" }, "typeName": { - "id": 867, + "id": 862, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5071:7:2", @@ -1683,12 +1683,12 @@ }, { "constant": false, - "id": 870, + "id": 865, "mutability": "mutable", "name": "_orderId", "nameLocation": "5093:8:2", "nodeType": "VariableDeclaration", - "scope": 875, + "scope": 870, "src": "5085:16:2", "stateVariable": false, "storageLocation": "default", @@ -1697,7 +1697,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 869, + "id": 864, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "5085:7:2", @@ -1712,17 +1712,17 @@ "src": "5070:32:2" }, "returnParameters": { - "id": 874, + "id": 869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 873, + "id": 868, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 875, + "scope": 870, "src": "5121:4:2", "stateVariable": false, "storageLocation": "default", @@ -1731,7 +1731,7 @@ "typeString": "bool" }, "typeName": { - "id": 872, + "id": 867, "name": "bool", "nodeType": "ElementaryTypeName", "src": "5121:4:2", @@ -1745,7 +1745,7 @@ ], "src": "5120:6:2" }, - "scope": 901, + "scope": 896, "src": "5055:72:2", "stateMutability": "nonpayable", "virtual": false, @@ -1753,13 +1753,13 @@ }, { "documentation": { - "id": 876, + "id": 871, "nodeType": "StructuredDocumentation", "src": "5130:157:2", "text": " @notice Checks if a token is supported by Gateway.\n @param _token The address of the token to check.\n @return bool the token is supported." }, "functionSelector": "75151b63", - "id": 883, + "id": 878, "implemented": false, "kind": "function", "modifiers": [], @@ -1767,17 +1767,17 @@ "nameLocation": "5298:16:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 879, + "id": 874, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 878, + "id": 873, "mutability": "mutable", "name": "_token", "nameLocation": "5323:6:2", "nodeType": "VariableDeclaration", - "scope": 883, + "scope": 878, "src": "5315:14:2", "stateVariable": false, "storageLocation": "default", @@ -1786,7 +1786,7 @@ "typeString": "address" }, "typeName": { - "id": 877, + "id": 872, "name": "address", "nodeType": "ElementaryTypeName", "src": "5315:7:2", @@ -1802,17 +1802,17 @@ "src": "5314:16:2" }, "returnParameters": { - "id": 882, + "id": 877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 881, + "id": 876, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 883, + "scope": 878, "src": "5354:4:2", "stateVariable": false, "storageLocation": "default", @@ -1821,7 +1821,7 @@ "typeString": "bool" }, "typeName": { - "id": 880, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", "src": "5354:4:2", @@ -1835,7 +1835,7 @@ ], "src": "5353:6:2" }, - "scope": 901, + "scope": 896, "src": "5289:71:2", "stateMutability": "view", "virtual": false, @@ -1843,13 +1843,13 @@ }, { "documentation": { - "id": 884, + "id": 879, "nodeType": "StructuredDocumentation", "src": "5363:128:2", "text": " @notice Gets the details of an order.\n @param _orderId The ID of the order.\n @return Order The order details." }, "functionSelector": "768c6ec0", - "id": 892, + "id": 887, "implemented": false, "kind": "function", "modifiers": [], @@ -1857,17 +1857,17 @@ "nameLocation": "5502:12:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 887, + "id": 882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 886, + "id": 881, "mutability": "mutable", "name": "_orderId", "nameLocation": "5523:8:2", "nodeType": "VariableDeclaration", - "scope": 892, + "scope": 887, "src": "5515:16:2", "stateVariable": false, "storageLocation": "default", @@ -1876,7 +1876,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 885, + "id": 880, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "5515:7:2", @@ -1891,41 +1891,41 @@ "src": "5514:18:2" }, "returnParameters": { - "id": 891, + "id": 886, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 885, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 892, + "scope": 887, "src": "5556:12:2", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_memory_ptr", + "typeIdentifier": "t_struct$_Order_$826_memory_ptr", "typeString": "struct IGateway.Order" }, "typeName": { - "id": 889, + "id": 884, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 888, + "id": 883, "name": "Order", "nameLocations": [ "5556:5:2" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 831, + "referencedDeclaration": 826, "src": "5556:5:2" }, - "referencedDeclaration": 831, + "referencedDeclaration": 826, "src": "5556:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage_ptr", + "typeIdentifier": "t_struct$_Order_$826_storage_ptr", "typeString": "struct IGateway.Order" } }, @@ -1934,7 +1934,7 @@ ], "src": "5555:14:2" }, - "scope": 901, + "scope": 896, "src": "5493:77:2", "stateMutability": "view", "virtual": false, @@ -1942,13 +1942,13 @@ }, { "documentation": { - "id": 893, + "id": 888, "nodeType": "StructuredDocumentation", "src": "5573:154:2", "text": " @notice Gets the fee details of Gateway.\n @return protocolReward The protocol reward amount.\n @return max_bps The maximum basis points." }, "functionSelector": "b810c636", - "id": 900, + "id": 895, "implemented": false, "kind": "function", "modifiers": [], @@ -1956,23 +1956,23 @@ "nameLocation": "5738:13:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 894, + "id": 889, "nodeType": "ParameterList", "parameters": [], "src": "5751:2:2" }, "returnParameters": { - "id": 899, + "id": 894, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 896, + "id": 891, "mutability": "mutable", "name": "protocolReward", "nameLocation": "5784:14:2", "nodeType": "VariableDeclaration", - "scope": 900, + "scope": 895, "src": "5777:21:2", "stateVariable": false, "storageLocation": "default", @@ -1981,7 +1981,7 @@ "typeString": "uint64" }, "typeName": { - "id": 895, + "id": 890, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "5777:6:2", @@ -1994,12 +1994,12 @@ }, { "constant": false, - "id": 898, + "id": 893, "mutability": "mutable", "name": "max_bps", "nameLocation": "5808:7:2", "nodeType": "VariableDeclaration", - "scope": 900, + "scope": 895, "src": "5800:15:2", "stateVariable": false, "storageLocation": "default", @@ -2008,7 +2008,7 @@ "typeString": "uint256" }, "typeName": { - "id": 897, + "id": 892, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5800:7:2", @@ -2022,14 +2022,14 @@ ], "src": "5776:40:2" }, - "scope": 901, + "scope": 896, "src": "5729:88:2", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 902, + "scope": 897, "src": "211:5608:2", "usedErrors": [] } @@ -2040,18 +2040,18 @@ "absolutePath": "/Users/encryption/Downloads/projects/paycrest/paycrestContract/contracts/interfaces/IGateway.sol", "exportedSymbols": { "IERC20": [ - 2554 + 1892 ], "IGateway": [ - 901 + 896 ] }, - "id": 902, + "id": 897, "license": "UNLICENSED", "nodeType": "SourceUnit", "nodes": [ { - "id": 765, + "id": 760, "literals": [ "solidity", "^", @@ -2064,20 +2064,20 @@ { "absolutePath": "@openzeppelin/contracts/token/ERC20/IERC20.sol", "file": "@openzeppelin/contracts/token/ERC20/IERC20.sol", - "id": 767, + "id": 762, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 902, - "sourceUnit": 2555, + "scope": 897, + "sourceUnit": 1893, "src": "65:70:2", "symbolAliases": [ { "foreign": { - "id": 766, + "id": 761, "name": "IERC20", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2554, + "referencedDeclaration": 1892, "src": "73:6:2", "typeDescriptions": {} }, @@ -2093,15 +2093,15 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 768, + "id": 763, "nodeType": "StructuredDocumentation", "src": "137:73:2", "text": " @title IGateway\n @notice Interface for the Gateway contract." }, "fullyImplemented": false, - "id": 901, + "id": 896, "linearizedBaseContracts": [ - 901 + 896 ], "name": "IGateway", "nameLocation": "221:8:2", @@ -2110,29 +2110,29 @@ { "anonymous": false, "documentation": { - "id": 769, + "id": 764, "nodeType": "StructuredDocumentation", "src": "417:335:2", "text": " @dev Emitted when a deposit is made.\n @param sender The address of the sender.\n @param token The address of the deposited token.\n @param amount The amount of the deposit.\n @param orderId The ID of the order.\n @param rate The rate at which the deposit is made.\n @param messageHash The hash of the message." }, "eventSelector": "40ccd1ceb111a3c186ef9911e1b876dc1f789ed331b86097b3b8851055b6a137", - "id": 785, + "id": 780, "name": "OrderCreated", "nameLocation": "760:12:2", "nodeType": "EventDefinition", "parameters": { - "id": 784, + "id": 779, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 771, + "id": 766, "indexed": true, "mutability": "mutable", "name": "sender", "nameLocation": "792:6:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "776:22:2", "stateVariable": false, "storageLocation": "default", @@ -2141,7 +2141,7 @@ "typeString": "address" }, "typeName": { - "id": 770, + "id": 765, "name": "address", "nodeType": "ElementaryTypeName", "src": "776:7:2", @@ -2155,13 +2155,13 @@ }, { "constant": false, - "id": 773, + "id": 768, "indexed": true, "mutability": "mutable", "name": "token", "nameLocation": "818:5:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "802:21:2", "stateVariable": false, "storageLocation": "default", @@ -2170,7 +2170,7 @@ "typeString": "address" }, "typeName": { - "id": 772, + "id": 767, "name": "address", "nodeType": "ElementaryTypeName", "src": "802:7:2", @@ -2184,13 +2184,13 @@ }, { "constant": false, - "id": 775, + "id": 770, "indexed": true, "mutability": "mutable", "name": "amount", "nameLocation": "843:6:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "827:22:2", "stateVariable": false, "storageLocation": "default", @@ -2199,7 +2199,7 @@ "typeString": "uint256" }, "typeName": { - "id": 774, + "id": 769, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "827:7:2", @@ -2212,13 +2212,13 @@ }, { "constant": false, - "id": 777, + "id": 772, "indexed": false, "mutability": "mutable", "name": "protocolFee", "nameLocation": "861:11:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "853:19:2", "stateVariable": false, "storageLocation": "default", @@ -2227,7 +2227,7 @@ "typeString": "uint256" }, "typeName": { - "id": 776, + "id": 771, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "853:7:2", @@ -2240,13 +2240,13 @@ }, { "constant": false, - "id": 779, + "id": 774, "indexed": false, "mutability": "mutable", "name": "orderId", "nameLocation": "884:7:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "876:15:2", "stateVariable": false, "storageLocation": "default", @@ -2255,7 +2255,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 778, + "id": 773, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "876:7:2", @@ -2268,13 +2268,13 @@ }, { "constant": false, - "id": 781, + "id": 776, "indexed": false, "mutability": "mutable", "name": "rate", "nameLocation": "903:4:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "895:12:2", "stateVariable": false, "storageLocation": "default", @@ -2283,7 +2283,7 @@ "typeString": "uint256" }, "typeName": { - "id": 780, + "id": 775, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "895:7:2", @@ -2296,13 +2296,13 @@ }, { "constant": false, - "id": 783, + "id": 778, "indexed": false, "mutability": "mutable", "name": "messageHash", "nameLocation": "918:11:2", "nodeType": "VariableDeclaration", - "scope": 785, + "scope": 780, "src": "911:18:2", "stateVariable": false, "storageLocation": "default", @@ -2311,7 +2311,7 @@ "typeString": "string" }, "typeName": { - "id": 782, + "id": 777, "name": "string", "nodeType": "ElementaryTypeName", "src": "911:6:2", @@ -2330,29 +2330,29 @@ { "anonymous": false, "documentation": { - "id": 786, + "id": 781, "nodeType": "StructuredDocumentation", "src": "936:303:2", "text": " @dev Emitted when an aggregator settles a transaction.\n @param splitOrderId The ID of the split order.\n @param orderId The ID of the order.\n @param liquidityProvider The address of the liquidity provider.\n @param settlePercent The percentage at which the transaction is settled." }, "eventSelector": "98ece21e01a01cbe1d1c0dad3b053c8fbd368f99be78be958fcf1d1d13fd249a", - "id": 796, + "id": 791, "name": "OrderSettled", "nameLocation": "1247:12:2", "nodeType": "EventDefinition", "parameters": { - "id": 795, + "id": 790, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 788, + "id": 783, "indexed": false, "mutability": "mutable", "name": "splitOrderId", "nameLocation": "1271:12:2", "nodeType": "VariableDeclaration", - "scope": 796, + "scope": 791, "src": "1263:20:2", "stateVariable": false, "storageLocation": "default", @@ -2361,7 +2361,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 787, + "id": 782, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1263:7:2", @@ -2374,13 +2374,13 @@ }, { "constant": false, - "id": 790, + "id": 785, "indexed": true, "mutability": "mutable", "name": "orderId", "nameLocation": "1303:7:2", "nodeType": "VariableDeclaration", - "scope": 796, + "scope": 791, "src": "1287:23:2", "stateVariable": false, "storageLocation": "default", @@ -2389,7 +2389,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 789, + "id": 784, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1287:7:2", @@ -2402,13 +2402,13 @@ }, { "constant": false, - "id": 792, + "id": 787, "indexed": true, "mutability": "mutable", "name": "liquidityProvider", "nameLocation": "1330:17:2", "nodeType": "VariableDeclaration", - "scope": 796, + "scope": 791, "src": "1314:33:2", "stateVariable": false, "storageLocation": "default", @@ -2417,7 +2417,7 @@ "typeString": "address" }, "typeName": { - "id": 791, + "id": 786, "name": "address", "nodeType": "ElementaryTypeName", "src": "1314:7:2", @@ -2431,13 +2431,13 @@ }, { "constant": false, - "id": 794, + "id": 789, "indexed": false, "mutability": "mutable", "name": "settlePercent", "nameLocation": "1358:13:2", "nodeType": "VariableDeclaration", - "scope": 796, + "scope": 791, "src": "1351:20:2", "stateVariable": false, "storageLocation": "default", @@ -2446,7 +2446,7 @@ "typeString": "uint96" }, "typeName": { - "id": 793, + "id": 788, "name": "uint96", "nodeType": "ElementaryTypeName", "src": "1351:6:2", @@ -2465,29 +2465,29 @@ { "anonymous": false, "documentation": { - "id": 797, + "id": 792, "nodeType": "StructuredDocumentation", "src": "1378:163:2", "text": " @dev Emitted when an aggregator refunds a transaction.\n @param fee The fee deducted from the refund amount.\n @param orderId The ID of the order." }, "eventSelector": "0736fe428e1747ca8d387c2e6fa1a31a0cde62d3a167c40a46ade59a3cdc828e", - "id": 803, + "id": 798, "name": "OrderRefunded", "nameLocation": "1549:13:2", "nodeType": "EventDefinition", "parameters": { - "id": 802, + "id": 797, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 799, + "id": 794, "indexed": false, "mutability": "mutable", "name": "fee", "nameLocation": "1571:3:2", "nodeType": "VariableDeclaration", - "scope": 803, + "scope": 798, "src": "1563:11:2", "stateVariable": false, "storageLocation": "default", @@ -2496,7 +2496,7 @@ "typeString": "uint256" }, "typeName": { - "id": 798, + "id": 793, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1563:7:2", @@ -2509,13 +2509,13 @@ }, { "constant": false, - "id": 801, + "id": 796, "indexed": true, "mutability": "mutable", "name": "orderId", "nameLocation": "1592:7:2", "nodeType": "VariableDeclaration", - "scope": 803, + "scope": 798, "src": "1576:23:2", "stateVariable": false, "storageLocation": "default", @@ -2524,7 +2524,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 800, + "id": 795, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "1576:7:2", @@ -2543,29 +2543,29 @@ { "anonymous": false, "documentation": { - "id": 804, + "id": 799, "nodeType": "StructuredDocumentation", "src": "1604:161:2", "text": " @dev Emitted when the sender's fee is transferred.\n @param sender The address of the sender.\n @param amount The amount of the fee transferred." }, "eventSelector": "44f6938ca4a10313aabb76f874cced61e35710a734a126e4afb34461bf8c2501", - "id": 810, + "id": 805, "name": "SenderFeeTransferred", "nameLocation": "1773:20:2", "nodeType": "EventDefinition", "parameters": { - "id": 809, + "id": 804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 806, + "id": 801, "indexed": true, "mutability": "mutable", "name": "sender", "nameLocation": "1810:6:2", "nodeType": "VariableDeclaration", - "scope": 810, + "scope": 805, "src": "1794:22:2", "stateVariable": false, "storageLocation": "default", @@ -2574,7 +2574,7 @@ "typeString": "address" }, "typeName": { - "id": 805, + "id": 800, "name": "address", "nodeType": "ElementaryTypeName", "src": "1794:7:2", @@ -2588,13 +2588,13 @@ }, { "constant": false, - "id": 808, + "id": 803, "indexed": true, "mutability": "mutable", "name": "amount", "nameLocation": "1834:6:2", "nodeType": "VariableDeclaration", - "scope": 810, + "scope": 805, "src": "1818:22:2", "stateVariable": false, "storageLocation": "default", @@ -2603,7 +2603,7 @@ "typeString": "uint256" }, "typeName": { - "id": 807, + "id": 802, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "1818:7:2", @@ -2621,16 +2621,16 @@ }, { "canonicalName": "IGateway.Order", - "id": 831, + "id": 826, "members": [ { "constant": false, - "id": 812, + "id": 807, "mutability": "mutable", "name": "sender", "nameLocation": "2649:6:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2641:14:2", "stateVariable": false, "storageLocation": "default", @@ -2639,7 +2639,7 @@ "typeString": "address" }, "typeName": { - "id": 811, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", "src": "2641:7:2", @@ -2653,12 +2653,12 @@ }, { "constant": false, - "id": 814, + "id": 809, "mutability": "mutable", "name": "token", "nameLocation": "2667:5:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2659:13:2", "stateVariable": false, "storageLocation": "default", @@ -2667,7 +2667,7 @@ "typeString": "address" }, "typeName": { - "id": 813, + "id": 808, "name": "address", "nodeType": "ElementaryTypeName", "src": "2659:7:2", @@ -2681,12 +2681,12 @@ }, { "constant": false, - "id": 816, + "id": 811, "mutability": "mutable", "name": "senderFeeRecipient", "nameLocation": "2684:18:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2676:26:2", "stateVariable": false, "storageLocation": "default", @@ -2695,7 +2695,7 @@ "typeString": "address" }, "typeName": { - "id": 815, + "id": 810, "name": "address", "nodeType": "ElementaryTypeName", "src": "2676:7:2", @@ -2709,12 +2709,12 @@ }, { "constant": false, - "id": 818, + "id": 813, "mutability": "mutable", "name": "senderFee", "nameLocation": "2714:9:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2706:17:2", "stateVariable": false, "storageLocation": "default", @@ -2723,7 +2723,7 @@ "typeString": "uint256" }, "typeName": { - "id": 817, + "id": 812, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2706:7:2", @@ -2736,12 +2736,12 @@ }, { "constant": false, - "id": 820, + "id": 815, "mutability": "mutable", "name": "protocolFee", "nameLocation": "2735:11:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2727:19:2", "stateVariable": false, "storageLocation": "default", @@ -2750,7 +2750,7 @@ "typeString": "uint256" }, "typeName": { - "id": 819, + "id": 814, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2727:7:2", @@ -2763,12 +2763,12 @@ }, { "constant": false, - "id": 822, + "id": 817, "mutability": "mutable", "name": "isFulfilled", "nameLocation": "2755:11:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2750:16:2", "stateVariable": false, "storageLocation": "default", @@ -2777,7 +2777,7 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 816, "name": "bool", "nodeType": "ElementaryTypeName", "src": "2750:4:2", @@ -2790,12 +2790,12 @@ }, { "constant": false, - "id": 824, + "id": 819, "mutability": "mutable", "name": "isRefunded", "nameLocation": "2775:10:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2770:15:2", "stateVariable": false, "storageLocation": "default", @@ -2804,7 +2804,7 @@ "typeString": "bool" }, "typeName": { - "id": 823, + "id": 818, "name": "bool", "nodeType": "ElementaryTypeName", "src": "2770:4:2", @@ -2817,12 +2817,12 @@ }, { "constant": false, - "id": 826, + "id": 821, "mutability": "mutable", "name": "refundAddress", "nameLocation": "2797:13:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2789:21:2", "stateVariable": false, "storageLocation": "default", @@ -2831,7 +2831,7 @@ "typeString": "address" }, "typeName": { - "id": 825, + "id": 820, "name": "address", "nodeType": "ElementaryTypeName", "src": "2789:7:2", @@ -2845,12 +2845,12 @@ }, { "constant": false, - "id": 828, + "id": 823, "mutability": "mutable", "name": "currentBPS", "nameLocation": "2821:10:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2814:17:2", "stateVariable": false, "storageLocation": "default", @@ -2859,7 +2859,7 @@ "typeString": "uint96" }, "typeName": { - "id": 827, + "id": 822, "name": "uint96", "nodeType": "ElementaryTypeName", "src": "2814:6:2", @@ -2872,12 +2872,12 @@ }, { "constant": false, - "id": 830, + "id": 825, "mutability": "mutable", "name": "amount", "nameLocation": "2843:6:2", "nodeType": "VariableDeclaration", - "scope": 831, + "scope": 826, "src": "2835:14:2", "stateVariable": false, "storageLocation": "default", @@ -2886,7 +2886,7 @@ "typeString": "uint256" }, "typeName": { - "id": 829, + "id": 824, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "2835:7:2", @@ -2901,19 +2901,19 @@ "name": "Order", "nameLocation": "2631:5:2", "nodeType": "StructDefinition", - "scope": 901, + "scope": 896, "src": "2624:229:2", "visibility": "public" }, { "documentation": { - "id": 832, + "id": 827, "nodeType": "StructuredDocumentation", "src": "3048:964:2", "text": " @notice Locks the sender's amount of token into Gateway.\n @dev Requirements:\n - `msg.sender` must approve Gateway contract on `_token` of at least `amount` before function call.\n - `_token` must be an acceptable token. See {isTokenSupported}.\n - `amount` must be greater than minimum.\n - `_refundAddress` refund address must not be zero address.\n @param _token The address of the token.\n @param _amount The amount in the decimal of `_token` to be locked.\n @param _rate The rate at which the sender intends to sell `_amount` of `_token`.\n @param _senderFeeRecipient The address that will receive `_senderFee` in `_token`.\n @param _senderFee The amount in the decimal of `_token` that will be paid to `_senderFeeRecipient`.\n @param _refundAddress The address that will receive `_amount` in `_token` when there is a need to refund.\n @param messageHash The hash of the message.\n @return _orderId The ID of the order." }, "functionSelector": "809804f7", - "id": 851, + "id": 846, "implemented": false, "kind": "function", "modifiers": [], @@ -2921,17 +2921,17 @@ "nameLocation": "4023:11:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 842, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 834, + "id": 829, "mutability": "mutable", "name": "_token", "nameLocation": "4046:6:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4038:14:2", "stateVariable": false, "storageLocation": "default", @@ -2940,7 +2940,7 @@ "typeString": "address" }, "typeName": { - "id": 833, + "id": 828, "name": "address", "nodeType": "ElementaryTypeName", "src": "4038:7:2", @@ -2954,12 +2954,12 @@ }, { "constant": false, - "id": 836, + "id": 831, "mutability": "mutable", "name": "_amount", "nameLocation": "4064:7:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4056:15:2", "stateVariable": false, "storageLocation": "default", @@ -2968,7 +2968,7 @@ "typeString": "uint256" }, "typeName": { - "id": 835, + "id": 830, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4056:7:2", @@ -2981,12 +2981,12 @@ }, { "constant": false, - "id": 838, + "id": 833, "mutability": "mutable", "name": "_rate", "nameLocation": "4082:5:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4075:12:2", "stateVariable": false, "storageLocation": "default", @@ -2995,7 +2995,7 @@ "typeString": "uint96" }, "typeName": { - "id": 837, + "id": 832, "name": "uint96", "nodeType": "ElementaryTypeName", "src": "4075:6:2", @@ -3008,12 +3008,12 @@ }, { "constant": false, - "id": 840, + "id": 835, "mutability": "mutable", "name": "_senderFeeRecipient", "nameLocation": "4099:19:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4091:27:2", "stateVariable": false, "storageLocation": "default", @@ -3022,7 +3022,7 @@ "typeString": "address" }, "typeName": { - "id": 839, + "id": 834, "name": "address", "nodeType": "ElementaryTypeName", "src": "4091:7:2", @@ -3036,12 +3036,12 @@ }, { "constant": false, - "id": 842, + "id": 837, "mutability": "mutable", "name": "_senderFee", "nameLocation": "4130:10:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4122:18:2", "stateVariable": false, "storageLocation": "default", @@ -3050,7 +3050,7 @@ "typeString": "uint256" }, "typeName": { - "id": 841, + "id": 836, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "4122:7:2", @@ -3063,12 +3063,12 @@ }, { "constant": false, - "id": 844, + "id": 839, "mutability": "mutable", "name": "_refundAddress", "nameLocation": "4152:14:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4144:22:2", "stateVariable": false, "storageLocation": "default", @@ -3077,7 +3077,7 @@ "typeString": "address" }, "typeName": { - "id": 843, + "id": 838, "name": "address", "nodeType": "ElementaryTypeName", "src": "4144:7:2", @@ -3091,12 +3091,12 @@ }, { "constant": false, - "id": 846, + "id": 841, "mutability": "mutable", "name": "messageHash", "nameLocation": "4186:11:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4170:27:2", "stateVariable": false, "storageLocation": "calldata", @@ -3105,7 +3105,7 @@ "typeString": "string" }, "typeName": { - "id": 845, + "id": 840, "name": "string", "nodeType": "ElementaryTypeName", "src": "4170:6:2", @@ -3120,17 +3120,17 @@ "src": "4034:166:2" }, "returnParameters": { - "id": 850, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 844, "mutability": "mutable", "name": "_orderId", "nameLocation": "4227:8:2", "nodeType": "VariableDeclaration", - "scope": 851, + "scope": 846, "src": "4219:16:2", "stateVariable": false, "storageLocation": "default", @@ -3139,7 +3139,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 848, + "id": 843, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "4219:7:2", @@ -3153,7 +3153,7 @@ ], "src": "4218:18:2" }, - "scope": 901, + "scope": 896, "src": "4014:223:2", "stateMutability": "nonpayable", "virtual": false, @@ -3161,13 +3161,13 @@ }, { "documentation": { - "id": 852, + "id": 847, "nodeType": "StructuredDocumentation", "src": "4240:366:2", "text": " @notice Settles a transaction and distributes rewards accordingly.\n @param _splitOrderId The ID of the split order.\n @param _orderId The ID of the transaction.\n @param _liquidityProvider The address of the liquidity provider.\n @param _settlePercent The rate at which the transaction is settled.\n @return bool the settlement is successful." }, "functionSelector": "f22ee704", - "id": 865, + "id": 860, "implemented": false, "kind": "function", "modifiers": [], @@ -3175,17 +3175,17 @@ "nameLocation": "4617:6:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 861, + "id": 856, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 854, + "id": 849, "mutability": "mutable", "name": "_splitOrderId", "nameLocation": "4635:13:2", "nodeType": "VariableDeclaration", - "scope": 865, + "scope": 860, "src": "4627:21:2", "stateVariable": false, "storageLocation": "default", @@ -3194,7 +3194,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 853, + "id": 848, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "4627:7:2", @@ -3207,12 +3207,12 @@ }, { "constant": false, - "id": 856, + "id": 851, "mutability": "mutable", "name": "_orderId", "nameLocation": "4660:8:2", "nodeType": "VariableDeclaration", - "scope": 865, + "scope": 860, "src": "4652:16:2", "stateVariable": false, "storageLocation": "default", @@ -3221,7 +3221,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 855, + "id": 850, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "4652:7:2", @@ -3234,12 +3234,12 @@ }, { "constant": false, - "id": 858, + "id": 853, "mutability": "mutable", "name": "_liquidityProvider", "nameLocation": "4680:18:2", "nodeType": "VariableDeclaration", - "scope": 865, + "scope": 860, "src": "4672:26:2", "stateVariable": false, "storageLocation": "default", @@ -3248,7 +3248,7 @@ "typeString": "address" }, "typeName": { - "id": 857, + "id": 852, "name": "address", "nodeType": "ElementaryTypeName", "src": "4672:7:2", @@ -3262,12 +3262,12 @@ }, { "constant": false, - "id": 860, + "id": 855, "mutability": "mutable", "name": "_settlePercent", "nameLocation": "4709:14:2", "nodeType": "VariableDeclaration", - "scope": 865, + "scope": 860, "src": "4702:21:2", "stateVariable": false, "storageLocation": "default", @@ -3276,7 +3276,7 @@ "typeString": "uint64" }, "typeName": { - "id": 859, + "id": 854, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "4702:6:2", @@ -3291,17 +3291,17 @@ "src": "4623:103:2" }, "returnParameters": { - "id": 864, + "id": 859, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 863, + "id": 858, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 865, + "scope": 860, "src": "4745:4:2", "stateVariable": false, "storageLocation": "default", @@ -3310,7 +3310,7 @@ "typeString": "bool" }, "typeName": { - "id": 862, + "id": 857, "name": "bool", "nodeType": "ElementaryTypeName", "src": "4745:4:2", @@ -3324,7 +3324,7 @@ ], "src": "4744:6:2" }, - "scope": 901, + "scope": 896, "src": "4608:143:2", "stateMutability": "nonpayable", "virtual": false, @@ -3332,13 +3332,13 @@ }, { "documentation": { - "id": 866, + "id": 861, "nodeType": "StructuredDocumentation", "src": "4754:299:2", "text": " @notice Refunds to the specified refundable address.\n @dev Requirements:\n - Only aggregators can call this function.\n @param _fee The amount to be deducted from the amount to be refunded.\n @param _orderId The ID of the transaction.\n @return bool the refund is successful." }, "functionSelector": "71eedb88", - "id": 875, + "id": 870, "implemented": false, "kind": "function", "modifiers": [], @@ -3346,17 +3346,17 @@ "nameLocation": "5064:6:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 871, + "id": 866, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 868, + "id": 863, "mutability": "mutable", "name": "_fee", "nameLocation": "5079:4:2", "nodeType": "VariableDeclaration", - "scope": 875, + "scope": 870, "src": "5071:12:2", "stateVariable": false, "storageLocation": "default", @@ -3365,7 +3365,7 @@ "typeString": "uint256" }, "typeName": { - "id": 867, + "id": 862, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5071:7:2", @@ -3378,12 +3378,12 @@ }, { "constant": false, - "id": 870, + "id": 865, "mutability": "mutable", "name": "_orderId", "nameLocation": "5093:8:2", "nodeType": "VariableDeclaration", - "scope": 875, + "scope": 870, "src": "5085:16:2", "stateVariable": false, "storageLocation": "default", @@ -3392,7 +3392,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 869, + "id": 864, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "5085:7:2", @@ -3407,17 +3407,17 @@ "src": "5070:32:2" }, "returnParameters": { - "id": 874, + "id": 869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 873, + "id": 868, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 875, + "scope": 870, "src": "5121:4:2", "stateVariable": false, "storageLocation": "default", @@ -3426,7 +3426,7 @@ "typeString": "bool" }, "typeName": { - "id": 872, + "id": 867, "name": "bool", "nodeType": "ElementaryTypeName", "src": "5121:4:2", @@ -3440,7 +3440,7 @@ ], "src": "5120:6:2" }, - "scope": 901, + "scope": 896, "src": "5055:72:2", "stateMutability": "nonpayable", "virtual": false, @@ -3448,13 +3448,13 @@ }, { "documentation": { - "id": 876, + "id": 871, "nodeType": "StructuredDocumentation", "src": "5130:157:2", "text": " @notice Checks if a token is supported by Gateway.\n @param _token The address of the token to check.\n @return bool the token is supported." }, "functionSelector": "75151b63", - "id": 883, + "id": 878, "implemented": false, "kind": "function", "modifiers": [], @@ -3462,17 +3462,17 @@ "nameLocation": "5298:16:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 879, + "id": 874, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 878, + "id": 873, "mutability": "mutable", "name": "_token", "nameLocation": "5323:6:2", "nodeType": "VariableDeclaration", - "scope": 883, + "scope": 878, "src": "5315:14:2", "stateVariable": false, "storageLocation": "default", @@ -3481,7 +3481,7 @@ "typeString": "address" }, "typeName": { - "id": 877, + "id": 872, "name": "address", "nodeType": "ElementaryTypeName", "src": "5315:7:2", @@ -3497,17 +3497,17 @@ "src": "5314:16:2" }, "returnParameters": { - "id": 882, + "id": 877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 881, + "id": 876, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 883, + "scope": 878, "src": "5354:4:2", "stateVariable": false, "storageLocation": "default", @@ -3516,7 +3516,7 @@ "typeString": "bool" }, "typeName": { - "id": 880, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", "src": "5354:4:2", @@ -3530,7 +3530,7 @@ ], "src": "5353:6:2" }, - "scope": 901, + "scope": 896, "src": "5289:71:2", "stateMutability": "view", "virtual": false, @@ -3538,13 +3538,13 @@ }, { "documentation": { - "id": 884, + "id": 879, "nodeType": "StructuredDocumentation", "src": "5363:128:2", "text": " @notice Gets the details of an order.\n @param _orderId The ID of the order.\n @return Order The order details." }, "functionSelector": "768c6ec0", - "id": 892, + "id": 887, "implemented": false, "kind": "function", "modifiers": [], @@ -3552,17 +3552,17 @@ "nameLocation": "5502:12:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 887, + "id": 882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 886, + "id": 881, "mutability": "mutable", "name": "_orderId", "nameLocation": "5523:8:2", "nodeType": "VariableDeclaration", - "scope": 892, + "scope": 887, "src": "5515:16:2", "stateVariable": false, "storageLocation": "default", @@ -3571,7 +3571,7 @@ "typeString": "bytes32" }, "typeName": { - "id": 885, + "id": 880, "name": "bytes32", "nodeType": "ElementaryTypeName", "src": "5515:7:2", @@ -3586,41 +3586,41 @@ "src": "5514:18:2" }, "returnParameters": { - "id": 891, + "id": 886, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 885, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 892, + "scope": 887, "src": "5556:12:2", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_memory_ptr", + "typeIdentifier": "t_struct$_Order_$826_memory_ptr", "typeString": "struct IGateway.Order" }, "typeName": { - "id": 889, + "id": 884, "nodeType": "UserDefinedTypeName", "pathNode": { - "id": 888, + "id": 883, "name": "Order", "nameLocations": [ "5556:5:2" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 831, + "referencedDeclaration": 826, "src": "5556:5:2" }, - "referencedDeclaration": 831, + "referencedDeclaration": 826, "src": "5556:5:2", "typeDescriptions": { - "typeIdentifier": "t_struct$_Order_$831_storage_ptr", + "typeIdentifier": "t_struct$_Order_$826_storage_ptr", "typeString": "struct IGateway.Order" } }, @@ -3629,7 +3629,7 @@ ], "src": "5555:14:2" }, - "scope": 901, + "scope": 896, "src": "5493:77:2", "stateMutability": "view", "virtual": false, @@ -3637,13 +3637,13 @@ }, { "documentation": { - "id": 893, + "id": 888, "nodeType": "StructuredDocumentation", "src": "5573:154:2", "text": " @notice Gets the fee details of Gateway.\n @return protocolReward The protocol reward amount.\n @return max_bps The maximum basis points." }, "functionSelector": "b810c636", - "id": 900, + "id": 895, "implemented": false, "kind": "function", "modifiers": [], @@ -3651,23 +3651,23 @@ "nameLocation": "5738:13:2", "nodeType": "FunctionDefinition", "parameters": { - "id": 894, + "id": 889, "nodeType": "ParameterList", "parameters": [], "src": "5751:2:2" }, "returnParameters": { - "id": 899, + "id": 894, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 896, + "id": 891, "mutability": "mutable", "name": "protocolReward", "nameLocation": "5784:14:2", "nodeType": "VariableDeclaration", - "scope": 900, + "scope": 895, "src": "5777:21:2", "stateVariable": false, "storageLocation": "default", @@ -3676,7 +3676,7 @@ "typeString": "uint64" }, "typeName": { - "id": 895, + "id": 890, "name": "uint64", "nodeType": "ElementaryTypeName", "src": "5777:6:2", @@ -3689,12 +3689,12 @@ }, { "constant": false, - "id": 898, + "id": 893, "mutability": "mutable", "name": "max_bps", "nameLocation": "5808:7:2", "nodeType": "VariableDeclaration", - "scope": 900, + "scope": 895, "src": "5800:15:2", "stateVariable": false, "storageLocation": "default", @@ -3703,7 +3703,7 @@ "typeString": "uint256" }, "typeName": { - "id": 897, + "id": 892, "name": "uint256", "nodeType": "ElementaryTypeName", "src": "5800:7:2", @@ -3717,14 +3717,14 @@ ], "src": "5776:40:2" }, - "scope": 901, + "scope": 896, "src": "5729:88:2", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 902, + "scope": 897, "src": "211:5608:2", "usedErrors": [] } @@ -3737,5 +3737,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2024-06-27T12:24:25.258Z" + "updatedAt": "2024-07-04T18:51:17.143Z" } \ No newline at end of file diff --git a/build/contracts/Initializable.json b/build/contracts/Initializable.json index b5e3068..cf0e11a 100644 --- a/build/contracts/Initializable.json +++ b/build/contracts/Initializable.json @@ -25,18 +25,18 @@ "absolutePath": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "exportedSymbols": { "AddressUpgradeable": [ - 1838 + 1763 ], "Initializable": [ - 1380 + 1305 ] }, - "id": 1381, + "id": 1306, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 1213, + "id": 1138, "literals": [ "solidity", "^", @@ -44,17 +44,17 @@ ".2" ], "nodeType": "PragmaDirective", - "src": "113:23:6" + "src": "113:23:5" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol", "file": "../../utils/AddressUpgradeable.sol", - "id": 1214, + "id": 1139, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1381, - "sourceUnit": 1839, - "src": "138:44:6", + "scope": 1306, + "sourceUnit": 1764, + "src": "138:44:5", "symbolAliases": [], "unitAlias": "" }, @@ -65,35 +65,35 @@ "contractDependencies": [], "contractKind": "contract", "documentation": { - "id": 1215, + "id": 1140, "nodeType": "StructuredDocumentation", - "src": "184:2209:6", + "src": "184:2209:5", "text": " @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n case an upgrade adds a module that needs to be initialized.\n For example:\n [.hljs-theme-light.nopadding]\n ```solidity\n contract MyToken is ERC20Upgradeable {\n function initialize() initializer public {\n __ERC20_init(\"MyToken\", \"MTK\");\n }\n }\n contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n function initializeV2() reinitializer(2) public {\n __ERC20Permit_init(\"MyToken\");\n }\n }\n ```\n TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n [CAUTION]\n ====\n Avoid leaving a contract uninitialized.\n An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n [.hljs-theme-light.nopadding]\n ```\n /// @custom:oz-upgrades-unsafe-allow constructor\n constructor() {\n _disableInitializers();\n }\n ```\n ====" }, "fullyImplemented": true, - "id": 1380, + "id": 1305, "linearizedBaseContracts": [ - 1380 + 1305 ], "name": "Initializable", - "nameLocation": "2412:13:6", + "nameLocation": "2412:13:5", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, "documentation": { - "id": 1216, + "id": 1141, "nodeType": "StructuredDocumentation", - "src": "2432:109:6", + "src": "2432:109:5", "text": " @dev Indicates that the contract has been initialized.\n @custom:oz-retyped-from bool" }, - "id": 1218, + "id": 1143, "mutability": "mutable", "name": "_initialized", - "nameLocation": "2560:12:6", + "nameLocation": "2560:12:5", "nodeType": "VariableDeclaration", - "scope": 1380, - "src": "2546:26:6", + "scope": 1305, + "src": "2546:26:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -101,10 +101,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1217, + "id": 1142, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "2546:5:6", + "src": "2546:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -115,18 +115,18 @@ { "constant": false, "documentation": { - "id": 1219, + "id": 1144, "nodeType": "StructuredDocumentation", - "src": "2579:91:6", + "src": "2579:91:5", "text": " @dev Indicates that the contract is in the process of being initialized." }, - "id": 1221, + "id": 1146, "mutability": "mutable", "name": "_initializing", - "nameLocation": "2688:13:6", + "nameLocation": "2688:13:5", "nodeType": "VariableDeclaration", - "scope": 1380, - "src": "2675:26:6", + "scope": 1305, + "src": "2675:26:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -134,10 +134,10 @@ "typeString": "bool" }, "typeName": { - "id": 1220, + "id": 1145, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2675:4:6", + "src": "2675:4:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -148,30 +148,30 @@ { "anonymous": false, "documentation": { - "id": 1222, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "2708:90:6", + "src": "2708:90:5", "text": " @dev Triggered when the contract has been initialized or reinitialized." }, "eventSelector": "7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498", - "id": 1226, + "id": 1151, "name": "Initialized", - "nameLocation": "2809:11:6", + "nameLocation": "2809:11:5", "nodeType": "EventDefinition", "parameters": { - "id": 1225, + "id": 1150, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1224, + "id": 1149, "indexed": false, "mutability": "mutable", "name": "version", - "nameLocation": "2827:7:6", + "nameLocation": "2827:7:5", "nodeType": "VariableDeclaration", - "scope": 1226, - "src": "2821:13:6", + "scope": 1151, + "src": "2821:13:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -179,10 +179,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1223, + "id": 1148, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "2821:5:6", + "src": "2821:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -191,30 +191,30 @@ "visibility": "internal" } ], - "src": "2820:15:6" + "src": "2820:15:5" }, - "src": "2803:33:6" + "src": "2803:33:5" }, { "body": { - "id": 1281, + "id": 1206, "nodeType": "Block", - "src": "3269:483:6", + "src": "3269:483:5", "statements": [ { "assignments": [ - 1230 + 1155 ], "declarations": [ { "constant": false, - "id": 1230, + "id": 1155, "mutability": "mutable", "name": "isTopLevelCall", - "nameLocation": "3284:14:6", + "nameLocation": "3284:14:5", "nodeType": "VariableDeclaration", - "scope": 1281, - "src": "3279:19:6", + "scope": 1206, + "src": "3279:19:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -222,10 +222,10 @@ "typeString": "bool" }, "typeName": { - "id": 1229, + "id": 1154, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3279:4:6", + "src": "3279:4:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -234,9 +234,9 @@ "visibility": "internal" } ], - "id": 1233, + "id": 1158, "initialValue": { - "id": 1232, + "id": 1157, "isConstant": false, "isLValue": false, "isPure": false, @@ -244,14 +244,14 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3301:14:6", + "src": "3301:14:5", "subExpression": { - "id": 1231, + "id": 1156, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "3302:13:6", + "referencedDeclaration": 1146, + "src": "3302:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -263,7 +263,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "3279:36:6" + "src": "3279:36:5" }, { "expression": { @@ -273,7 +273,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1254, + "id": 1179, "isConstant": false, "isLValue": false, "isPure": false, @@ -285,18 +285,18 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1239, + "id": 1164, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1235, + "id": 1160, "name": "isTopLevelCall", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "3347:14:6", + "referencedDeclaration": 1155, + "src": "3347:14:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -309,18 +309,18 @@ "typeIdentifier": "t_uint8", "typeString": "uint8" }, - "id": 1238, + "id": 1163, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1236, + "id": 1161, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "3365:12:6", + "referencedDeclaration": 1143, + "src": "3365:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -330,41 +330,41 @@ "operator": "<", "rightExpression": { "hexValue": "31", - "id": 1237, + "id": 1162, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3380:1:6", + "src": "3380:1:5", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "3365:16:6", + "src": "3365:16:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3347:34:6", + "src": "3347:34:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 1240, + "id": 1165, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "3346:36:6", + "src": "3346:36:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -379,13 +379,13 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1252, + "id": 1177, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1248, + "id": 1173, "isConstant": false, "isLValue": false, "isPure": false, @@ -393,20 +393,20 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3387:45:6", + "src": "3387:45:5", "subExpression": { "arguments": [ { "arguments": [ { - "id": 1245, + "id": 1170, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "3426:4:6", + "src": "3426:4:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Initializable_$1380", + "typeIdentifier": "t_contract$_Initializable_$1305", "typeString": "contract Initializable" } } @@ -414,30 +414,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Initializable_$1380", + "typeIdentifier": "t_contract$_Initializable_$1305", "typeString": "contract Initializable" } ], - "id": 1244, + "id": 1169, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "3418:7:6", + "src": "3418:7:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1243, + "id": 1168, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3418:7:6", + "src": "3418:7:5", "typeDescriptions": {} } }, - "id": 1246, + "id": 1171, "isConstant": false, "isLValue": false, "isPure": false, @@ -446,7 +446,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3418:13:6", + "src": "3418:13:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -462,33 +462,33 @@ } ], "expression": { - "id": 1241, + "id": 1166, "name": "AddressUpgradeable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1838, - "src": "3388:18:6", + "referencedDeclaration": 1763, + "src": "3388:18:5", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_AddressUpgradeable_$1838_$", + "typeIdentifier": "t_type$_t_contract$_AddressUpgradeable_$1763_$", "typeString": "type(library AddressUpgradeable)" } }, - "id": 1242, + "id": 1167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3407:10:6", + "memberLocation": "3407:10:5", "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1526, - "src": "3388:29:6", + "referencedDeclaration": 1451, + "src": "3388:29:5", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1247, + "id": 1172, "isConstant": false, "isLValue": false, "isPure": false, @@ -497,7 +497,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3388:44:6", + "src": "3388:44:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -516,18 +516,18 @@ "typeIdentifier": "t_uint8", "typeString": "uint8" }, - "id": 1251, + "id": 1176, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1249, + "id": 1174, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "3436:12:6", + "referencedDeclaration": 1143, + "src": "3436:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -537,47 +537,47 @@ "operator": "==", "rightExpression": { "hexValue": "31", - "id": 1250, + "id": 1175, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3452:1:6", + "src": "3452:1:5", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "3436:17:6", + "src": "3436:17:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3387:66:6", + "src": "3387:66:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 1253, + "id": 1178, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "3386:68:6", + "src": "3386:68:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3346:108:6", + "src": "3346:108:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -585,14 +585,14 @@ }, { "hexValue": "496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564", - "id": 1255, + "id": 1180, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "3468:48:6", + "src": "3468:48:5", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759", "typeString": "literal_string \"Initializable: contract is already initialized\"" @@ -611,7 +611,7 @@ "typeString": "literal_string \"Initializable: contract is already initialized\"" } ], - "id": 1234, + "id": 1159, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -619,13 +619,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "3325:7:6", + "src": "3325:7:5", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1256, + "id": 1181, "isConstant": false, "isLValue": false, "isPure": false, @@ -634,31 +634,31 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3325:201:6", + "src": "3325:201:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1257, + "id": 1182, "nodeType": "ExpressionStatement", - "src": "3325:201:6" + "src": "3325:201:5" }, { "expression": { - "id": 1260, + "id": 1185, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1258, + "id": 1183, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "3536:12:6", + "referencedDeclaration": 1143, + "src": "3536:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -668,65 +668,65 @@ "operator": "=", "rightHandSide": { "hexValue": "31", - "id": 1259, + "id": 1184, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3551:1:6", + "src": "3551:1:5", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "3536:16:6", + "src": "3536:16:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "id": 1261, + "id": 1186, "nodeType": "ExpressionStatement", - "src": "3536:16:6" + "src": "3536:16:5" }, { "condition": { - "id": 1262, + "id": 1187, "name": "isTopLevelCall", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "3566:14:6", + "referencedDeclaration": 1155, + "src": "3566:14:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1268, + "id": 1193, "nodeType": "IfStatement", - "src": "3562:65:6", + "src": "3562:65:5", "trueBody": { - "id": 1267, + "id": 1192, "nodeType": "Block", - "src": "3582:45:6", + "src": "3582:45:5", "statements": [ { "expression": { - "id": 1265, + "id": 1190, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1263, + "id": 1188, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "3596:13:6", + "referencedDeclaration": 1146, + "src": "3596:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -736,73 +736,73 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 1264, + "id": 1189, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3612:4:6", + "src": "3612:4:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "3596:20:6", + "src": "3596:20:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1266, + "id": 1191, "nodeType": "ExpressionStatement", - "src": "3596:20:6" + "src": "3596:20:5" } ] } }, { - "id": 1269, + "id": 1194, "nodeType": "PlaceholderStatement", - "src": "3636:1:6" + "src": "3636:1:5" }, { "condition": { - "id": 1270, + "id": 1195, "name": "isTopLevelCall", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "3651:14:6", + "referencedDeclaration": 1155, + "src": "3651:14:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1280, + "id": 1205, "nodeType": "IfStatement", - "src": "3647:99:6", + "src": "3647:99:5", "trueBody": { - "id": 1279, + "id": 1204, "nodeType": "Block", - "src": "3667:79:6", + "src": "3667:79:5", "statements": [ { "expression": { - "id": 1273, + "id": 1198, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1271, + "id": 1196, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "3681:13:6", + "referencedDeclaration": 1146, + "src": "3681:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -812,43 +812,43 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 1272, + "id": 1197, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3697:5:6", + "src": "3697:5:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "src": "3681:21:6", + "src": "3681:21:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1274, + "id": 1199, "nodeType": "ExpressionStatement", - "src": "3681:21:6" + "src": "3681:21:5" }, { "eventCall": { "arguments": [ { "hexValue": "31", - "id": 1276, + "id": 1201, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3733:1:6", + "src": "3733:1:5", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" @@ -863,18 +863,18 @@ "typeString": "int_const 1" } ], - "id": 1275, + "id": 1200, "name": "Initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1226, - "src": "3721:11:6", + "referencedDeclaration": 1151, + "src": "3721:11:5", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint8_$returns$__$", "typeString": "function (uint8)" } }, - "id": 1277, + "id": 1202, "isConstant": false, "isLValue": false, "isPure": false, @@ -883,16 +883,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3721:14:6", + "src": "3721:14:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1278, + "id": 1203, "nodeType": "EmitStatement", - "src": "3716:19:6" + "src": "3716:19:5" } ] } @@ -900,30 +900,30 @@ ] }, "documentation": { - "id": 1227, + "id": 1152, "nodeType": "StructuredDocumentation", - "src": "2842:399:6", + "src": "2842:399:5", "text": " @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n `onlyInitializing` functions can be used to initialize parent contracts.\n Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a\n constructor.\n Emits an {Initialized} event." }, - "id": 1282, + "id": 1207, "name": "initializer", - "nameLocation": "3255:11:6", + "nameLocation": "3255:11:5", "nodeType": "ModifierDefinition", "parameters": { - "id": 1228, + "id": 1153, "nodeType": "ParameterList", "parameters": [], - "src": "3266:2:6" + "src": "3266:2:5" }, - "src": "3246:506:6", + "src": "3246:506:5", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1314, + "id": 1239, "nodeType": "Block", - "src": "4863:255:6", + "src": "4863:255:5", "statements": [ { "expression": { @@ -933,13 +933,13 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1293, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1289, + "id": 1214, "isConstant": false, "isLValue": false, "isPure": false, @@ -947,14 +947,14 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "4881:14:6", + "src": "4881:14:5", "subExpression": { - "id": 1288, + "id": 1213, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "4882:13:6", + "referencedDeclaration": 1146, + "src": "4882:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -972,18 +972,18 @@ "typeIdentifier": "t_uint8", "typeString": "uint8" }, - "id": 1292, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1290, + "id": 1215, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "4899:12:6", + "referencedDeclaration": 1143, + "src": "4899:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -992,24 +992,24 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 1291, + "id": 1216, "name": "version", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1285, - "src": "4914:7:6", + "referencedDeclaration": 1210, + "src": "4914:7:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "4899:22:6", + "src": "4899:22:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "4881:40:6", + "src": "4881:40:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1017,14 +1017,14 @@ }, { "hexValue": "496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564", - "id": 1294, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4923:48:6", + "src": "4923:48:5", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759", "typeString": "literal_string \"Initializable: contract is already initialized\"" @@ -1043,7 +1043,7 @@ "typeString": "literal_string \"Initializable: contract is already initialized\"" } ], - "id": 1287, + "id": 1212, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1051,13 +1051,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "4873:7:6", + "src": "4873:7:5", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1295, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -1066,31 +1066,31 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "4873:99:6", + "src": "4873:99:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1296, + "id": 1221, "nodeType": "ExpressionStatement", - "src": "4873:99:6" + "src": "4873:99:5" }, { "expression": { - "id": 1299, + "id": 1224, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1297, + "id": 1222, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "4982:12:6", + "referencedDeclaration": 1143, + "src": "4982:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -1099,41 +1099,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1298, + "id": 1223, "name": "version", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1285, - "src": "4997:7:6", + "referencedDeclaration": 1210, + "src": "4997:7:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "4982:22:6", + "src": "4982:22:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "id": 1300, + "id": 1225, "nodeType": "ExpressionStatement", - "src": "4982:22:6" + "src": "4982:22:5" }, { "expression": { - "id": 1303, + "id": 1228, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1301, + "id": 1226, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "5014:13:6", + "referencedDeclaration": 1146, + "src": "5014:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1143,49 +1143,49 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 1302, + "id": 1227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "5030:4:6", + "src": "5030:4:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "5014:20:6", + "src": "5014:20:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1304, + "id": 1229, "nodeType": "ExpressionStatement", - "src": "5014:20:6" + "src": "5014:20:5" }, { - "id": 1305, + "id": 1230, "nodeType": "PlaceholderStatement", - "src": "5044:1:6" + "src": "5044:1:5" }, { "expression": { - "id": 1308, + "id": 1233, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1306, + "id": 1231, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "5055:13:6", + "referencedDeclaration": 1146, + "src": "5055:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1195,40 +1195,40 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 1307, + "id": 1232, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "5071:5:6", + "src": "5071:5:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "src": "5055:21:6", + "src": "5055:21:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1309, + "id": 1234, "nodeType": "ExpressionStatement", - "src": "5055:21:6" + "src": "5055:21:5" }, { "eventCall": { "arguments": [ { - "id": 1311, + "id": 1236, "name": "version", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1285, - "src": "5103:7:6", + "referencedDeclaration": 1210, + "src": "5103:7:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -1242,18 +1242,18 @@ "typeString": "uint8" } ], - "id": 1310, + "id": 1235, "name": "Initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1226, - "src": "5091:11:6", + "referencedDeclaration": 1151, + "src": "5091:11:5", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint8_$returns$__$", "typeString": "function (uint8)" } }, - "id": 1312, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": false, @@ -1262,42 +1262,42 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5091:20:6", + "src": "5091:20:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1313, + "id": 1238, "nodeType": "EmitStatement", - "src": "5086:25:6" + "src": "5086:25:5" } ] }, "documentation": { - "id": 1283, + "id": 1208, "nodeType": "StructuredDocumentation", - "src": "3758:1062:6", + "src": "3758:1062:5", "text": " @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n used to initialize parent contracts.\n A reinitializer may be used after the original initialization step. This is essential to configure modules that\n are added through upgrades and that require initialization.\n When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n cannot be nested. If one is invoked in the context of another, execution will revert.\n Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n a contract, executing them in the right order is up to the developer or operator.\n WARNING: setting the version to 255 will prevent any future reinitialization.\n Emits an {Initialized} event." }, - "id": 1315, + "id": 1240, "name": "reinitializer", - "nameLocation": "4834:13:6", + "nameLocation": "4834:13:5", "nodeType": "ModifierDefinition", "parameters": { - "id": 1286, + "id": 1211, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1285, + "id": 1210, "mutability": "mutable", "name": "version", - "nameLocation": "4854:7:6", + "nameLocation": "4854:7:5", "nodeType": "VariableDeclaration", - "scope": 1315, - "src": "4848:13:6", + "scope": 1240, + "src": "4848:13:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1305,10 +1305,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1284, + "id": 1209, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "4848:5:6", + "src": "4848:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -1317,28 +1317,28 @@ "visibility": "internal" } ], - "src": "4847:15:6" + "src": "4847:15:5" }, - "src": "4825:293:6", + "src": "4825:293:5", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1324, + "id": 1249, "nodeType": "Block", - "src": "5356:97:6", + "src": "5356:97:5", "statements": [ { "expression": { "arguments": [ { - "id": 1319, + "id": 1244, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "5374:13:6", + "referencedDeclaration": 1146, + "src": "5374:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1346,14 +1346,14 @@ }, { "hexValue": "496e697469616c697a61626c653a20636f6e7472616374206973206e6f7420696e697469616c697a696e67", - "id": 1320, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5389:45:6", + "src": "5389:45:5", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b", "typeString": "literal_string \"Initializable: contract is not initializing\"" @@ -1372,7 +1372,7 @@ "typeString": "literal_string \"Initializable: contract is not initializing\"" } ], - "id": 1318, + "id": 1243, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1380,13 +1380,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "5366:7:6", + "src": "5366:7:5", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1321, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -1395,55 +1395,55 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5366:69:6", + "src": "5366:69:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1322, + "id": 1247, "nodeType": "ExpressionStatement", - "src": "5366:69:6" + "src": "5366:69:5" }, { - "id": 1323, + "id": 1248, "nodeType": "PlaceholderStatement", - "src": "5445:1:6" + "src": "5445:1:5" } ] }, "documentation": { - "id": 1316, + "id": 1241, "nodeType": "StructuredDocumentation", - "src": "5124:199:6", + "src": "5124:199:5", "text": " @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n {initializer} and {reinitializer} modifiers, directly or indirectly." }, - "id": 1325, + "id": 1250, "name": "onlyInitializing", - "nameLocation": "5337:16:6", + "nameLocation": "5337:16:5", "nodeType": "ModifierDefinition", "parameters": { - "id": 1317, + "id": 1242, "nodeType": "ParameterList", "parameters": [], - "src": "5353:2:6" + "src": "5353:2:5" }, - "src": "5328:125:6", + "src": "5328:125:5", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1360, + "id": 1285, "nodeType": "Block", - "src": "5988:231:6", + "src": "5988:231:5", "statements": [ { "expression": { "arguments": [ { - "id": 1331, + "id": 1256, "isConstant": false, "isLValue": false, "isPure": false, @@ -1451,14 +1451,14 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "6006:14:6", + "src": "6006:14:5", "subExpression": { - "id": 1330, + "id": 1255, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "6007:13:6", + "referencedDeclaration": 1146, + "src": "6007:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1471,14 +1471,14 @@ }, { "hexValue": "496e697469616c697a61626c653a20636f6e747261637420697320696e697469616c697a696e67", - "id": 1332, + "id": 1257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6022:41:6", + "src": "6022:41:5", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a", "typeString": "literal_string \"Initializable: contract is initializing\"" @@ -1497,7 +1497,7 @@ "typeString": "literal_string \"Initializable: contract is initializing\"" } ], - "id": 1329, + "id": 1254, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1505,13 +1505,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "5998:7:6", + "src": "5998:7:5", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1333, + "id": 1258, "isConstant": false, "isLValue": false, "isPure": false, @@ -1520,16 +1520,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5998:66:6", + "src": "5998:66:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1334, + "id": 1259, "nodeType": "ExpressionStatement", - "src": "5998:66:6" + "src": "5998:66:5" }, { "condition": { @@ -1537,18 +1537,18 @@ "typeIdentifier": "t_uint8", "typeString": "uint8" }, - "id": 1341, + "id": 1266, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1335, + "id": 1260, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "6078:12:6", + "referencedDeclaration": 1143, + "src": "6078:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -1560,22 +1560,22 @@ "expression": { "arguments": [ { - "id": 1338, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6099:5:6", + "src": "6099:5:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 1337, + "id": 1262, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "6099:5:6", + "src": "6099:5:5", "typeDescriptions": {} } } @@ -1587,18 +1587,18 @@ "typeString": "type(uint8)" } ], - "id": 1336, + "id": 1261, "name": "type", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967269, - "src": "6094:4:6", + "src": "6094:4:5", "typeDescriptions": { "typeIdentifier": "t_function_metatype_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 1339, + "id": 1264, "isConstant": false, "isLValue": false, "isPure": true, @@ -1607,55 +1607,55 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6094:11:6", + "src": "6094:11:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_magic_meta_type_t_uint8", "typeString": "type(uint8)" } }, - "id": 1340, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "6106:3:6", + "memberLocation": "6106:3:5", "memberName": "max", "nodeType": "MemberAccess", - "src": "6094:15:6", + "src": "6094:15:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "6078:31:6", + "src": "6078:31:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1359, + "id": 1284, "nodeType": "IfStatement", - "src": "6074:139:6", + "src": "6074:139:5", "trueBody": { - "id": 1358, + "id": 1283, "nodeType": "Block", - "src": "6111:102:6", + "src": "6111:102:5", "statements": [ { "expression": { - "id": 1348, + "id": 1273, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1342, + "id": 1267, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "6125:12:6", + "referencedDeclaration": 1143, + "src": "6125:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -1667,22 +1667,22 @@ "expression": { "arguments": [ { - "id": 1345, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6145:5:6", + "src": "6145:5:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 1344, + "id": 1269, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "6145:5:6", + "src": "6145:5:5", "typeDescriptions": {} } } @@ -1694,18 +1694,18 @@ "typeString": "type(uint8)" } ], - "id": 1343, + "id": 1268, "name": "type", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967269, - "src": "6140:4:6", + "src": "6140:4:5", "typeDescriptions": { "typeIdentifier": "t_function_metatype_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 1346, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": true, @@ -1714,36 +1714,36 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6140:11:6", + "src": "6140:11:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_magic_meta_type_t_uint8", "typeString": "type(uint8)" } }, - "id": 1347, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "6152:3:6", + "memberLocation": "6152:3:5", "memberName": "max", "nodeType": "MemberAccess", - "src": "6140:15:6", + "src": "6140:15:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "6125:30:6", + "src": "6125:30:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "id": 1349, + "id": 1274, "nodeType": "ExpressionStatement", - "src": "6125:30:6" + "src": "6125:30:5" }, { "eventCall": { @@ -1752,22 +1752,22 @@ "expression": { "arguments": [ { - "id": 1353, + "id": 1278, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6191:5:6", + "src": "6191:5:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 1352, + "id": 1277, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "6191:5:6", + "src": "6191:5:5", "typeDescriptions": {} } } @@ -1779,18 +1779,18 @@ "typeString": "type(uint8)" } ], - "id": 1351, + "id": 1276, "name": "type", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967269, - "src": "6186:4:6", + "src": "6186:4:5", "typeDescriptions": { "typeIdentifier": "t_function_metatype_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 1354, + "id": 1279, "isConstant": false, "isLValue": false, "isPure": true, @@ -1799,22 +1799,22 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6186:11:6", + "src": "6186:11:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_magic_meta_type_t_uint8", "typeString": "type(uint8)" } }, - "id": 1355, + "id": 1280, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "6198:3:6", + "memberLocation": "6198:3:5", "memberName": "max", "nodeType": "MemberAccess", - "src": "6186:15:6", + "src": "6186:15:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -1828,18 +1828,18 @@ "typeString": "uint8" } ], - "id": 1350, + "id": 1275, "name": "Initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1226, - "src": "6174:11:6", + "referencedDeclaration": 1151, + "src": "6174:11:5", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint8_$returns$__$", "typeString": "function (uint8)" } }, - "id": 1356, + "id": 1281, "isConstant": false, "isLValue": false, "isPure": false, @@ -1848,16 +1848,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6174:28:6", + "src": "6174:28:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1357, + "id": 1282, "nodeType": "EmitStatement", - "src": "6169:33:6" + "src": "6169:33:5" } ] } @@ -1865,94 +1865,94 @@ ] }, "documentation": { - "id": 1326, + "id": 1251, "nodeType": "StructuredDocumentation", - "src": "5459:475:6", + "src": "5459:475:5", "text": " @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n through proxies.\n Emits an {Initialized} event the first time it is successfully executed." }, - "id": 1361, + "id": 1286, "implemented": true, "kind": "function", "modifiers": [], "name": "_disableInitializers", - "nameLocation": "5948:20:6", + "nameLocation": "5948:20:5", "nodeType": "FunctionDefinition", "parameters": { - "id": 1327, + "id": 1252, "nodeType": "ParameterList", "parameters": [], - "src": "5968:2:6" + "src": "5968:2:5" }, "returnParameters": { - "id": 1328, + "id": 1253, "nodeType": "ParameterList", "parameters": [], - "src": "5988:0:6" + "src": "5988:0:5" }, - "scope": 1380, - "src": "5939:280:6", + "scope": 1305, + "src": "5939:280:5", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1369, + "id": 1294, "nodeType": "Block", - "src": "6393:36:6", + "src": "6393:36:5", "statements": [ { "expression": { - "id": 1367, + "id": 1292, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "6410:12:6", + "referencedDeclaration": 1143, + "src": "6410:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "functionReturnParameters": 1366, - "id": 1368, + "functionReturnParameters": 1291, + "id": 1293, "nodeType": "Return", - "src": "6403:19:6" + "src": "6403:19:5" } ] }, "documentation": { - "id": 1362, + "id": 1287, "nodeType": "StructuredDocumentation", - "src": "6225:99:6", + "src": "6225:99:5", "text": " @dev Returns the highest version that has been initialized. See {reinitializer}." }, - "id": 1370, + "id": 1295, "implemented": true, "kind": "function", "modifiers": [], "name": "_getInitializedVersion", - "nameLocation": "6338:22:6", + "nameLocation": "6338:22:5", "nodeType": "FunctionDefinition", "parameters": { - "id": 1363, + "id": 1288, "nodeType": "ParameterList", "parameters": [], - "src": "6360:2:6" + "src": "6360:2:5" }, "returnParameters": { - "id": 1366, + "id": 1291, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1365, + "id": 1290, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1370, - "src": "6386:5:6", + "scope": 1295, + "src": "6386:5:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1960,10 +1960,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1364, + "id": 1289, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "6386:5:6", + "src": "6386:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -1972,72 +1972,72 @@ "visibility": "internal" } ], - "src": "6385:7:6" + "src": "6385:7:5" }, - "scope": 1380, - "src": "6329:100:6", + "scope": 1305, + "src": "6329:100:5", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1378, + "id": 1303, "nodeType": "Block", - "src": "6601:37:6", + "src": "6601:37:5", "statements": [ { "expression": { - "id": 1376, + "id": 1301, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "6618:13:6", + "referencedDeclaration": 1146, + "src": "6618:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1375, - "id": 1377, + "functionReturnParameters": 1300, + "id": 1302, "nodeType": "Return", - "src": "6611:20:6" + "src": "6611:20:5" } ] }, "documentation": { - "id": 1371, + "id": 1296, "nodeType": "StructuredDocumentation", - "src": "6435:105:6", + "src": "6435:105:5", "text": " @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}." }, - "id": 1379, + "id": 1304, "implemented": true, "kind": "function", "modifiers": [], "name": "_isInitializing", - "nameLocation": "6554:15:6", + "nameLocation": "6554:15:5", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 1297, "nodeType": "ParameterList", "parameters": [], - "src": "6569:2:6" + "src": "6569:2:5" }, "returnParameters": { - "id": 1375, + "id": 1300, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 1299, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1379, - "src": "6595:4:6", + "scope": 1304, + "src": "6595:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2045,10 +2045,10 @@ "typeString": "bool" }, "typeName": { - "id": 1373, + "id": 1298, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "6595:4:6", + "src": "6595:4:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2057,38 +2057,38 @@ "visibility": "internal" } ], - "src": "6594:6:6" + "src": "6594:6:5" }, - "scope": 1380, - "src": "6545:93:6", + "scope": 1305, + "src": "6545:93:5", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 1381, - "src": "2394:4246:6", + "scope": 1306, + "src": "2394:4246:5", "usedErrors": [] } ], - "src": "113:6528:6" + "src": "113:6528:5" }, "legacyAST": { "absolutePath": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "exportedSymbols": { "AddressUpgradeable": [ - 1838 + 1763 ], "Initializable": [ - 1380 + 1305 ] }, - "id": 1381, + "id": 1306, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 1213, + "id": 1138, "literals": [ "solidity", "^", @@ -2096,17 +2096,17 @@ ".2" ], "nodeType": "PragmaDirective", - "src": "113:23:6" + "src": "113:23:5" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol", "file": "../../utils/AddressUpgradeable.sol", - "id": 1214, + "id": 1139, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1381, - "sourceUnit": 1839, - "src": "138:44:6", + "scope": 1306, + "sourceUnit": 1764, + "src": "138:44:5", "symbolAliases": [], "unitAlias": "" }, @@ -2117,35 +2117,35 @@ "contractDependencies": [], "contractKind": "contract", "documentation": { - "id": 1215, + "id": 1140, "nodeType": "StructuredDocumentation", - "src": "184:2209:6", + "src": "184:2209:5", "text": " @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n case an upgrade adds a module that needs to be initialized.\n For example:\n [.hljs-theme-light.nopadding]\n ```solidity\n contract MyToken is ERC20Upgradeable {\n function initialize() initializer public {\n __ERC20_init(\"MyToken\", \"MTK\");\n }\n }\n contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n function initializeV2() reinitializer(2) public {\n __ERC20Permit_init(\"MyToken\");\n }\n }\n ```\n TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n [CAUTION]\n ====\n Avoid leaving a contract uninitialized.\n An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n [.hljs-theme-light.nopadding]\n ```\n /// @custom:oz-upgrades-unsafe-allow constructor\n constructor() {\n _disableInitializers();\n }\n ```\n ====" }, "fullyImplemented": true, - "id": 1380, + "id": 1305, "linearizedBaseContracts": [ - 1380 + 1305 ], "name": "Initializable", - "nameLocation": "2412:13:6", + "nameLocation": "2412:13:5", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, "documentation": { - "id": 1216, + "id": 1141, "nodeType": "StructuredDocumentation", - "src": "2432:109:6", + "src": "2432:109:5", "text": " @dev Indicates that the contract has been initialized.\n @custom:oz-retyped-from bool" }, - "id": 1218, + "id": 1143, "mutability": "mutable", "name": "_initialized", - "nameLocation": "2560:12:6", + "nameLocation": "2560:12:5", "nodeType": "VariableDeclaration", - "scope": 1380, - "src": "2546:26:6", + "scope": 1305, + "src": "2546:26:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2153,10 +2153,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1217, + "id": 1142, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "2546:5:6", + "src": "2546:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -2167,18 +2167,18 @@ { "constant": false, "documentation": { - "id": 1219, + "id": 1144, "nodeType": "StructuredDocumentation", - "src": "2579:91:6", + "src": "2579:91:5", "text": " @dev Indicates that the contract is in the process of being initialized." }, - "id": 1221, + "id": 1146, "mutability": "mutable", "name": "_initializing", - "nameLocation": "2688:13:6", + "nameLocation": "2688:13:5", "nodeType": "VariableDeclaration", - "scope": 1380, - "src": "2675:26:6", + "scope": 1305, + "src": "2675:26:5", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2186,10 +2186,10 @@ "typeString": "bool" }, "typeName": { - "id": 1220, + "id": 1145, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2675:4:6", + "src": "2675:4:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2200,30 +2200,30 @@ { "anonymous": false, "documentation": { - "id": 1222, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "2708:90:6", + "src": "2708:90:5", "text": " @dev Triggered when the contract has been initialized or reinitialized." }, "eventSelector": "7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498", - "id": 1226, + "id": 1151, "name": "Initialized", - "nameLocation": "2809:11:6", + "nameLocation": "2809:11:5", "nodeType": "EventDefinition", "parameters": { - "id": 1225, + "id": 1150, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1224, + "id": 1149, "indexed": false, "mutability": "mutable", "name": "version", - "nameLocation": "2827:7:6", + "nameLocation": "2827:7:5", "nodeType": "VariableDeclaration", - "scope": 1226, - "src": "2821:13:6", + "scope": 1151, + "src": "2821:13:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2231,10 +2231,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1223, + "id": 1148, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "2821:5:6", + "src": "2821:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -2243,30 +2243,30 @@ "visibility": "internal" } ], - "src": "2820:15:6" + "src": "2820:15:5" }, - "src": "2803:33:6" + "src": "2803:33:5" }, { "body": { - "id": 1281, + "id": 1206, "nodeType": "Block", - "src": "3269:483:6", + "src": "3269:483:5", "statements": [ { "assignments": [ - 1230 + 1155 ], "declarations": [ { "constant": false, - "id": 1230, + "id": 1155, "mutability": "mutable", "name": "isTopLevelCall", - "nameLocation": "3284:14:6", + "nameLocation": "3284:14:5", "nodeType": "VariableDeclaration", - "scope": 1281, - "src": "3279:19:6", + "scope": 1206, + "src": "3279:19:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2274,10 +2274,10 @@ "typeString": "bool" }, "typeName": { - "id": 1229, + "id": 1154, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "3279:4:6", + "src": "3279:4:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2286,9 +2286,9 @@ "visibility": "internal" } ], - "id": 1233, + "id": 1158, "initialValue": { - "id": 1232, + "id": 1157, "isConstant": false, "isLValue": false, "isPure": false, @@ -2296,14 +2296,14 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3301:14:6", + "src": "3301:14:5", "subExpression": { - "id": 1231, + "id": 1156, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "3302:13:6", + "referencedDeclaration": 1146, + "src": "3302:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2315,7 +2315,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "3279:36:6" + "src": "3279:36:5" }, { "expression": { @@ -2325,7 +2325,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1254, + "id": 1179, "isConstant": false, "isLValue": false, "isPure": false, @@ -2337,18 +2337,18 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1239, + "id": 1164, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1235, + "id": 1160, "name": "isTopLevelCall", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "3347:14:6", + "referencedDeclaration": 1155, + "src": "3347:14:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2361,18 +2361,18 @@ "typeIdentifier": "t_uint8", "typeString": "uint8" }, - "id": 1238, + "id": 1163, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1236, + "id": 1161, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "3365:12:6", + "referencedDeclaration": 1143, + "src": "3365:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -2382,41 +2382,41 @@ "operator": "<", "rightExpression": { "hexValue": "31", - "id": 1237, + "id": 1162, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3380:1:6", + "src": "3380:1:5", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "3365:16:6", + "src": "3365:16:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3347:34:6", + "src": "3347:34:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 1240, + "id": 1165, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "3346:36:6", + "src": "3346:36:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2431,13 +2431,13 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1252, + "id": 1177, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1248, + "id": 1173, "isConstant": false, "isLValue": false, "isPure": false, @@ -2445,20 +2445,20 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "3387:45:6", + "src": "3387:45:5", "subExpression": { "arguments": [ { "arguments": [ { - "id": 1245, + "id": 1170, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "3426:4:6", + "src": "3426:4:5", "typeDescriptions": { - "typeIdentifier": "t_contract$_Initializable_$1380", + "typeIdentifier": "t_contract$_Initializable_$1305", "typeString": "contract Initializable" } } @@ -2466,30 +2466,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Initializable_$1380", + "typeIdentifier": "t_contract$_Initializable_$1305", "typeString": "contract Initializable" } ], - "id": 1244, + "id": 1169, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "3418:7:6", + "src": "3418:7:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1243, + "id": 1168, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3418:7:6", + "src": "3418:7:5", "typeDescriptions": {} } }, - "id": 1246, + "id": 1171, "isConstant": false, "isLValue": false, "isPure": false, @@ -2498,7 +2498,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3418:13:6", + "src": "3418:13:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -2514,33 +2514,33 @@ } ], "expression": { - "id": 1241, + "id": 1166, "name": "AddressUpgradeable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1838, - "src": "3388:18:6", + "referencedDeclaration": 1763, + "src": "3388:18:5", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_AddressUpgradeable_$1838_$", + "typeIdentifier": "t_type$_t_contract$_AddressUpgradeable_$1763_$", "typeString": "type(library AddressUpgradeable)" } }, - "id": 1242, + "id": 1167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "3407:10:6", + "memberLocation": "3407:10:5", "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1526, - "src": "3388:29:6", + "referencedDeclaration": 1451, + "src": "3388:29:5", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1247, + "id": 1172, "isConstant": false, "isLValue": false, "isPure": false, @@ -2549,7 +2549,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3388:44:6", + "src": "3388:44:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2568,18 +2568,18 @@ "typeIdentifier": "t_uint8", "typeString": "uint8" }, - "id": 1251, + "id": 1176, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1249, + "id": 1174, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "3436:12:6", + "referencedDeclaration": 1143, + "src": "3436:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -2589,47 +2589,47 @@ "operator": "==", "rightExpression": { "hexValue": "31", - "id": 1250, + "id": 1175, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3452:1:6", + "src": "3452:1:5", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "3436:17:6", + "src": "3436:17:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3387:66:6", + "src": "3387:66:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 1253, + "id": 1178, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "3386:68:6", + "src": "3386:68:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "3346:108:6", + "src": "3346:108:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2637,14 +2637,14 @@ }, { "hexValue": "496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564", - "id": 1255, + "id": 1180, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "3468:48:6", + "src": "3468:48:5", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759", "typeString": "literal_string \"Initializable: contract is already initialized\"" @@ -2663,7 +2663,7 @@ "typeString": "literal_string \"Initializable: contract is already initialized\"" } ], - "id": 1234, + "id": 1159, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2671,13 +2671,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "3325:7:6", + "src": "3325:7:5", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1256, + "id": 1181, "isConstant": false, "isLValue": false, "isPure": false, @@ -2686,31 +2686,31 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3325:201:6", + "src": "3325:201:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1257, + "id": 1182, "nodeType": "ExpressionStatement", - "src": "3325:201:6" + "src": "3325:201:5" }, { "expression": { - "id": 1260, + "id": 1185, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1258, + "id": 1183, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "3536:12:6", + "referencedDeclaration": 1143, + "src": "3536:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -2720,65 +2720,65 @@ "operator": "=", "rightHandSide": { "hexValue": "31", - "id": 1259, + "id": 1184, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3551:1:6", + "src": "3551:1:5", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "3536:16:6", + "src": "3536:16:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "id": 1261, + "id": 1186, "nodeType": "ExpressionStatement", - "src": "3536:16:6" + "src": "3536:16:5" }, { "condition": { - "id": 1262, + "id": 1187, "name": "isTopLevelCall", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "3566:14:6", + "referencedDeclaration": 1155, + "src": "3566:14:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1268, + "id": 1193, "nodeType": "IfStatement", - "src": "3562:65:6", + "src": "3562:65:5", "trueBody": { - "id": 1267, + "id": 1192, "nodeType": "Block", - "src": "3582:45:6", + "src": "3582:45:5", "statements": [ { "expression": { - "id": 1265, + "id": 1190, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1263, + "id": 1188, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "3596:13:6", + "referencedDeclaration": 1146, + "src": "3596:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2788,73 +2788,73 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 1264, + "id": 1189, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3612:4:6", + "src": "3612:4:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "3596:20:6", + "src": "3596:20:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1266, + "id": 1191, "nodeType": "ExpressionStatement", - "src": "3596:20:6" + "src": "3596:20:5" } ] } }, { - "id": 1269, + "id": 1194, "nodeType": "PlaceholderStatement", - "src": "3636:1:6" + "src": "3636:1:5" }, { "condition": { - "id": 1270, + "id": 1195, "name": "isTopLevelCall", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "3651:14:6", + "referencedDeclaration": 1155, + "src": "3651:14:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1280, + "id": 1205, "nodeType": "IfStatement", - "src": "3647:99:6", + "src": "3647:99:5", "trueBody": { - "id": 1279, + "id": 1204, "nodeType": "Block", - "src": "3667:79:6", + "src": "3667:79:5", "statements": [ { "expression": { - "id": 1273, + "id": 1198, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1271, + "id": 1196, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "3681:13:6", + "referencedDeclaration": 1146, + "src": "3681:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2864,43 +2864,43 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 1272, + "id": 1197, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3697:5:6", + "src": "3697:5:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "src": "3681:21:6", + "src": "3681:21:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1274, + "id": 1199, "nodeType": "ExpressionStatement", - "src": "3681:21:6" + "src": "3681:21:5" }, { "eventCall": { "arguments": [ { "hexValue": "31", - "id": 1276, + "id": 1201, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3733:1:6", + "src": "3733:1:5", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" @@ -2915,18 +2915,18 @@ "typeString": "int_const 1" } ], - "id": 1275, + "id": 1200, "name": "Initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1226, - "src": "3721:11:6", + "referencedDeclaration": 1151, + "src": "3721:11:5", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint8_$returns$__$", "typeString": "function (uint8)" } }, - "id": 1277, + "id": 1202, "isConstant": false, "isLValue": false, "isPure": false, @@ -2935,16 +2935,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "3721:14:6", + "src": "3721:14:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1278, + "id": 1203, "nodeType": "EmitStatement", - "src": "3716:19:6" + "src": "3716:19:5" } ] } @@ -2952,30 +2952,30 @@ ] }, "documentation": { - "id": 1227, + "id": 1152, "nodeType": "StructuredDocumentation", - "src": "2842:399:6", + "src": "2842:399:5", "text": " @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n `onlyInitializing` functions can be used to initialize parent contracts.\n Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a\n constructor.\n Emits an {Initialized} event." }, - "id": 1282, + "id": 1207, "name": "initializer", - "nameLocation": "3255:11:6", + "nameLocation": "3255:11:5", "nodeType": "ModifierDefinition", "parameters": { - "id": 1228, + "id": 1153, "nodeType": "ParameterList", "parameters": [], - "src": "3266:2:6" + "src": "3266:2:5" }, - "src": "3246:506:6", + "src": "3246:506:5", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1314, + "id": 1239, "nodeType": "Block", - "src": "4863:255:6", + "src": "4863:255:5", "statements": [ { "expression": { @@ -2985,13 +2985,13 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 1293, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1289, + "id": 1214, "isConstant": false, "isLValue": false, "isPure": false, @@ -2999,14 +2999,14 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "4881:14:6", + "src": "4881:14:5", "subExpression": { - "id": 1288, + "id": 1213, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "4882:13:6", + "referencedDeclaration": 1146, + "src": "4882:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3024,18 +3024,18 @@ "typeIdentifier": "t_uint8", "typeString": "uint8" }, - "id": 1292, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1290, + "id": 1215, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "4899:12:6", + "referencedDeclaration": 1143, + "src": "4899:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -3044,24 +3044,24 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 1291, + "id": 1216, "name": "version", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1285, - "src": "4914:7:6", + "referencedDeclaration": 1210, + "src": "4914:7:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "4899:22:6", + "src": "4899:22:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "4881:40:6", + "src": "4881:40:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3069,14 +3069,14 @@ }, { "hexValue": "496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564", - "id": 1294, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "4923:48:6", + "src": "4923:48:5", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7a2a4e26842155ea933fe6eb6e3137eb5a296dcdf55721c552be7b4c3cc23759", "typeString": "literal_string \"Initializable: contract is already initialized\"" @@ -3095,7 +3095,7 @@ "typeString": "literal_string \"Initializable: contract is already initialized\"" } ], - "id": 1287, + "id": 1212, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -3103,13 +3103,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "4873:7:6", + "src": "4873:7:5", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1295, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -3118,31 +3118,31 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "4873:99:6", + "src": "4873:99:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1296, + "id": 1221, "nodeType": "ExpressionStatement", - "src": "4873:99:6" + "src": "4873:99:5" }, { "expression": { - "id": 1299, + "id": 1224, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1297, + "id": 1222, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "4982:12:6", + "referencedDeclaration": 1143, + "src": "4982:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -3151,41 +3151,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1298, + "id": 1223, "name": "version", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1285, - "src": "4997:7:6", + "referencedDeclaration": 1210, + "src": "4997:7:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "4982:22:6", + "src": "4982:22:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "id": 1300, + "id": 1225, "nodeType": "ExpressionStatement", - "src": "4982:22:6" + "src": "4982:22:5" }, { "expression": { - "id": 1303, + "id": 1228, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1301, + "id": 1226, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "5014:13:6", + "referencedDeclaration": 1146, + "src": "5014:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3195,49 +3195,49 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 1302, + "id": 1227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "5030:4:6", + "src": "5030:4:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "5014:20:6", + "src": "5014:20:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1304, + "id": 1229, "nodeType": "ExpressionStatement", - "src": "5014:20:6" + "src": "5014:20:5" }, { - "id": 1305, + "id": 1230, "nodeType": "PlaceholderStatement", - "src": "5044:1:6" + "src": "5044:1:5" }, { "expression": { - "id": 1308, + "id": 1233, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1306, + "id": 1231, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "5055:13:6", + "referencedDeclaration": 1146, + "src": "5055:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3247,40 +3247,40 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 1307, + "id": 1232, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "5071:5:6", + "src": "5071:5:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "src": "5055:21:6", + "src": "5055:21:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1309, + "id": 1234, "nodeType": "ExpressionStatement", - "src": "5055:21:6" + "src": "5055:21:5" }, { "eventCall": { "arguments": [ { - "id": 1311, + "id": 1236, "name": "version", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1285, - "src": "5103:7:6", + "referencedDeclaration": 1210, + "src": "5103:7:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -3294,18 +3294,18 @@ "typeString": "uint8" } ], - "id": 1310, + "id": 1235, "name": "Initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1226, - "src": "5091:11:6", + "referencedDeclaration": 1151, + "src": "5091:11:5", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint8_$returns$__$", "typeString": "function (uint8)" } }, - "id": 1312, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": false, @@ -3314,42 +3314,42 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5091:20:6", + "src": "5091:20:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1313, + "id": 1238, "nodeType": "EmitStatement", - "src": "5086:25:6" + "src": "5086:25:5" } ] }, "documentation": { - "id": 1283, + "id": 1208, "nodeType": "StructuredDocumentation", - "src": "3758:1062:6", + "src": "3758:1062:5", "text": " @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n used to initialize parent contracts.\n A reinitializer may be used after the original initialization step. This is essential to configure modules that\n are added through upgrades and that require initialization.\n When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n cannot be nested. If one is invoked in the context of another, execution will revert.\n Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n a contract, executing them in the right order is up to the developer or operator.\n WARNING: setting the version to 255 will prevent any future reinitialization.\n Emits an {Initialized} event." }, - "id": 1315, + "id": 1240, "name": "reinitializer", - "nameLocation": "4834:13:6", + "nameLocation": "4834:13:5", "nodeType": "ModifierDefinition", "parameters": { - "id": 1286, + "id": 1211, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1285, + "id": 1210, "mutability": "mutable", "name": "version", - "nameLocation": "4854:7:6", + "nameLocation": "4854:7:5", "nodeType": "VariableDeclaration", - "scope": 1315, - "src": "4848:13:6", + "scope": 1240, + "src": "4848:13:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3357,10 +3357,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1284, + "id": 1209, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "4848:5:6", + "src": "4848:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -3369,28 +3369,28 @@ "visibility": "internal" } ], - "src": "4847:15:6" + "src": "4847:15:5" }, - "src": "4825:293:6", + "src": "4825:293:5", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1324, + "id": 1249, "nodeType": "Block", - "src": "5356:97:6", + "src": "5356:97:5", "statements": [ { "expression": { "arguments": [ { - "id": 1319, + "id": 1244, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "5374:13:6", + "referencedDeclaration": 1146, + "src": "5374:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3398,14 +3398,14 @@ }, { "hexValue": "496e697469616c697a61626c653a20636f6e7472616374206973206e6f7420696e697469616c697a696e67", - "id": 1320, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "5389:45:6", + "src": "5389:45:5", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d688db918bb9dd50354922faa108595679886fe9ff08046ad1ffe30aaea55f8b", "typeString": "literal_string \"Initializable: contract is not initializing\"" @@ -3424,7 +3424,7 @@ "typeString": "literal_string \"Initializable: contract is not initializing\"" } ], - "id": 1318, + "id": 1243, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -3432,13 +3432,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "5366:7:6", + "src": "5366:7:5", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1321, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -3447,55 +3447,55 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5366:69:6", + "src": "5366:69:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1322, + "id": 1247, "nodeType": "ExpressionStatement", - "src": "5366:69:6" + "src": "5366:69:5" }, { - "id": 1323, + "id": 1248, "nodeType": "PlaceholderStatement", - "src": "5445:1:6" + "src": "5445:1:5" } ] }, "documentation": { - "id": 1316, + "id": 1241, "nodeType": "StructuredDocumentation", - "src": "5124:199:6", + "src": "5124:199:5", "text": " @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n {initializer} and {reinitializer} modifiers, directly or indirectly." }, - "id": 1325, + "id": 1250, "name": "onlyInitializing", - "nameLocation": "5337:16:6", + "nameLocation": "5337:16:5", "nodeType": "ModifierDefinition", "parameters": { - "id": 1317, + "id": 1242, "nodeType": "ParameterList", "parameters": [], - "src": "5353:2:6" + "src": "5353:2:5" }, - "src": "5328:125:6", + "src": "5328:125:5", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1360, + "id": 1285, "nodeType": "Block", - "src": "5988:231:6", + "src": "5988:231:5", "statements": [ { "expression": { "arguments": [ { - "id": 1331, + "id": 1256, "isConstant": false, "isLValue": false, "isPure": false, @@ -3503,14 +3503,14 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "6006:14:6", + "src": "6006:14:5", "subExpression": { - "id": 1330, + "id": 1255, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "6007:13:6", + "referencedDeclaration": 1146, + "src": "6007:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3523,14 +3523,14 @@ }, { "hexValue": "496e697469616c697a61626c653a20636f6e747261637420697320696e697469616c697a696e67", - "id": 1332, + "id": 1257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "6022:41:6", + "src": "6022:41:5", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a53f5879e7518078ff19b2e3d6b41e757a87364ec6872787feb45bfc41131d1a", "typeString": "literal_string \"Initializable: contract is initializing\"" @@ -3549,7 +3549,7 @@ "typeString": "literal_string \"Initializable: contract is initializing\"" } ], - "id": 1329, + "id": 1254, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -3557,13 +3557,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "5998:7:6", + "src": "5998:7:5", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1333, + "id": 1258, "isConstant": false, "isLValue": false, "isPure": false, @@ -3572,16 +3572,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "5998:66:6", + "src": "5998:66:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1334, + "id": 1259, "nodeType": "ExpressionStatement", - "src": "5998:66:6" + "src": "5998:66:5" }, { "condition": { @@ -3589,18 +3589,18 @@ "typeIdentifier": "t_uint8", "typeString": "uint8" }, - "id": 1341, + "id": 1266, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1335, + "id": 1260, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "6078:12:6", + "referencedDeclaration": 1143, + "src": "6078:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -3612,22 +3612,22 @@ "expression": { "arguments": [ { - "id": 1338, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6099:5:6", + "src": "6099:5:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 1337, + "id": 1262, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "6099:5:6", + "src": "6099:5:5", "typeDescriptions": {} } } @@ -3639,18 +3639,18 @@ "typeString": "type(uint8)" } ], - "id": 1336, + "id": 1261, "name": "type", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967269, - "src": "6094:4:6", + "src": "6094:4:5", "typeDescriptions": { "typeIdentifier": "t_function_metatype_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 1339, + "id": 1264, "isConstant": false, "isLValue": false, "isPure": true, @@ -3659,55 +3659,55 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6094:11:6", + "src": "6094:11:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_magic_meta_type_t_uint8", "typeString": "type(uint8)" } }, - "id": 1340, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "6106:3:6", + "memberLocation": "6106:3:5", "memberName": "max", "nodeType": "MemberAccess", - "src": "6094:15:6", + "src": "6094:15:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "6078:31:6", + "src": "6078:31:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1359, + "id": 1284, "nodeType": "IfStatement", - "src": "6074:139:6", + "src": "6074:139:5", "trueBody": { - "id": 1358, + "id": 1283, "nodeType": "Block", - "src": "6111:102:6", + "src": "6111:102:5", "statements": [ { "expression": { - "id": 1348, + "id": 1273, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1342, + "id": 1267, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "6125:12:6", + "referencedDeclaration": 1143, + "src": "6125:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -3719,22 +3719,22 @@ "expression": { "arguments": [ { - "id": 1345, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6145:5:6", + "src": "6145:5:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 1344, + "id": 1269, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "6145:5:6", + "src": "6145:5:5", "typeDescriptions": {} } } @@ -3746,18 +3746,18 @@ "typeString": "type(uint8)" } ], - "id": 1343, + "id": 1268, "name": "type", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967269, - "src": "6140:4:6", + "src": "6140:4:5", "typeDescriptions": { "typeIdentifier": "t_function_metatype_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 1346, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": true, @@ -3766,36 +3766,36 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6140:11:6", + "src": "6140:11:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_magic_meta_type_t_uint8", "typeString": "type(uint8)" } }, - "id": 1347, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "6152:3:6", + "memberLocation": "6152:3:5", "memberName": "max", "nodeType": "MemberAccess", - "src": "6140:15:6", + "src": "6140:15:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "src": "6125:30:6", + "src": "6125:30:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "id": 1349, + "id": 1274, "nodeType": "ExpressionStatement", - "src": "6125:30:6" + "src": "6125:30:5" }, { "eventCall": { @@ -3804,22 +3804,22 @@ "expression": { "arguments": [ { - "id": 1353, + "id": 1278, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "6191:5:6", + "src": "6191:5:5", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 1352, + "id": 1277, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "6191:5:6", + "src": "6191:5:5", "typeDescriptions": {} } } @@ -3831,18 +3831,18 @@ "typeString": "type(uint8)" } ], - "id": 1351, + "id": 1276, "name": "type", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967269, - "src": "6186:4:6", + "src": "6186:4:5", "typeDescriptions": { "typeIdentifier": "t_function_metatype_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 1354, + "id": 1279, "isConstant": false, "isLValue": false, "isPure": true, @@ -3851,22 +3851,22 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6186:11:6", + "src": "6186:11:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_magic_meta_type_t_uint8", "typeString": "type(uint8)" } }, - "id": 1355, + "id": 1280, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, - "memberLocation": "6198:3:6", + "memberLocation": "6198:3:5", "memberName": "max", "nodeType": "MemberAccess", - "src": "6186:15:6", + "src": "6186:15:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -3880,18 +3880,18 @@ "typeString": "uint8" } ], - "id": 1350, + "id": 1275, "name": "Initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1226, - "src": "6174:11:6", + "referencedDeclaration": 1151, + "src": "6174:11:5", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_uint8_$returns$__$", "typeString": "function (uint8)" } }, - "id": 1356, + "id": 1281, "isConstant": false, "isLValue": false, "isPure": false, @@ -3900,16 +3900,16 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "6174:28:6", + "src": "6174:28:5", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1357, + "id": 1282, "nodeType": "EmitStatement", - "src": "6169:33:6" + "src": "6169:33:5" } ] } @@ -3917,94 +3917,94 @@ ] }, "documentation": { - "id": 1326, + "id": 1251, "nodeType": "StructuredDocumentation", - "src": "5459:475:6", + "src": "5459:475:5", "text": " @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n through proxies.\n Emits an {Initialized} event the first time it is successfully executed." }, - "id": 1361, + "id": 1286, "implemented": true, "kind": "function", "modifiers": [], "name": "_disableInitializers", - "nameLocation": "5948:20:6", + "nameLocation": "5948:20:5", "nodeType": "FunctionDefinition", "parameters": { - "id": 1327, + "id": 1252, "nodeType": "ParameterList", "parameters": [], - "src": "5968:2:6" + "src": "5968:2:5" }, "returnParameters": { - "id": 1328, + "id": 1253, "nodeType": "ParameterList", "parameters": [], - "src": "5988:0:6" + "src": "5988:0:5" }, - "scope": 1380, - "src": "5939:280:6", + "scope": 1305, + "src": "5939:280:5", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1369, + "id": 1294, "nodeType": "Block", - "src": "6393:36:6", + "src": "6393:36:5", "statements": [ { "expression": { - "id": 1367, + "id": 1292, "name": "_initialized", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1218, - "src": "6410:12:6", + "referencedDeclaration": 1143, + "src": "6410:12:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" } }, - "functionReturnParameters": 1366, - "id": 1368, + "functionReturnParameters": 1291, + "id": 1293, "nodeType": "Return", - "src": "6403:19:6" + "src": "6403:19:5" } ] }, "documentation": { - "id": 1362, + "id": 1287, "nodeType": "StructuredDocumentation", - "src": "6225:99:6", + "src": "6225:99:5", "text": " @dev Returns the highest version that has been initialized. See {reinitializer}." }, - "id": 1370, + "id": 1295, "implemented": true, "kind": "function", "modifiers": [], "name": "_getInitializedVersion", - "nameLocation": "6338:22:6", + "nameLocation": "6338:22:5", "nodeType": "FunctionDefinition", "parameters": { - "id": 1363, + "id": 1288, "nodeType": "ParameterList", "parameters": [], - "src": "6360:2:6" + "src": "6360:2:5" }, "returnParameters": { - "id": 1366, + "id": 1291, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1365, + "id": 1290, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1370, - "src": "6386:5:6", + "scope": 1295, + "src": "6386:5:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4012,10 +4012,10 @@ "typeString": "uint8" }, "typeName": { - "id": 1364, + "id": 1289, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "6386:5:6", + "src": "6386:5:5", "typeDescriptions": { "typeIdentifier": "t_uint8", "typeString": "uint8" @@ -4024,72 +4024,72 @@ "visibility": "internal" } ], - "src": "6385:7:6" + "src": "6385:7:5" }, - "scope": 1380, - "src": "6329:100:6", + "scope": 1305, + "src": "6329:100:5", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1378, + "id": 1303, "nodeType": "Block", - "src": "6601:37:6", + "src": "6601:37:5", "statements": [ { "expression": { - "id": 1376, + "id": 1301, "name": "_initializing", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1221, - "src": "6618:13:6", + "referencedDeclaration": 1146, + "src": "6618:13:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1375, - "id": 1377, + "functionReturnParameters": 1300, + "id": 1302, "nodeType": "Return", - "src": "6611:20:6" + "src": "6611:20:5" } ] }, "documentation": { - "id": 1371, + "id": 1296, "nodeType": "StructuredDocumentation", - "src": "6435:105:6", + "src": "6435:105:5", "text": " @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}." }, - "id": 1379, + "id": 1304, "implemented": true, "kind": "function", "modifiers": [], "name": "_isInitializing", - "nameLocation": "6554:15:6", + "nameLocation": "6554:15:5", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 1297, "nodeType": "ParameterList", "parameters": [], - "src": "6569:2:6" + "src": "6569:2:5" }, "returnParameters": { - "id": 1375, + "id": 1300, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 1299, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1379, - "src": "6595:4:6", + "scope": 1304, + "src": "6595:4:5", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4097,10 +4097,10 @@ "typeString": "bool" }, "typeName": { - "id": 1373, + "id": 1298, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "6595:4:6", + "src": "6595:4:5", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4109,21 +4109,21 @@ "visibility": "internal" } ], - "src": "6594:6:6" + "src": "6594:6:5" }, - "scope": 1380, - "src": "6545:93:6", + "scope": 1305, + "src": "6545:93:5", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 1381, - "src": "2394:4246:6", + "scope": 1306, + "src": "2394:4246:5", "usedErrors": [] } ], - "src": "113:6528:6" + "src": "113:6528:5" }, "compiler": { "name": "solc", @@ -4131,5 +4131,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2024-06-27T12:24:25.256Z" + "updatedAt": "2024-07-04T18:51:17.142Z" } \ No newline at end of file diff --git a/build/contracts/Ownable2StepUpgradeable.json b/build/contracts/Ownable2StepUpgradeable.json index 54737b5..b858f6a 100644 --- a/build/contracts/Ownable2StepUpgradeable.json +++ b/build/contracts/Ownable2StepUpgradeable.json @@ -116,24 +116,24 @@ "absolutePath": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "Initializable": [ - 1380 + 1305 ], "Ownable2StepUpgradeable": [ - 1078 + 1003 ], "OwnableUpgradeable": [ - 1211 + 1136 ] }, - "id": 1079, + "id": 1004, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 973, + "id": 898, "literals": [ "solidity", "^", @@ -141,38 +141,38 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "107:23:4" + "src": "107:23:3" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol", "file": "./OwnableUpgradeable.sol", - "id": 974, + "id": 899, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1079, - "sourceUnit": 1212, - "src": "132:34:4", + "scope": 1004, + "sourceUnit": 1137, + "src": "132:34:3", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "file": "../proxy/utils/Initializable.sol", - "id": 976, + "id": 901, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1079, - "sourceUnit": 1381, - "src": "167:63:4", + "scope": 1004, + "sourceUnit": 1306, + "src": "167:63:3", "symbolAliases": [ { "foreign": { - "id": 975, + "id": 900, "name": "Initializable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1380, - "src": "175:13:4", + "referencedDeclaration": 1305, + "src": "175:13:3", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -185,65 +185,65 @@ "baseContracts": [ { "baseName": { - "id": 978, + "id": 903, "name": "Initializable", "nameLocations": [ - "719:13:4" + "719:13:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1380, - "src": "719:13:4" + "referencedDeclaration": 1305, + "src": "719:13:3" }, - "id": 979, + "id": 904, "nodeType": "InheritanceSpecifier", - "src": "719:13:4" + "src": "719:13:3" }, { "baseName": { - "id": 980, + "id": 905, "name": "OwnableUpgradeable", "nameLocations": [ - "734:18:4" + "734:18:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1211, - "src": "734:18:4" + "referencedDeclaration": 1136, + "src": "734:18:3" }, - "id": 981, + "id": 906, "nodeType": "InheritanceSpecifier", - "src": "734:18:4" + "src": "734:18:3" } ], "canonicalName": "Ownable2StepUpgradeable", "contractDependencies": [], "contractKind": "contract", "documentation": { - "id": 977, + "id": 902, "nodeType": "StructuredDocumentation", - "src": "232:441:4", + "src": "232:441:3", "text": " @dev Contract module which provides access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n By default, the owner account will be the one that deploys the contract. This\n can later be changed with {transferOwnership} and {acceptOwnership}.\n This module is used through inheritance. It will make available all functions\n from parent (Ownable)." }, "fullyImplemented": true, - "id": 1078, + "id": 1003, "linearizedBaseContracts": [ - 1078, - 1211, - 1889, - 1380 + 1003, + 1136, + 1814, + 1305 ], "name": "Ownable2StepUpgradeable", - "nameLocation": "692:23:4", + "nameLocation": "692:23:3", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 983, + "id": 908, "mutability": "mutable", "name": "_pendingOwner", - "nameLocation": "775:13:4", + "nameLocation": "775:13:3", "nodeType": "VariableDeclaration", - "scope": 1078, - "src": "759:29:4", + "scope": 1003, + "src": "759:29:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -251,10 +251,10 @@ "typeString": "address" }, "typeName": { - "id": 982, + "id": 907, "name": "address", "nodeType": "ElementaryTypeName", - "src": "759:7:4", + "src": "759:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -266,24 +266,24 @@ { "anonymous": false, "eventSelector": "38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700", - "id": 989, + "id": 914, "name": "OwnershipTransferStarted", - "nameLocation": "801:24:4", + "nameLocation": "801:24:3", "nodeType": "EventDefinition", "parameters": { - "id": 988, + "id": 913, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 985, + "id": 910, "indexed": true, "mutability": "mutable", "name": "previousOwner", - "nameLocation": "842:13:4", + "nameLocation": "842:13:3", "nodeType": "VariableDeclaration", - "scope": 989, - "src": "826:29:4", + "scope": 914, + "src": "826:29:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -291,10 +291,10 @@ "typeString": "address" }, "typeName": { - "id": 984, + "id": 909, "name": "address", "nodeType": "ElementaryTypeName", - "src": "826:7:4", + "src": "826:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -305,14 +305,14 @@ }, { "constant": false, - "id": 987, + "id": 912, "indexed": true, "mutability": "mutable", "name": "newOwner", - "nameLocation": "873:8:4", + "nameLocation": "873:8:3", "nodeType": "VariableDeclaration", - "scope": 989, - "src": "857:24:4", + "scope": 914, + "src": "857:24:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -320,10 +320,10 @@ "typeString": "address" }, "typeName": { - "id": 986, + "id": 911, "name": "address", "nodeType": "ElementaryTypeName", - "src": "857:7:4", + "src": "857:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -333,33 +333,33 @@ "visibility": "internal" } ], - "src": "825:57:4" + "src": "825:57:3" }, - "src": "795:88:4" + "src": "795:88:3" }, { "body": { - "id": 997, + "id": 922, "nodeType": "Block", - "src": "946:43:4", + "src": "946:43:3", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 994, + "id": 919, "name": "__Ownable_init_unchained", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "956:24:4", + "referencedDeclaration": 1042, + "src": "956:24:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 995, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, @@ -368,169 +368,169 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "956:26:4", + "src": "956:26:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 996, + "id": 921, "nodeType": "ExpressionStatement", - "src": "956:26:4" + "src": "956:26:3" } ] }, - "id": 998, + "id": 923, "implemented": true, "kind": "function", "modifiers": [ { - "id": 992, + "id": 917, "kind": "modifierInvocation", "modifierName": { - "id": 991, + "id": 916, "name": "onlyInitializing", "nameLocations": [ - "929:16:4" + "929:16:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "929:16:4" + "referencedDeclaration": 1250, + "src": "929:16:3" }, "nodeType": "ModifierInvocation", - "src": "929:16:4" + "src": "929:16:3" } ], "name": "__Ownable2Step_init", - "nameLocation": "898:19:4", + "nameLocation": "898:19:3", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 915, "nodeType": "ParameterList", "parameters": [], - "src": "917:2:4" + "src": "917:2:3" }, "returnParameters": { - "id": 993, + "id": 918, "nodeType": "ParameterList", "parameters": [], - "src": "946:0:4" + "src": "946:0:3" }, - "scope": 1078, - "src": "889:100:4", + "scope": 1003, + "src": "889:100:3", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1003, + "id": 928, "nodeType": "Block", - "src": "1062:7:4", + "src": "1062:7:3", "statements": [] }, - "id": 1004, + "id": 929, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1001, + "id": 926, "kind": "modifierInvocation", "modifierName": { - "id": 1000, + "id": 925, "name": "onlyInitializing", "nameLocations": [ - "1045:16:4" + "1045:16:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "1045:16:4" + "referencedDeclaration": 1250, + "src": "1045:16:3" }, "nodeType": "ModifierInvocation", - "src": "1045:16:4" + "src": "1045:16:3" } ], "name": "__Ownable2Step_init_unchained", - "nameLocation": "1004:29:4", + "nameLocation": "1004:29:3", "nodeType": "FunctionDefinition", "parameters": { - "id": 999, + "id": 924, "nodeType": "ParameterList", "parameters": [], - "src": "1033:2:4" + "src": "1033:2:3" }, "returnParameters": { - "id": 1002, + "id": 927, "nodeType": "ParameterList", "parameters": [], - "src": "1062:0:4" + "src": "1062:0:3" }, - "scope": 1078, - "src": "995:74:4", + "scope": 1003, + "src": "995:74:3", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1012, + "id": 937, "nodeType": "Block", - "src": "1206:37:4", + "src": "1206:37:3", "statements": [ { "expression": { - "id": 1010, + "id": 935, "name": "_pendingOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 983, - "src": "1223:13:4", + "referencedDeclaration": 908, + "src": "1223:13:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 1009, - "id": 1011, + "functionReturnParameters": 934, + "id": 936, "nodeType": "Return", - "src": "1216:20:4" + "src": "1216:20:3" } ] }, "documentation": { - "id": 1005, + "id": 930, "nodeType": "StructuredDocumentation", - "src": "1074:65:4", + "src": "1074:65:3", "text": " @dev Returns the address of the pending owner." }, "functionSelector": "e30c3978", - "id": 1013, + "id": 938, "implemented": true, "kind": "function", "modifiers": [], "name": "pendingOwner", - "nameLocation": "1153:12:4", + "nameLocation": "1153:12:3", "nodeType": "FunctionDefinition", "parameters": { - "id": 1006, + "id": 931, "nodeType": "ParameterList", "parameters": [], - "src": "1165:2:4" + "src": "1165:2:3" }, "returnParameters": { - "id": 1009, + "id": 934, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1008, + "id": 933, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1013, - "src": "1197:7:4", + "scope": 938, + "src": "1197:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -538,10 +538,10 @@ "typeString": "address" }, "typeName": { - "id": 1007, + "id": 932, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1197:7:4", + "src": "1197:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -551,37 +551,37 @@ "visibility": "internal" } ], - "src": "1196:9:4" + "src": "1196:9:3" }, - "scope": 1078, - "src": "1144:99:4", + "scope": 1003, + "src": "1144:99:3", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 1185 + 1110 ], "body": { - "id": 1032, + "id": 957, "nodeType": "Block", - "src": "1515:99:4", + "src": "1515:99:3", "statements": [ { "expression": { - "id": 1024, + "id": 949, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1022, + "id": 947, "name": "_pendingOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 983, - "src": "1525:13:4", + "referencedDeclaration": 908, + "src": "1525:13:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -590,26 +590,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1023, + "id": 948, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1016, - "src": "1541:8:4", + "referencedDeclaration": 941, + "src": "1541:8:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1525:24:4", + "src": "1525:24:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1025, + "id": 950, "nodeType": "ExpressionStatement", - "src": "1525:24:4" + "src": "1525:24:3" }, { "eventCall": { @@ -618,18 +618,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1027, + "id": 952, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1134, - "src": "1589:5:4", + "referencedDeclaration": 1059, + "src": "1589:5:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1028, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -638,7 +638,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1589:7:4", + "src": "1589:7:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -646,12 +646,12 @@ } }, { - "id": 1029, + "id": 954, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1016, - "src": "1598:8:4", + "referencedDeclaration": 941, + "src": "1598:8:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -669,18 +669,18 @@ "typeString": "address" } ], - "id": 1026, + "id": 951, "name": "OwnershipTransferStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "1564:24:4", + "referencedDeclaration": 914, + "src": "1564:24:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 1030, + "id": 955, "isConstant": false, "isLValue": false, "isPure": false, @@ -689,69 +689,69 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1564:43:4", + "src": "1564:43:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1031, + "id": 956, "nodeType": "EmitStatement", - "src": "1559:48:4" + "src": "1559:48:3" } ] }, "documentation": { - "id": 1014, + "id": 939, "nodeType": "StructuredDocumentation", - "src": "1249:182:4", + "src": "1249:182:3", "text": " @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\n Can only be called by the current owner." }, "functionSelector": "f2fde38b", - "id": 1033, + "id": 958, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1020, + "id": 945, "kind": "modifierInvocation", "modifierName": { - "id": 1019, + "id": 944, "name": "onlyOwner", "nameLocations": [ - "1505:9:4" + "1505:9:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, - "src": "1505:9:4" + "referencedDeclaration": 1050, + "src": "1505:9:3" }, "nodeType": "ModifierInvocation", - "src": "1505:9:4" + "src": "1505:9:3" } ], "name": "transferOwnership", - "nameLocation": "1445:17:4", + "nameLocation": "1445:17:3", "nodeType": "FunctionDefinition", "overrides": { - "id": 1018, + "id": 943, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "1496:8:4" + "src": "1496:8:3" }, "parameters": { - "id": 1017, + "id": 942, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1016, + "id": 941, "mutability": "mutable", "name": "newOwner", - "nameLocation": "1471:8:4", + "nameLocation": "1471:8:3", "nodeType": "VariableDeclaration", - "scope": 1033, - "src": "1463:16:4", + "scope": 958, + "src": "1463:16:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -759,10 +759,10 @@ "typeString": "address" }, "typeName": { - "id": 1015, + "id": 940, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1463:7:4", + "src": "1463:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -772,32 +772,32 @@ "visibility": "internal" } ], - "src": "1462:18:4" + "src": "1462:18:3" }, "returnParameters": { - "id": 1021, + "id": 946, "nodeType": "ParameterList", "parameters": [], - "src": "1515:0:4" + "src": "1515:0:3" }, - "scope": 1078, - "src": "1436:178:4", + "scope": 1003, + "src": "1436:178:3", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 1205 + 1130 ], "body": { - "id": 1049, + "id": 974, "nodeType": "Block", - "src": "1870:81:4", + "src": "1870:81:3", "statements": [ { "expression": { - "id": 1041, + "id": 966, "isConstant": false, "isLValue": false, "isPure": false, @@ -805,14 +805,14 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "1880:20:4", + "src": "1880:20:3", "subExpression": { - "id": 1040, + "id": 965, "name": "_pendingOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 983, - "src": "1887:13:4", + "referencedDeclaration": 908, + "src": "1887:13:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -823,20 +823,20 @@ "typeString": "tuple()" } }, - "id": 1042, + "id": 967, "nodeType": "ExpressionStatement", - "src": "1880:20:4" + "src": "1880:20:3" }, { "expression": { "arguments": [ { - "id": 1046, + "id": 971, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1036, - "src": "1935:8:4", + "referencedDeclaration": 961, + "src": "1935:8:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -851,33 +851,33 @@ } ], "expression": { - "id": 1043, + "id": 968, "name": "super", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967271, - "src": "1910:5:4", + "src": "1910:5:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_super$_Ownable2StepUpgradeable_$1078_$", + "typeIdentifier": "t_type$_t_super$_Ownable2StepUpgradeable_$1003_$", "typeString": "type(contract super Ownable2StepUpgradeable)" } }, - "id": 1045, + "id": 970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1916:18:4", + "memberLocation": "1916:18:3", "memberName": "_transferOwnership", "nodeType": "MemberAccess", - "referencedDeclaration": 1205, - "src": "1910:24:4", + "referencedDeclaration": 1130, + "src": "1910:24:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1047, + "id": 972, "isConstant": false, "isLValue": false, "isPure": false, @@ -886,51 +886,51 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1910:34:4", + "src": "1910:34:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1048, + "id": 973, "nodeType": "ExpressionStatement", - "src": "1910:34:4" + "src": "1910:34:3" } ] }, "documentation": { - "id": 1034, + "id": 959, "nodeType": "StructuredDocumentation", - "src": "1620:173:4", + "src": "1620:173:3", "text": " @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\n Internal function without access restriction." }, - "id": 1050, + "id": 975, "implemented": true, "kind": "function", "modifiers": [], "name": "_transferOwnership", - "nameLocation": "1807:18:4", + "nameLocation": "1807:18:3", "nodeType": "FunctionDefinition", "overrides": { - "id": 1038, + "id": 963, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "1861:8:4" + "src": "1861:8:3" }, "parameters": { - "id": 1037, + "id": 962, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1036, + "id": 961, "mutability": "mutable", "name": "newOwner", - "nameLocation": "1834:8:4", + "nameLocation": "1834:8:3", "nodeType": "VariableDeclaration", - "scope": 1050, - "src": "1826:16:4", + "scope": 975, + "src": "1826:16:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -938,10 +938,10 @@ "typeString": "address" }, "typeName": { - "id": 1035, + "id": 960, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1826:7:4", + "src": "1826:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -951,40 +951,40 @@ "visibility": "internal" } ], - "src": "1825:18:4" + "src": "1825:18:3" }, "returnParameters": { - "id": 1039, + "id": 964, "nodeType": "ParameterList", "parameters": [], - "src": "1870:0:4" + "src": "1870:0:3" }, - "scope": 1078, - "src": "1798:153:4", + "scope": 1003, + "src": "1798:153:3", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1071, + "id": 996, "nodeType": "Block", - "src": "2073:170:4", + "src": "2073:170:3", "statements": [ { "assignments": [ - 1055 + 980 ], "declarations": [ { "constant": false, - "id": 1055, + "id": 980, "mutability": "mutable", "name": "sender", - "nameLocation": "2091:6:4", + "nameLocation": "2091:6:3", "nodeType": "VariableDeclaration", - "scope": 1071, - "src": "2083:14:4", + "scope": 996, + "src": "2083:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -992,10 +992,10 @@ "typeString": "address" }, "typeName": { - "id": 1054, + "id": 979, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2083:7:4", + "src": "2083:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1005,23 +1005,23 @@ "visibility": "internal" } ], - "id": 1058, + "id": 983, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1056, + "id": 981, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1866, - "src": "2100:10:4", + "referencedDeclaration": 1791, + "src": "2100:10:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1057, + "id": 982, "isConstant": false, "isLValue": false, "isPure": false, @@ -1030,7 +1030,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2100:12:4", + "src": "2100:12:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -1038,7 +1038,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "2083:29:4" + "src": "2083:29:3" }, { "expression": { @@ -1048,7 +1048,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1063, + "id": 988, "isConstant": false, "isLValue": false, "isPure": false, @@ -1057,18 +1057,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1060, + "id": 985, "name": "pendingOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1013, - "src": "2130:12:4", + "referencedDeclaration": 938, + "src": "2130:12:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1061, + "id": 986, "isConstant": false, "isLValue": false, "isPure": false, @@ -1077,7 +1077,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2130:14:4", + "src": "2130:14:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -1087,18 +1087,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1062, + "id": 987, "name": "sender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1055, - "src": "2148:6:4", + "referencedDeclaration": 980, + "src": "2148:6:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2130:24:4", + "src": "2130:24:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1106,14 +1106,14 @@ }, { "hexValue": "4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206e6577206f776e6572", - "id": 1064, + "id": 989, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2156:43:4", + "src": "2156:43:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_225559eb8402045bea7ff07c35d0ad8c0547830223ac1c21d44fb948d6896ebc", "typeString": "literal_string \"Ownable2Step: caller is not the new owner\"" @@ -1132,7 +1132,7 @@ "typeString": "literal_string \"Ownable2Step: caller is not the new owner\"" } ], - "id": 1059, + "id": 984, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1140,13 +1140,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2122:7:4", + "src": "2122:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1065, + "id": 990, "isConstant": false, "isLValue": false, "isPure": false, @@ -1155,27 +1155,27 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2122:78:4", + "src": "2122:78:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1066, + "id": 991, "nodeType": "ExpressionStatement", - "src": "2122:78:4" + "src": "2122:78:3" }, { "expression": { "arguments": [ { - "id": 1068, + "id": 993, "name": "sender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1055, - "src": "2229:6:4", + "referencedDeclaration": 980, + "src": "2229:6:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1189,20 +1189,20 @@ "typeString": "address" } ], - "id": 1067, + "id": 992, "name": "_transferOwnership", "nodeType": "Identifier", "overloadedDeclarations": [ - 1050 + 975 ], - "referencedDeclaration": 1050, - "src": "2210:18:4", + "referencedDeclaration": 975, + "src": "2210:18:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1069, + "id": 994, "isConstant": false, "isLValue": false, "isPure": false, @@ -1211,47 +1211,47 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2210:26:4", + "src": "2210:26:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1070, + "id": 995, "nodeType": "ExpressionStatement", - "src": "2210:26:4" + "src": "2210:26:3" } ] }, "documentation": { - "id": 1051, + "id": 976, "nodeType": "StructuredDocumentation", - "src": "1957:69:4", + "src": "1957:69:3", "text": " @dev The new owner accepts the ownership transfer." }, "functionSelector": "79ba5097", - "id": 1072, + "id": 997, "implemented": true, "kind": "function", "modifiers": [], "name": "acceptOwnership", - "nameLocation": "2040:15:4", + "nameLocation": "2040:15:3", "nodeType": "FunctionDefinition", "parameters": { - "id": 1052, + "id": 977, "nodeType": "ParameterList", "parameters": [], - "src": "2055:2:4" + "src": "2055:2:3" }, "returnParameters": { - "id": 1053, + "id": 978, "nodeType": "ParameterList", "parameters": [], - "src": "2073:0:4" + "src": "2073:0:3" }, - "scope": 1078, - "src": "2031:212:4", + "scope": 1003, + "src": "2031:212:3", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -1259,18 +1259,18 @@ { "constant": false, "documentation": { - "id": 1073, + "id": 998, "nodeType": "StructuredDocumentation", - "src": "2249:254:4", + "src": "2249:254:3", "text": " @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps" }, - "id": 1077, + "id": 1002, "mutability": "mutable", "name": "__gap", - "nameLocation": "2528:5:4", + "nameLocation": "2528:5:3", "nodeType": "VariableDeclaration", - "scope": 1078, - "src": "2508:25:4", + "scope": 1003, + "src": "2508:25:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1279,26 +1279,26 @@ }, "typeName": { "baseType": { - "id": 1074, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2508:7:4", + "src": "2508:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1076, + "id": 1001, "length": { "hexValue": "3439", - "id": 1075, + "id": 1000, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2516:2:4", + "src": "2516:2:3", "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", "typeString": "int_const 49" @@ -1306,7 +1306,7 @@ "value": "49" }, "nodeType": "ArrayTypeName", - "src": "2508:11:4", + "src": "2508:11:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$49_storage_ptr", "typeString": "uint256[49]" @@ -1315,35 +1315,35 @@ "visibility": "private" } ], - "scope": 1079, - "src": "674:1862:4", + "scope": 1004, + "src": "674:1862:3", "usedErrors": [] } ], - "src": "107:2430:4" + "src": "107:2430:3" }, "legacyAST": { "absolutePath": "@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "Initializable": [ - 1380 + 1305 ], "Ownable2StepUpgradeable": [ - 1078 + 1003 ], "OwnableUpgradeable": [ - 1211 + 1136 ] }, - "id": 1079, + "id": 1004, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 973, + "id": 898, "literals": [ "solidity", "^", @@ -1351,38 +1351,38 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "107:23:4" + "src": "107:23:3" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol", "file": "./OwnableUpgradeable.sol", - "id": 974, + "id": 899, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1079, - "sourceUnit": 1212, - "src": "132:34:4", + "scope": 1004, + "sourceUnit": 1137, + "src": "132:34:3", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "file": "../proxy/utils/Initializable.sol", - "id": 976, + "id": 901, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1079, - "sourceUnit": 1381, - "src": "167:63:4", + "scope": 1004, + "sourceUnit": 1306, + "src": "167:63:3", "symbolAliases": [ { "foreign": { - "id": 975, + "id": 900, "name": "Initializable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1380, - "src": "175:13:4", + "referencedDeclaration": 1305, + "src": "175:13:3", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -1395,65 +1395,65 @@ "baseContracts": [ { "baseName": { - "id": 978, + "id": 903, "name": "Initializable", "nameLocations": [ - "719:13:4" + "719:13:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1380, - "src": "719:13:4" + "referencedDeclaration": 1305, + "src": "719:13:3" }, - "id": 979, + "id": 904, "nodeType": "InheritanceSpecifier", - "src": "719:13:4" + "src": "719:13:3" }, { "baseName": { - "id": 980, + "id": 905, "name": "OwnableUpgradeable", "nameLocations": [ - "734:18:4" + "734:18:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1211, - "src": "734:18:4" + "referencedDeclaration": 1136, + "src": "734:18:3" }, - "id": 981, + "id": 906, "nodeType": "InheritanceSpecifier", - "src": "734:18:4" + "src": "734:18:3" } ], "canonicalName": "Ownable2StepUpgradeable", "contractDependencies": [], "contractKind": "contract", "documentation": { - "id": 977, + "id": 902, "nodeType": "StructuredDocumentation", - "src": "232:441:4", + "src": "232:441:3", "text": " @dev Contract module which provides access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n By default, the owner account will be the one that deploys the contract. This\n can later be changed with {transferOwnership} and {acceptOwnership}.\n This module is used through inheritance. It will make available all functions\n from parent (Ownable)." }, "fullyImplemented": true, - "id": 1078, + "id": 1003, "linearizedBaseContracts": [ - 1078, - 1211, - 1889, - 1380 + 1003, + 1136, + 1814, + 1305 ], "name": "Ownable2StepUpgradeable", - "nameLocation": "692:23:4", + "nameLocation": "692:23:3", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 983, + "id": 908, "mutability": "mutable", "name": "_pendingOwner", - "nameLocation": "775:13:4", + "nameLocation": "775:13:3", "nodeType": "VariableDeclaration", - "scope": 1078, - "src": "759:29:4", + "scope": 1003, + "src": "759:29:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1461,10 +1461,10 @@ "typeString": "address" }, "typeName": { - "id": 982, + "id": 907, "name": "address", "nodeType": "ElementaryTypeName", - "src": "759:7:4", + "src": "759:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1476,24 +1476,24 @@ { "anonymous": false, "eventSelector": "38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700", - "id": 989, + "id": 914, "name": "OwnershipTransferStarted", - "nameLocation": "801:24:4", + "nameLocation": "801:24:3", "nodeType": "EventDefinition", "parameters": { - "id": 988, + "id": 913, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 985, + "id": 910, "indexed": true, "mutability": "mutable", "name": "previousOwner", - "nameLocation": "842:13:4", + "nameLocation": "842:13:3", "nodeType": "VariableDeclaration", - "scope": 989, - "src": "826:29:4", + "scope": 914, + "src": "826:29:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1501,10 +1501,10 @@ "typeString": "address" }, "typeName": { - "id": 984, + "id": 909, "name": "address", "nodeType": "ElementaryTypeName", - "src": "826:7:4", + "src": "826:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1515,14 +1515,14 @@ }, { "constant": false, - "id": 987, + "id": 912, "indexed": true, "mutability": "mutable", "name": "newOwner", - "nameLocation": "873:8:4", + "nameLocation": "873:8:3", "nodeType": "VariableDeclaration", - "scope": 989, - "src": "857:24:4", + "scope": 914, + "src": "857:24:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1530,10 +1530,10 @@ "typeString": "address" }, "typeName": { - "id": 986, + "id": 911, "name": "address", "nodeType": "ElementaryTypeName", - "src": "857:7:4", + "src": "857:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1543,33 +1543,33 @@ "visibility": "internal" } ], - "src": "825:57:4" + "src": "825:57:3" }, - "src": "795:88:4" + "src": "795:88:3" }, { "body": { - "id": 997, + "id": 922, "nodeType": "Block", - "src": "946:43:4", + "src": "946:43:3", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 994, + "id": 919, "name": "__Ownable_init_unchained", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "956:24:4", + "referencedDeclaration": 1042, + "src": "956:24:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 995, + "id": 920, "isConstant": false, "isLValue": false, "isPure": false, @@ -1578,169 +1578,169 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "956:26:4", + "src": "956:26:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 996, + "id": 921, "nodeType": "ExpressionStatement", - "src": "956:26:4" + "src": "956:26:3" } ] }, - "id": 998, + "id": 923, "implemented": true, "kind": "function", "modifiers": [ { - "id": 992, + "id": 917, "kind": "modifierInvocation", "modifierName": { - "id": 991, + "id": 916, "name": "onlyInitializing", "nameLocations": [ - "929:16:4" + "929:16:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "929:16:4" + "referencedDeclaration": 1250, + "src": "929:16:3" }, "nodeType": "ModifierInvocation", - "src": "929:16:4" + "src": "929:16:3" } ], "name": "__Ownable2Step_init", - "nameLocation": "898:19:4", + "nameLocation": "898:19:3", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 915, "nodeType": "ParameterList", "parameters": [], - "src": "917:2:4" + "src": "917:2:3" }, "returnParameters": { - "id": 993, + "id": 918, "nodeType": "ParameterList", "parameters": [], - "src": "946:0:4" + "src": "946:0:3" }, - "scope": 1078, - "src": "889:100:4", + "scope": 1003, + "src": "889:100:3", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1003, + "id": 928, "nodeType": "Block", - "src": "1062:7:4", + "src": "1062:7:3", "statements": [] }, - "id": 1004, + "id": 929, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1001, + "id": 926, "kind": "modifierInvocation", "modifierName": { - "id": 1000, + "id": 925, "name": "onlyInitializing", "nameLocations": [ - "1045:16:4" + "1045:16:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "1045:16:4" + "referencedDeclaration": 1250, + "src": "1045:16:3" }, "nodeType": "ModifierInvocation", - "src": "1045:16:4" + "src": "1045:16:3" } ], "name": "__Ownable2Step_init_unchained", - "nameLocation": "1004:29:4", + "nameLocation": "1004:29:3", "nodeType": "FunctionDefinition", "parameters": { - "id": 999, + "id": 924, "nodeType": "ParameterList", "parameters": [], - "src": "1033:2:4" + "src": "1033:2:3" }, "returnParameters": { - "id": 1002, + "id": 927, "nodeType": "ParameterList", "parameters": [], - "src": "1062:0:4" + "src": "1062:0:3" }, - "scope": 1078, - "src": "995:74:4", + "scope": 1003, + "src": "995:74:3", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1012, + "id": 937, "nodeType": "Block", - "src": "1206:37:4", + "src": "1206:37:3", "statements": [ { "expression": { - "id": 1010, + "id": 935, "name": "_pendingOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 983, - "src": "1223:13:4", + "referencedDeclaration": 908, + "src": "1223:13:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 1009, - "id": 1011, + "functionReturnParameters": 934, + "id": 936, "nodeType": "Return", - "src": "1216:20:4" + "src": "1216:20:3" } ] }, "documentation": { - "id": 1005, + "id": 930, "nodeType": "StructuredDocumentation", - "src": "1074:65:4", + "src": "1074:65:3", "text": " @dev Returns the address of the pending owner." }, "functionSelector": "e30c3978", - "id": 1013, + "id": 938, "implemented": true, "kind": "function", "modifiers": [], "name": "pendingOwner", - "nameLocation": "1153:12:4", + "nameLocation": "1153:12:3", "nodeType": "FunctionDefinition", "parameters": { - "id": 1006, + "id": 931, "nodeType": "ParameterList", "parameters": [], - "src": "1165:2:4" + "src": "1165:2:3" }, "returnParameters": { - "id": 1009, + "id": 934, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1008, + "id": 933, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1013, - "src": "1197:7:4", + "scope": 938, + "src": "1197:7:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1748,10 +1748,10 @@ "typeString": "address" }, "typeName": { - "id": 1007, + "id": 932, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1197:7:4", + "src": "1197:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1761,37 +1761,37 @@ "visibility": "internal" } ], - "src": "1196:9:4" + "src": "1196:9:3" }, - "scope": 1078, - "src": "1144:99:4", + "scope": 1003, + "src": "1144:99:3", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 1185 + 1110 ], "body": { - "id": 1032, + "id": 957, "nodeType": "Block", - "src": "1515:99:4", + "src": "1515:99:3", "statements": [ { "expression": { - "id": 1024, + "id": 949, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1022, + "id": 947, "name": "_pendingOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 983, - "src": "1525:13:4", + "referencedDeclaration": 908, + "src": "1525:13:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1800,26 +1800,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1023, + "id": 948, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1016, - "src": "1541:8:4", + "referencedDeclaration": 941, + "src": "1541:8:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1525:24:4", + "src": "1525:24:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1025, + "id": 950, "nodeType": "ExpressionStatement", - "src": "1525:24:4" + "src": "1525:24:3" }, { "eventCall": { @@ -1828,18 +1828,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1027, + "id": 952, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1134, - "src": "1589:5:4", + "referencedDeclaration": 1059, + "src": "1589:5:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1028, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -1848,7 +1848,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1589:7:4", + "src": "1589:7:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -1856,12 +1856,12 @@ } }, { - "id": 1029, + "id": 954, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1016, - "src": "1598:8:4", + "referencedDeclaration": 941, + "src": "1598:8:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1879,18 +1879,18 @@ "typeString": "address" } ], - "id": 1026, + "id": 951, "name": "OwnershipTransferStarted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "1564:24:4", + "referencedDeclaration": 914, + "src": "1564:24:3", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 1030, + "id": 955, "isConstant": false, "isLValue": false, "isPure": false, @@ -1899,69 +1899,69 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1564:43:4", + "src": "1564:43:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1031, + "id": 956, "nodeType": "EmitStatement", - "src": "1559:48:4" + "src": "1559:48:3" } ] }, "documentation": { - "id": 1014, + "id": 939, "nodeType": "StructuredDocumentation", - "src": "1249:182:4", + "src": "1249:182:3", "text": " @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.\n Can only be called by the current owner." }, "functionSelector": "f2fde38b", - "id": 1033, + "id": 958, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1020, + "id": 945, "kind": "modifierInvocation", "modifierName": { - "id": 1019, + "id": 944, "name": "onlyOwner", "nameLocations": [ - "1505:9:4" + "1505:9:3" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, - "src": "1505:9:4" + "referencedDeclaration": 1050, + "src": "1505:9:3" }, "nodeType": "ModifierInvocation", - "src": "1505:9:4" + "src": "1505:9:3" } ], "name": "transferOwnership", - "nameLocation": "1445:17:4", + "nameLocation": "1445:17:3", "nodeType": "FunctionDefinition", "overrides": { - "id": 1018, + "id": 943, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "1496:8:4" + "src": "1496:8:3" }, "parameters": { - "id": 1017, + "id": 942, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1016, + "id": 941, "mutability": "mutable", "name": "newOwner", - "nameLocation": "1471:8:4", + "nameLocation": "1471:8:3", "nodeType": "VariableDeclaration", - "scope": 1033, - "src": "1463:16:4", + "scope": 958, + "src": "1463:16:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1969,10 +1969,10 @@ "typeString": "address" }, "typeName": { - "id": 1015, + "id": 940, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1463:7:4", + "src": "1463:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1982,32 +1982,32 @@ "visibility": "internal" } ], - "src": "1462:18:4" + "src": "1462:18:3" }, "returnParameters": { - "id": 1021, + "id": 946, "nodeType": "ParameterList", "parameters": [], - "src": "1515:0:4" + "src": "1515:0:3" }, - "scope": 1078, - "src": "1436:178:4", + "scope": 1003, + "src": "1436:178:3", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 1205 + 1130 ], "body": { - "id": 1049, + "id": 974, "nodeType": "Block", - "src": "1870:81:4", + "src": "1870:81:3", "statements": [ { "expression": { - "id": 1041, + "id": 966, "isConstant": false, "isLValue": false, "isPure": false, @@ -2015,14 +2015,14 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "1880:20:4", + "src": "1880:20:3", "subExpression": { - "id": 1040, + "id": 965, "name": "_pendingOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 983, - "src": "1887:13:4", + "referencedDeclaration": 908, + "src": "1887:13:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2033,20 +2033,20 @@ "typeString": "tuple()" } }, - "id": 1042, + "id": 967, "nodeType": "ExpressionStatement", - "src": "1880:20:4" + "src": "1880:20:3" }, { "expression": { "arguments": [ { - "id": 1046, + "id": 971, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1036, - "src": "1935:8:4", + "referencedDeclaration": 961, + "src": "1935:8:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2061,33 +2061,33 @@ } ], "expression": { - "id": 1043, + "id": 968, "name": "super", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967271, - "src": "1910:5:4", + "src": "1910:5:3", "typeDescriptions": { - "typeIdentifier": "t_type$_t_super$_Ownable2StepUpgradeable_$1078_$", + "typeIdentifier": "t_type$_t_super$_Ownable2StepUpgradeable_$1003_$", "typeString": "type(contract super Ownable2StepUpgradeable)" } }, - "id": 1045, + "id": 970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, - "memberLocation": "1916:18:4", + "memberLocation": "1916:18:3", "memberName": "_transferOwnership", "nodeType": "MemberAccess", - "referencedDeclaration": 1205, - "src": "1910:24:4", + "referencedDeclaration": 1130, + "src": "1910:24:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1047, + "id": 972, "isConstant": false, "isLValue": false, "isPure": false, @@ -2096,51 +2096,51 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1910:34:4", + "src": "1910:34:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1048, + "id": 973, "nodeType": "ExpressionStatement", - "src": "1910:34:4" + "src": "1910:34:3" } ] }, "documentation": { - "id": 1034, + "id": 959, "nodeType": "StructuredDocumentation", - "src": "1620:173:4", + "src": "1620:173:3", "text": " @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.\n Internal function without access restriction." }, - "id": 1050, + "id": 975, "implemented": true, "kind": "function", "modifiers": [], "name": "_transferOwnership", - "nameLocation": "1807:18:4", + "nameLocation": "1807:18:3", "nodeType": "FunctionDefinition", "overrides": { - "id": 1038, + "id": 963, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "1861:8:4" + "src": "1861:8:3" }, "parameters": { - "id": 1037, + "id": 962, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1036, + "id": 961, "mutability": "mutable", "name": "newOwner", - "nameLocation": "1834:8:4", + "nameLocation": "1834:8:3", "nodeType": "VariableDeclaration", - "scope": 1050, - "src": "1826:16:4", + "scope": 975, + "src": "1826:16:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2148,10 +2148,10 @@ "typeString": "address" }, "typeName": { - "id": 1035, + "id": 960, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1826:7:4", + "src": "1826:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2161,40 +2161,40 @@ "visibility": "internal" } ], - "src": "1825:18:4" + "src": "1825:18:3" }, "returnParameters": { - "id": 1039, + "id": 964, "nodeType": "ParameterList", "parameters": [], - "src": "1870:0:4" + "src": "1870:0:3" }, - "scope": 1078, - "src": "1798:153:4", + "scope": 1003, + "src": "1798:153:3", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1071, + "id": 996, "nodeType": "Block", - "src": "2073:170:4", + "src": "2073:170:3", "statements": [ { "assignments": [ - 1055 + 980 ], "declarations": [ { "constant": false, - "id": 1055, + "id": 980, "mutability": "mutable", "name": "sender", - "nameLocation": "2091:6:4", + "nameLocation": "2091:6:3", "nodeType": "VariableDeclaration", - "scope": 1071, - "src": "2083:14:4", + "scope": 996, + "src": "2083:14:3", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2202,10 +2202,10 @@ "typeString": "address" }, "typeName": { - "id": 1054, + "id": 979, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2083:7:4", + "src": "2083:7:3", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2215,23 +2215,23 @@ "visibility": "internal" } ], - "id": 1058, + "id": 983, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1056, + "id": 981, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1866, - "src": "2100:10:4", + "referencedDeclaration": 1791, + "src": "2100:10:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1057, + "id": 982, "isConstant": false, "isLValue": false, "isPure": false, @@ -2240,7 +2240,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2100:12:4", + "src": "2100:12:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -2248,7 +2248,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "2083:29:4" + "src": "2083:29:3" }, { "expression": { @@ -2258,7 +2258,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1063, + "id": 988, "isConstant": false, "isLValue": false, "isPure": false, @@ -2267,18 +2267,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1060, + "id": 985, "name": "pendingOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1013, - "src": "2130:12:4", + "referencedDeclaration": 938, + "src": "2130:12:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1061, + "id": 986, "isConstant": false, "isLValue": false, "isPure": false, @@ -2287,7 +2287,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2130:14:4", + "src": "2130:14:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -2297,18 +2297,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1062, + "id": 987, "name": "sender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1055, - "src": "2148:6:4", + "referencedDeclaration": 980, + "src": "2148:6:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2130:24:4", + "src": "2130:24:3", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2316,14 +2316,14 @@ }, { "hexValue": "4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206e6577206f776e6572", - "id": 1064, + "id": 989, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2156:43:4", + "src": "2156:43:3", "typeDescriptions": { "typeIdentifier": "t_stringliteral_225559eb8402045bea7ff07c35d0ad8c0547830223ac1c21d44fb948d6896ebc", "typeString": "literal_string \"Ownable2Step: caller is not the new owner\"" @@ -2342,7 +2342,7 @@ "typeString": "literal_string \"Ownable2Step: caller is not the new owner\"" } ], - "id": 1059, + "id": 984, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2350,13 +2350,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2122:7:4", + "src": "2122:7:3", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1065, + "id": 990, "isConstant": false, "isLValue": false, "isPure": false, @@ -2365,27 +2365,27 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2122:78:4", + "src": "2122:78:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1066, + "id": 991, "nodeType": "ExpressionStatement", - "src": "2122:78:4" + "src": "2122:78:3" }, { "expression": { "arguments": [ { - "id": 1068, + "id": 993, "name": "sender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1055, - "src": "2229:6:4", + "referencedDeclaration": 980, + "src": "2229:6:3", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2399,20 +2399,20 @@ "typeString": "address" } ], - "id": 1067, + "id": 992, "name": "_transferOwnership", "nodeType": "Identifier", "overloadedDeclarations": [ - 1050 + 975 ], - "referencedDeclaration": 1050, - "src": "2210:18:4", + "referencedDeclaration": 975, + "src": "2210:18:3", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1069, + "id": 994, "isConstant": false, "isLValue": false, "isPure": false, @@ -2421,47 +2421,47 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2210:26:4", + "src": "2210:26:3", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1070, + "id": 995, "nodeType": "ExpressionStatement", - "src": "2210:26:4" + "src": "2210:26:3" } ] }, "documentation": { - "id": 1051, + "id": 976, "nodeType": "StructuredDocumentation", - "src": "1957:69:4", + "src": "1957:69:3", "text": " @dev The new owner accepts the ownership transfer." }, "functionSelector": "79ba5097", - "id": 1072, + "id": 997, "implemented": true, "kind": "function", "modifiers": [], "name": "acceptOwnership", - "nameLocation": "2040:15:4", + "nameLocation": "2040:15:3", "nodeType": "FunctionDefinition", "parameters": { - "id": 1052, + "id": 977, "nodeType": "ParameterList", "parameters": [], - "src": "2055:2:4" + "src": "2055:2:3" }, "returnParameters": { - "id": 1053, + "id": 978, "nodeType": "ParameterList", "parameters": [], - "src": "2073:0:4" + "src": "2073:0:3" }, - "scope": 1078, - "src": "2031:212:4", + "scope": 1003, + "src": "2031:212:3", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -2469,18 +2469,18 @@ { "constant": false, "documentation": { - "id": 1073, + "id": 998, "nodeType": "StructuredDocumentation", - "src": "2249:254:4", + "src": "2249:254:3", "text": " @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps" }, - "id": 1077, + "id": 1002, "mutability": "mutable", "name": "__gap", - "nameLocation": "2528:5:4", + "nameLocation": "2528:5:3", "nodeType": "VariableDeclaration", - "scope": 1078, - "src": "2508:25:4", + "scope": 1003, + "src": "2508:25:3", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2489,26 +2489,26 @@ }, "typeName": { "baseType": { - "id": 1074, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2508:7:4", + "src": "2508:7:3", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1076, + "id": 1001, "length": { "hexValue": "3439", - "id": 1075, + "id": 1000, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2516:2:4", + "src": "2516:2:3", "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", "typeString": "int_const 49" @@ -2516,7 +2516,7 @@ "value": "49" }, "nodeType": "ArrayTypeName", - "src": "2508:11:4", + "src": "2508:11:3", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$49_storage_ptr", "typeString": "uint256[49]" @@ -2525,12 +2525,12 @@ "visibility": "private" } ], - "scope": 1079, - "src": "674:1862:4", + "scope": 1004, + "src": "674:1862:3", "usedErrors": [] } ], - "src": "107:2430:4" + "src": "107:2430:3" }, "compiler": { "name": "solc", @@ -2538,5 +2538,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2024-06-27T12:24:25.257Z" + "updatedAt": "2024-07-04T18:51:17.140Z" } \ No newline at end of file diff --git a/build/contracts/OwnableUpgradeable.json b/build/contracts/OwnableUpgradeable.json index 433e7f5..6eb8c29 100644 --- a/build/contracts/OwnableUpgradeable.json +++ b/build/contracts/OwnableUpgradeable.json @@ -77,21 +77,21 @@ "absolutePath": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "Initializable": [ - 1380 + 1305 ], "OwnableUpgradeable": [ - 1211 + 1136 ] }, - "id": 1212, + "id": 1137, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 1080, + "id": 1005, "literals": [ "solidity", "^", @@ -99,38 +99,38 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "102:23:5" + "src": "102:23:4" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol", "file": "../utils/ContextUpgradeable.sol", - "id": 1081, + "id": 1006, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1212, - "sourceUnit": 1890, - "src": "127:41:5", + "scope": 1137, + "sourceUnit": 1815, + "src": "127:41:4", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "file": "../proxy/utils/Initializable.sol", - "id": 1083, + "id": 1008, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1212, - "sourceUnit": 1381, - "src": "169:63:5", + "scope": 1137, + "sourceUnit": 1306, + "src": "169:63:4", "symbolAliases": [ { "foreign": { - "id": 1082, + "id": 1007, "name": "Initializable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1380, - "src": "177:13:5", + "referencedDeclaration": 1305, + "src": "177:13:4", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -143,64 +143,64 @@ "baseContracts": [ { "baseName": { - "id": 1085, + "id": 1010, "name": "Initializable", "nameLocations": [ - "769:13:5" + "769:13:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1380, - "src": "769:13:5" + "referencedDeclaration": 1305, + "src": "769:13:4" }, - "id": 1086, + "id": 1011, "nodeType": "InheritanceSpecifier", - "src": "769:13:5" + "src": "769:13:4" }, { "baseName": { - "id": 1087, + "id": 1012, "name": "ContextUpgradeable", "nameLocations": [ - "784:18:5" + "784:18:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1889, - "src": "784:18:5" + "referencedDeclaration": 1814, + "src": "784:18:4" }, - "id": 1088, + "id": 1013, "nodeType": "InheritanceSpecifier", - "src": "784:18:5" + "src": "784:18:4" } ], "canonicalName": "OwnableUpgradeable", "contractDependencies": [], "contractKind": "contract", "documentation": { - "id": 1084, + "id": 1009, "nodeType": "StructuredDocumentation", - "src": "234:494:5", + "src": "234:494:4", "text": " @dev Contract module which provides a basic access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n By default, the owner account will be the one that deploys the contract. This\n can later be changed with {transferOwnership}.\n This module is used through inheritance. It will make available the modifier\n `onlyOwner`, which can be applied to your functions to restrict their use to\n the owner." }, "fullyImplemented": true, - "id": 1211, + "id": 1136, "linearizedBaseContracts": [ - 1211, - 1889, - 1380 + 1136, + 1814, + 1305 ], "name": "OwnableUpgradeable", - "nameLocation": "747:18:5", + "nameLocation": "747:18:4", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 1090, + "id": 1015, "mutability": "mutable", "name": "_owner", - "nameLocation": "825:6:5", + "nameLocation": "825:6:4", "nodeType": "VariableDeclaration", - "scope": 1211, - "src": "809:22:5", + "scope": 1136, + "src": "809:22:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -208,10 +208,10 @@ "typeString": "address" }, "typeName": { - "id": 1089, + "id": 1014, "name": "address", "nodeType": "ElementaryTypeName", - "src": "809:7:5", + "src": "809:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -223,24 +223,24 @@ { "anonymous": false, "eventSelector": "8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "id": 1096, + "id": 1021, "name": "OwnershipTransferred", - "nameLocation": "844:20:5", + "nameLocation": "844:20:4", "nodeType": "EventDefinition", "parameters": { - "id": 1095, + "id": 1020, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1092, + "id": 1017, "indexed": true, "mutability": "mutable", "name": "previousOwner", - "nameLocation": "881:13:5", + "nameLocation": "881:13:4", "nodeType": "VariableDeclaration", - "scope": 1096, - "src": "865:29:5", + "scope": 1021, + "src": "865:29:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -248,10 +248,10 @@ "typeString": "address" }, "typeName": { - "id": 1091, + "id": 1016, "name": "address", "nodeType": "ElementaryTypeName", - "src": "865:7:5", + "src": "865:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -262,14 +262,14 @@ }, { "constant": false, - "id": 1094, + "id": 1019, "indexed": true, "mutability": "mutable", "name": "newOwner", - "nameLocation": "912:8:5", + "nameLocation": "912:8:4", "nodeType": "VariableDeclaration", - "scope": 1096, - "src": "896:24:5", + "scope": 1021, + "src": "896:24:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -277,10 +277,10 @@ "typeString": "address" }, "typeName": { - "id": 1093, + "id": 1018, "name": "address", "nodeType": "ElementaryTypeName", - "src": "896:7:5", + "src": "896:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -290,33 +290,33 @@ "visibility": "internal" } ], - "src": "864:57:5" + "src": "864:57:4" }, - "src": "838:84:5" + "src": "838:84:4" }, { "body": { - "id": 1105, + "id": 1030, "nodeType": "Block", - "src": "1076:43:5", + "src": "1076:43:4", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1102, + "id": 1027, "name": "__Ownable_init_unchained", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "1086:24:5", + "referencedDeclaration": 1042, + "src": "1086:24:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1103, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": false, @@ -325,72 +325,72 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1086:26:5", + "src": "1086:26:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 1029, "nodeType": "ExpressionStatement", - "src": "1086:26:5" + "src": "1086:26:4" } ] }, "documentation": { - "id": 1097, + "id": 1022, "nodeType": "StructuredDocumentation", - "src": "928:91:5", + "src": "928:91:4", "text": " @dev Initializes the contract setting the deployer as the initial owner." }, - "id": 1106, + "id": 1031, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1100, + "id": 1025, "kind": "modifierInvocation", "modifierName": { - "id": 1099, + "id": 1024, "name": "onlyInitializing", "nameLocations": [ - "1059:16:5" + "1059:16:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "1059:16:5" + "referencedDeclaration": 1250, + "src": "1059:16:4" }, "nodeType": "ModifierInvocation", - "src": "1059:16:5" + "src": "1059:16:4" } ], "name": "__Ownable_init", - "nameLocation": "1033:14:5", + "nameLocation": "1033:14:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1098, + "id": 1023, "nodeType": "ParameterList", "parameters": [], - "src": "1047:2:5" + "src": "1047:2:4" }, "returnParameters": { - "id": 1101, + "id": 1026, "nodeType": "ParameterList", "parameters": [], - "src": "1076:0:5" + "src": "1076:0:4" }, - "scope": 1211, - "src": "1024:95:5", + "scope": 1136, + "src": "1024:95:4", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1116, + "id": 1041, "nodeType": "Block", - "src": "1187:49:5", + "src": "1187:49:4", "statements": [ { "expression": { @@ -399,18 +399,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1112, + "id": 1037, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1866, - "src": "1216:10:5", + "referencedDeclaration": 1791, + "src": "1216:10:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1113, + "id": 1038, "isConstant": false, "isLValue": false, "isPure": false, @@ -419,7 +419,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1216:12:5", + "src": "1216:12:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -434,18 +434,18 @@ "typeString": "address" } ], - "id": 1111, + "id": 1036, "name": "_transferOwnership", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1205, - "src": "1197:18:5", + "referencedDeclaration": 1130, + "src": "1197:18:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1114, + "id": 1039, "isConstant": false, "isLValue": false, "isPure": false, @@ -454,84 +454,84 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1197:32:5", + "src": "1197:32:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1115, + "id": 1040, "nodeType": "ExpressionStatement", - "src": "1197:32:5" + "src": "1197:32:4" } ] }, - "id": 1117, + "id": 1042, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1109, + "id": 1034, "kind": "modifierInvocation", "modifierName": { - "id": 1108, + "id": 1033, "name": "onlyInitializing", "nameLocations": [ - "1170:16:5" + "1170:16:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "1170:16:5" + "referencedDeclaration": 1250, + "src": "1170:16:4" }, "nodeType": "ModifierInvocation", - "src": "1170:16:5" + "src": "1170:16:4" } ], "name": "__Ownable_init_unchained", - "nameLocation": "1134:24:5", + "nameLocation": "1134:24:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1107, + "id": 1032, "nodeType": "ParameterList", "parameters": [], - "src": "1158:2:5" + "src": "1158:2:4" }, "returnParameters": { - "id": 1110, + "id": 1035, "nodeType": "ParameterList", "parameters": [], - "src": "1187:0:5" + "src": "1187:0:4" }, - "scope": 1211, - "src": "1125:111:5", + "scope": 1136, + "src": "1125:111:4", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1124, + "id": 1049, "nodeType": "Block", - "src": "1345:41:5", + "src": "1345:41:4", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1120, + "id": 1045, "name": "_checkOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1148, - "src": "1355:11:5", + "referencedDeclaration": 1073, + "src": "1355:11:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$__$", "typeString": "function () view" } }, - "id": 1121, + "id": 1046, "isConstant": false, "isLValue": false, "isPure": false, @@ -540,103 +540,103 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1355:13:5", + "src": "1355:13:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1122, + "id": 1047, "nodeType": "ExpressionStatement", - "src": "1355:13:5" + "src": "1355:13:4" }, { - "id": 1123, + "id": 1048, "nodeType": "PlaceholderStatement", - "src": "1378:1:5" + "src": "1378:1:4" } ] }, "documentation": { - "id": 1118, + "id": 1043, "nodeType": "StructuredDocumentation", - "src": "1242:77:5", + "src": "1242:77:4", "text": " @dev Throws if called by any account other than the owner." }, - "id": 1125, + "id": 1050, "name": "onlyOwner", - "nameLocation": "1333:9:5", + "nameLocation": "1333:9:4", "nodeType": "ModifierDefinition", "parameters": { - "id": 1119, + "id": 1044, "nodeType": "ParameterList", "parameters": [], - "src": "1342:2:5" + "src": "1342:2:4" }, - "src": "1324:62:5", + "src": "1324:62:4", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 1058, "nodeType": "Block", - "src": "1517:30:5", + "src": "1517:30:4", "statements": [ { "expression": { - "id": 1131, + "id": 1056, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1090, - "src": "1534:6:5", + "referencedDeclaration": 1015, + "src": "1534:6:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 1130, - "id": 1132, + "functionReturnParameters": 1055, + "id": 1057, "nodeType": "Return", - "src": "1527:13:5" + "src": "1527:13:4" } ] }, "documentation": { - "id": 1126, + "id": 1051, "nodeType": "StructuredDocumentation", - "src": "1392:65:5", + "src": "1392:65:4", "text": " @dev Returns the address of the current owner." }, "functionSelector": "8da5cb5b", - "id": 1134, + "id": 1059, "implemented": true, "kind": "function", "modifiers": [], "name": "owner", - "nameLocation": "1471:5:5", + "nameLocation": "1471:5:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1127, + "id": 1052, "nodeType": "ParameterList", "parameters": [], - "src": "1476:2:5" + "src": "1476:2:4" }, "returnParameters": { - "id": 1130, + "id": 1055, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1129, + "id": 1054, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "1508:7:5", + "scope": 1059, + "src": "1508:7:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -644,10 +644,10 @@ "typeString": "address" }, "typeName": { - "id": 1128, + "id": 1053, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1508:7:5", + "src": "1508:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -657,19 +657,19 @@ "visibility": "internal" } ], - "src": "1507:9:5" + "src": "1507:9:4" }, - "scope": 1211, - "src": "1462:85:5", + "scope": 1136, + "src": "1462:85:4", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 1147, + "id": 1072, "nodeType": "Block", - "src": "1665:85:5", + "src": "1665:85:4", "statements": [ { "expression": { @@ -679,7 +679,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1143, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -688,18 +688,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1139, + "id": 1064, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1134, - "src": "1683:5:5", + "referencedDeclaration": 1059, + "src": "1683:5:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1140, + "id": 1065, "isConstant": false, "isLValue": false, "isPure": false, @@ -708,7 +708,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1683:7:5", + "src": "1683:7:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -721,18 +721,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1141, + "id": 1066, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1866, - "src": "1694:10:5", + "referencedDeclaration": 1791, + "src": "1694:10:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1142, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": false, @@ -741,14 +741,14 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1694:12:5", + "src": "1694:12:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1683:23:5", + "src": "1683:23:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -756,14 +756,14 @@ }, { "hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572", - "id": 1144, + "id": 1069, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1708:34:5", + "src": "1708:34:4", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe", "typeString": "literal_string \"Ownable: caller is not the owner\"" @@ -782,7 +782,7 @@ "typeString": "literal_string \"Ownable: caller is not the owner\"" } ], - "id": 1138, + "id": 1063, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -790,13 +790,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "1675:7:5", + "src": "1675:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1145, + "id": 1070, "isConstant": false, "isLValue": false, "isPure": false, @@ -805,55 +805,55 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1675:68:5", + "src": "1675:68:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1146, + "id": 1071, "nodeType": "ExpressionStatement", - "src": "1675:68:5" + "src": "1675:68:4" } ] }, "documentation": { - "id": 1135, + "id": 1060, "nodeType": "StructuredDocumentation", - "src": "1553:62:5", + "src": "1553:62:4", "text": " @dev Throws if the sender is not the owner." }, - "id": 1148, + "id": 1073, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOwner", - "nameLocation": "1629:11:5", + "nameLocation": "1629:11:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1136, + "id": 1061, "nodeType": "ParameterList", "parameters": [], - "src": "1640:2:5" + "src": "1640:2:4" }, "returnParameters": { - "id": 1137, + "id": 1062, "nodeType": "ParameterList", "parameters": [], - "src": "1665:0:5" + "src": "1665:0:4" }, - "scope": 1211, - "src": "1620:130:5", + "scope": 1136, + "src": "1620:130:4", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1161, + "id": 1086, "nodeType": "Block", - "src": "2139:47:5", + "src": "2139:47:4", "statements": [ { "expression": { @@ -862,14 +862,14 @@ "arguments": [ { "hexValue": "30", - "id": 1157, + "id": 1082, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2176:1:5", + "src": "2176:1:4", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -884,26 +884,26 @@ "typeString": "int_const 0" } ], - "id": 1156, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2168:7:5", + "src": "2168:7:4", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1155, + "id": 1080, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2168:7:5", + "src": "2168:7:4", "typeDescriptions": {} } }, - "id": 1158, + "id": 1083, "isConstant": false, "isLValue": false, "isPure": true, @@ -912,7 +912,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2168:10:5", + "src": "2168:10:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -927,18 +927,18 @@ "typeString": "address" } ], - "id": 1154, + "id": 1079, "name": "_transferOwnership", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1205, - "src": "2149:18:5", + "referencedDeclaration": 1130, + "src": "2149:18:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1159, + "id": 1084, "isConstant": false, "isLValue": false, "isPure": false, @@ -947,73 +947,73 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2149:30:5", + "src": "2149:30:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1160, + "id": 1085, "nodeType": "ExpressionStatement", - "src": "2149:30:5" + "src": "2149:30:4" } ] }, "documentation": { - "id": 1149, + "id": 1074, "nodeType": "StructuredDocumentation", - "src": "1756:324:5", + "src": "1756:324:4", "text": " @dev Leaves the contract without owner. It will not be possible to call\n `onlyOwner` functions. Can only be called by the current owner.\n NOTE: Renouncing ownership will leave the contract without an owner,\n thereby disabling any functionality that is only available to the owner." }, "functionSelector": "715018a6", - "id": 1162, + "id": 1087, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1152, + "id": 1077, "kind": "modifierInvocation", "modifierName": { - "id": 1151, + "id": 1076, "name": "onlyOwner", "nameLocations": [ - "2129:9:5" + "2129:9:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, - "src": "2129:9:5" + "referencedDeclaration": 1050, + "src": "2129:9:4" }, "nodeType": "ModifierInvocation", - "src": "2129:9:5" + "src": "2129:9:4" } ], "name": "renounceOwnership", - "nameLocation": "2094:17:5", + "nameLocation": "2094:17:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1150, + "id": 1075, "nodeType": "ParameterList", "parameters": [], - "src": "2111:2:5" + "src": "2111:2:4" }, "returnParameters": { - "id": 1153, + "id": 1078, "nodeType": "ParameterList", "parameters": [], - "src": "2139:0:5" + "src": "2139:0:4" }, - "scope": 1211, - "src": "2085:101:5", + "scope": 1136, + "src": "2085:101:4", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 1184, + "id": 1109, "nodeType": "Block", - "src": "2405:128:5", + "src": "2405:128:4", "statements": [ { "expression": { @@ -1023,18 +1023,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1176, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1171, + "id": 1096, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1165, - "src": "2423:8:5", + "referencedDeclaration": 1090, + "src": "2423:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1046,14 +1046,14 @@ "arguments": [ { "hexValue": "30", - "id": 1174, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2443:1:5", + "src": "2443:1:4", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -1068,26 +1068,26 @@ "typeString": "int_const 0" } ], - "id": 1173, + "id": 1098, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2435:7:5", + "src": "2435:7:4", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1172, + "id": 1097, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2435:7:5", + "src": "2435:7:4", "typeDescriptions": {} } }, - "id": 1175, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, @@ -1096,14 +1096,14 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2435:10:5", + "src": "2435:10:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2423:22:5", + "src": "2423:22:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1111,14 +1111,14 @@ }, { "hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373", - "id": 1177, + "id": 1102, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2447:40:5", + "src": "2447:40:4", "typeDescriptions": { "typeIdentifier": "t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe", "typeString": "literal_string \"Ownable: new owner is the zero address\"" @@ -1137,7 +1137,7 @@ "typeString": "literal_string \"Ownable: new owner is the zero address\"" } ], - "id": 1170, + "id": 1095, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -1145,13 +1145,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2415:7:5", + "src": "2415:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1178, + "id": 1103, "isConstant": false, "isLValue": false, "isPure": false, @@ -1160,27 +1160,27 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2415:73:5", + "src": "2415:73:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1179, + "id": 1104, "nodeType": "ExpressionStatement", - "src": "2415:73:5" + "src": "2415:73:4" }, { "expression": { "arguments": [ { - "id": 1181, + "id": 1106, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1165, - "src": "2517:8:5", + "referencedDeclaration": 1090, + "src": "2517:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1194,18 +1194,18 @@ "typeString": "address" } ], - "id": 1180, + "id": 1105, "name": "_transferOwnership", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1205, - "src": "2498:18:5", + "referencedDeclaration": 1130, + "src": "2498:18:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1182, + "id": 1107, "isConstant": false, "isLValue": false, "isPure": false, @@ -1214,63 +1214,63 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2498:28:5", + "src": "2498:28:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1183, + "id": 1108, "nodeType": "ExpressionStatement", - "src": "2498:28:5" + "src": "2498:28:4" } ] }, "documentation": { - "id": 1163, + "id": 1088, "nodeType": "StructuredDocumentation", - "src": "2192:138:5", + "src": "2192:138:4", "text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Can only be called by the current owner." }, "functionSelector": "f2fde38b", - "id": 1185, + "id": 1110, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1168, + "id": 1093, "kind": "modifierInvocation", "modifierName": { - "id": 1167, + "id": 1092, "name": "onlyOwner", "nameLocations": [ - "2395:9:5" + "2395:9:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, - "src": "2395:9:5" + "referencedDeclaration": 1050, + "src": "2395:9:4" }, "nodeType": "ModifierInvocation", - "src": "2395:9:5" + "src": "2395:9:4" } ], "name": "transferOwnership", - "nameLocation": "2344:17:5", + "nameLocation": "2344:17:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1166, + "id": 1091, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1165, + "id": 1090, "mutability": "mutable", "name": "newOwner", - "nameLocation": "2370:8:5", + "nameLocation": "2370:8:4", "nodeType": "VariableDeclaration", - "scope": 1185, - "src": "2362:16:5", + "scope": 1110, + "src": "2362:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1278,10 +1278,10 @@ "typeString": "address" }, "typeName": { - "id": 1164, + "id": 1089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2362:7:5", + "src": "2362:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1291,40 +1291,40 @@ "visibility": "internal" } ], - "src": "2361:18:5" + "src": "2361:18:4" }, "returnParameters": { - "id": 1169, + "id": 1094, "nodeType": "ParameterList", "parameters": [], - "src": "2405:0:5" + "src": "2405:0:4" }, - "scope": 1211, - "src": "2335:198:5", + "scope": 1136, + "src": "2335:198:4", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 1204, + "id": 1129, "nodeType": "Block", - "src": "2750:124:5", + "src": "2750:124:4", "statements": [ { "assignments": [ - 1192 + 1117 ], "declarations": [ { "constant": false, - "id": 1192, + "id": 1117, "mutability": "mutable", "name": "oldOwner", - "nameLocation": "2768:8:5", + "nameLocation": "2768:8:4", "nodeType": "VariableDeclaration", - "scope": 1204, - "src": "2760:16:5", + "scope": 1129, + "src": "2760:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1332,10 +1332,10 @@ "typeString": "address" }, "typeName": { - "id": 1191, + "id": 1116, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2760:7:5", + "src": "2760:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1345,36 +1345,36 @@ "visibility": "internal" } ], - "id": 1194, + "id": 1119, "initialValue": { - "id": 1193, + "id": 1118, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1090, - "src": "2779:6:5", + "referencedDeclaration": 1015, + "src": "2779:6:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "2760:25:5" + "src": "2760:25:4" }, { "expression": { - "id": 1197, + "id": 1122, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1195, + "id": 1120, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1090, - "src": "2795:6:5", + "referencedDeclaration": 1015, + "src": "2795:6:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1383,49 +1383,49 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1196, + "id": 1121, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1188, - "src": "2804:8:5", + "referencedDeclaration": 1113, + "src": "2804:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2795:17:5", + "src": "2795:17:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1198, + "id": 1123, "nodeType": "ExpressionStatement", - "src": "2795:17:5" + "src": "2795:17:4" }, { "eventCall": { "arguments": [ { - "id": 1200, + "id": 1125, "name": "oldOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1192, - "src": "2848:8:5", + "referencedDeclaration": 1117, + "src": "2848:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1201, + "id": 1126, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1188, - "src": "2858:8:5", + "referencedDeclaration": 1113, + "src": "2858:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -1443,18 +1443,18 @@ "typeString": "address" } ], - "id": 1199, + "id": 1124, "name": "OwnershipTransferred", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1096, - "src": "2827:20:5", + "referencedDeclaration": 1021, + "src": "2827:20:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 1202, + "id": 1127, "isConstant": false, "isLValue": false, "isPure": false, @@ -1463,45 +1463,45 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2827:40:5", + "src": "2827:40:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1203, + "id": 1128, "nodeType": "EmitStatement", - "src": "2822:45:5" + "src": "2822:45:4" } ] }, "documentation": { - "id": 1186, + "id": 1111, "nodeType": "StructuredDocumentation", - "src": "2539:143:5", + "src": "2539:143:4", "text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Internal function without access restriction." }, - "id": 1205, + "id": 1130, "implemented": true, "kind": "function", "modifiers": [], "name": "_transferOwnership", - "nameLocation": "2696:18:5", + "nameLocation": "2696:18:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1189, + "id": 1114, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1188, + "id": 1113, "mutability": "mutable", "name": "newOwner", - "nameLocation": "2723:8:5", + "nameLocation": "2723:8:4", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "2715:16:5", + "scope": 1130, + "src": "2715:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1509,10 +1509,10 @@ "typeString": "address" }, "typeName": { - "id": 1187, + "id": 1112, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2715:7:5", + "src": "2715:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1522,16 +1522,16 @@ "visibility": "internal" } ], - "src": "2714:18:5" + "src": "2714:18:4" }, "returnParameters": { - "id": 1190, + "id": 1115, "nodeType": "ParameterList", "parameters": [], - "src": "2750:0:5" + "src": "2750:0:4" }, - "scope": 1211, - "src": "2687:187:5", + "scope": 1136, + "src": "2687:187:4", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -1539,18 +1539,18 @@ { "constant": false, "documentation": { - "id": 1206, + "id": 1131, "nodeType": "StructuredDocumentation", - "src": "2880:254:5", + "src": "2880:254:4", "text": " @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps" }, - "id": 1210, + "id": 1135, "mutability": "mutable", "name": "__gap", - "nameLocation": "3159:5:5", + "nameLocation": "3159:5:4", "nodeType": "VariableDeclaration", - "scope": 1211, - "src": "3139:25:5", + "scope": 1136, + "src": "3139:25:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1559,26 +1559,26 @@ }, "typeName": { "baseType": { - "id": 1207, + "id": 1132, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3139:7:5", + "src": "3139:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1209, + "id": 1134, "length": { "hexValue": "3439", - "id": 1208, + "id": 1133, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3147:2:5", + "src": "3147:2:4", "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", "typeString": "int_const 49" @@ -1586,7 +1586,7 @@ "value": "49" }, "nodeType": "ArrayTypeName", - "src": "3139:11:5", + "src": "3139:11:4", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$49_storage_ptr", "typeString": "uint256[49]" @@ -1595,32 +1595,32 @@ "visibility": "private" } ], - "scope": 1212, - "src": "729:2438:5", + "scope": 1137, + "src": "729:2438:4", "usedErrors": [] } ], - "src": "102:3066:5" + "src": "102:3066:4" }, "legacyAST": { "absolutePath": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "Initializable": [ - 1380 + 1305 ], "OwnableUpgradeable": [ - 1211 + 1136 ] }, - "id": 1212, + "id": 1137, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 1080, + "id": 1005, "literals": [ "solidity", "^", @@ -1628,38 +1628,38 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "102:23:5" + "src": "102:23:4" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol", "file": "../utils/ContextUpgradeable.sol", - "id": 1081, + "id": 1006, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1212, - "sourceUnit": 1890, - "src": "127:41:5", + "scope": 1137, + "sourceUnit": 1815, + "src": "127:41:4", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "file": "../proxy/utils/Initializable.sol", - "id": 1083, + "id": 1008, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1212, - "sourceUnit": 1381, - "src": "169:63:5", + "scope": 1137, + "sourceUnit": 1306, + "src": "169:63:4", "symbolAliases": [ { "foreign": { - "id": 1082, + "id": 1007, "name": "Initializable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1380, - "src": "177:13:5", + "referencedDeclaration": 1305, + "src": "177:13:4", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -1672,64 +1672,64 @@ "baseContracts": [ { "baseName": { - "id": 1085, + "id": 1010, "name": "Initializable", "nameLocations": [ - "769:13:5" + "769:13:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1380, - "src": "769:13:5" + "referencedDeclaration": 1305, + "src": "769:13:4" }, - "id": 1086, + "id": 1011, "nodeType": "InheritanceSpecifier", - "src": "769:13:5" + "src": "769:13:4" }, { "baseName": { - "id": 1087, + "id": 1012, "name": "ContextUpgradeable", "nameLocations": [ - "784:18:5" + "784:18:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1889, - "src": "784:18:5" + "referencedDeclaration": 1814, + "src": "784:18:4" }, - "id": 1088, + "id": 1013, "nodeType": "InheritanceSpecifier", - "src": "784:18:5" + "src": "784:18:4" } ], "canonicalName": "OwnableUpgradeable", "contractDependencies": [], "contractKind": "contract", "documentation": { - "id": 1084, + "id": 1009, "nodeType": "StructuredDocumentation", - "src": "234:494:5", + "src": "234:494:4", "text": " @dev Contract module which provides a basic access control mechanism, where\n there is an account (an owner) that can be granted exclusive access to\n specific functions.\n By default, the owner account will be the one that deploys the contract. This\n can later be changed with {transferOwnership}.\n This module is used through inheritance. It will make available the modifier\n `onlyOwner`, which can be applied to your functions to restrict their use to\n the owner." }, "fullyImplemented": true, - "id": 1211, + "id": 1136, "linearizedBaseContracts": [ - 1211, - 1889, - 1380 + 1136, + 1814, + 1305 ], "name": "OwnableUpgradeable", - "nameLocation": "747:18:5", + "nameLocation": "747:18:4", "nodeType": "ContractDefinition", "nodes": [ { "constant": false, - "id": 1090, + "id": 1015, "mutability": "mutable", "name": "_owner", - "nameLocation": "825:6:5", + "nameLocation": "825:6:4", "nodeType": "VariableDeclaration", - "scope": 1211, - "src": "809:22:5", + "scope": 1136, + "src": "809:22:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1737,10 +1737,10 @@ "typeString": "address" }, "typeName": { - "id": 1089, + "id": 1014, "name": "address", "nodeType": "ElementaryTypeName", - "src": "809:7:5", + "src": "809:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1752,24 +1752,24 @@ { "anonymous": false, "eventSelector": "8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "id": 1096, + "id": 1021, "name": "OwnershipTransferred", - "nameLocation": "844:20:5", + "nameLocation": "844:20:4", "nodeType": "EventDefinition", "parameters": { - "id": 1095, + "id": 1020, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1092, + "id": 1017, "indexed": true, "mutability": "mutable", "name": "previousOwner", - "nameLocation": "881:13:5", + "nameLocation": "881:13:4", "nodeType": "VariableDeclaration", - "scope": 1096, - "src": "865:29:5", + "scope": 1021, + "src": "865:29:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1777,10 +1777,10 @@ "typeString": "address" }, "typeName": { - "id": 1091, + "id": 1016, "name": "address", "nodeType": "ElementaryTypeName", - "src": "865:7:5", + "src": "865:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1791,14 +1791,14 @@ }, { "constant": false, - "id": 1094, + "id": 1019, "indexed": true, "mutability": "mutable", "name": "newOwner", - "nameLocation": "912:8:5", + "nameLocation": "912:8:4", "nodeType": "VariableDeclaration", - "scope": 1096, - "src": "896:24:5", + "scope": 1021, + "src": "896:24:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1806,10 +1806,10 @@ "typeString": "address" }, "typeName": { - "id": 1093, + "id": 1018, "name": "address", "nodeType": "ElementaryTypeName", - "src": "896:7:5", + "src": "896:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1819,33 +1819,33 @@ "visibility": "internal" } ], - "src": "864:57:5" + "src": "864:57:4" }, - "src": "838:84:5" + "src": "838:84:4" }, { "body": { - "id": 1105, + "id": 1030, "nodeType": "Block", - "src": "1076:43:5", + "src": "1076:43:4", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1102, + "id": 1027, "name": "__Ownable_init_unchained", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "1086:24:5", + "referencedDeclaration": 1042, + "src": "1086:24:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1103, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": false, @@ -1854,72 +1854,72 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1086:26:5", + "src": "1086:26:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 1029, "nodeType": "ExpressionStatement", - "src": "1086:26:5" + "src": "1086:26:4" } ] }, "documentation": { - "id": 1097, + "id": 1022, "nodeType": "StructuredDocumentation", - "src": "928:91:5", + "src": "928:91:4", "text": " @dev Initializes the contract setting the deployer as the initial owner." }, - "id": 1106, + "id": 1031, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1100, + "id": 1025, "kind": "modifierInvocation", "modifierName": { - "id": 1099, + "id": 1024, "name": "onlyInitializing", "nameLocations": [ - "1059:16:5" + "1059:16:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "1059:16:5" + "referencedDeclaration": 1250, + "src": "1059:16:4" }, "nodeType": "ModifierInvocation", - "src": "1059:16:5" + "src": "1059:16:4" } ], "name": "__Ownable_init", - "nameLocation": "1033:14:5", + "nameLocation": "1033:14:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1098, + "id": 1023, "nodeType": "ParameterList", "parameters": [], - "src": "1047:2:5" + "src": "1047:2:4" }, "returnParameters": { - "id": 1101, + "id": 1026, "nodeType": "ParameterList", "parameters": [], - "src": "1076:0:5" + "src": "1076:0:4" }, - "scope": 1211, - "src": "1024:95:5", + "scope": 1136, + "src": "1024:95:4", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1116, + "id": 1041, "nodeType": "Block", - "src": "1187:49:5", + "src": "1187:49:4", "statements": [ { "expression": { @@ -1928,18 +1928,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1112, + "id": 1037, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1866, - "src": "1216:10:5", + "referencedDeclaration": 1791, + "src": "1216:10:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1113, + "id": 1038, "isConstant": false, "isLValue": false, "isPure": false, @@ -1948,7 +1948,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1216:12:5", + "src": "1216:12:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -1963,18 +1963,18 @@ "typeString": "address" } ], - "id": 1111, + "id": 1036, "name": "_transferOwnership", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1205, - "src": "1197:18:5", + "referencedDeclaration": 1130, + "src": "1197:18:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1114, + "id": 1039, "isConstant": false, "isLValue": false, "isPure": false, @@ -1983,84 +1983,84 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1197:32:5", + "src": "1197:32:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1115, + "id": 1040, "nodeType": "ExpressionStatement", - "src": "1197:32:5" + "src": "1197:32:4" } ] }, - "id": 1117, + "id": 1042, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1109, + "id": 1034, "kind": "modifierInvocation", "modifierName": { - "id": 1108, + "id": 1033, "name": "onlyInitializing", "nameLocations": [ - "1170:16:5" + "1170:16:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "1170:16:5" + "referencedDeclaration": 1250, + "src": "1170:16:4" }, "nodeType": "ModifierInvocation", - "src": "1170:16:5" + "src": "1170:16:4" } ], "name": "__Ownable_init_unchained", - "nameLocation": "1134:24:5", + "nameLocation": "1134:24:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1107, + "id": 1032, "nodeType": "ParameterList", "parameters": [], - "src": "1158:2:5" + "src": "1158:2:4" }, "returnParameters": { - "id": 1110, + "id": 1035, "nodeType": "ParameterList", "parameters": [], - "src": "1187:0:5" + "src": "1187:0:4" }, - "scope": 1211, - "src": "1125:111:5", + "scope": 1136, + "src": "1125:111:4", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1124, + "id": 1049, "nodeType": "Block", - "src": "1345:41:5", + "src": "1345:41:4", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1120, + "id": 1045, "name": "_checkOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1148, - "src": "1355:11:5", + "referencedDeclaration": 1073, + "src": "1355:11:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$__$", "typeString": "function () view" } }, - "id": 1121, + "id": 1046, "isConstant": false, "isLValue": false, "isPure": false, @@ -2069,103 +2069,103 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1355:13:5", + "src": "1355:13:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1122, + "id": 1047, "nodeType": "ExpressionStatement", - "src": "1355:13:5" + "src": "1355:13:4" }, { - "id": 1123, + "id": 1048, "nodeType": "PlaceholderStatement", - "src": "1378:1:5" + "src": "1378:1:4" } ] }, "documentation": { - "id": 1118, + "id": 1043, "nodeType": "StructuredDocumentation", - "src": "1242:77:5", + "src": "1242:77:4", "text": " @dev Throws if called by any account other than the owner." }, - "id": 1125, + "id": 1050, "name": "onlyOwner", - "nameLocation": "1333:9:5", + "nameLocation": "1333:9:4", "nodeType": "ModifierDefinition", "parameters": { - "id": 1119, + "id": 1044, "nodeType": "ParameterList", "parameters": [], - "src": "1342:2:5" + "src": "1342:2:4" }, - "src": "1324:62:5", + "src": "1324:62:4", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 1058, "nodeType": "Block", - "src": "1517:30:5", + "src": "1517:30:4", "statements": [ { "expression": { - "id": 1131, + "id": 1056, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1090, - "src": "1534:6:5", + "referencedDeclaration": 1015, + "src": "1534:6:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 1130, - "id": 1132, + "functionReturnParameters": 1055, + "id": 1057, "nodeType": "Return", - "src": "1527:13:5" + "src": "1527:13:4" } ] }, "documentation": { - "id": 1126, + "id": 1051, "nodeType": "StructuredDocumentation", - "src": "1392:65:5", + "src": "1392:65:4", "text": " @dev Returns the address of the current owner." }, "functionSelector": "8da5cb5b", - "id": 1134, + "id": 1059, "implemented": true, "kind": "function", "modifiers": [], "name": "owner", - "nameLocation": "1471:5:5", + "nameLocation": "1471:5:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1127, + "id": 1052, "nodeType": "ParameterList", "parameters": [], - "src": "1476:2:5" + "src": "1476:2:4" }, "returnParameters": { - "id": 1130, + "id": 1055, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1129, + "id": 1054, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "1508:7:5", + "scope": 1059, + "src": "1508:7:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2173,10 +2173,10 @@ "typeString": "address" }, "typeName": { - "id": 1128, + "id": 1053, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1508:7:5", + "src": "1508:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2186,19 +2186,19 @@ "visibility": "internal" } ], - "src": "1507:9:5" + "src": "1507:9:4" }, - "scope": 1211, - "src": "1462:85:5", + "scope": 1136, + "src": "1462:85:4", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 1147, + "id": 1072, "nodeType": "Block", - "src": "1665:85:5", + "src": "1665:85:4", "statements": [ { "expression": { @@ -2208,7 +2208,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1143, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -2217,18 +2217,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1139, + "id": 1064, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1134, - "src": "1683:5:5", + "referencedDeclaration": 1059, + "src": "1683:5:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1140, + "id": 1065, "isConstant": false, "isLValue": false, "isPure": false, @@ -2237,7 +2237,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1683:7:5", + "src": "1683:7:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -2250,18 +2250,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1141, + "id": 1066, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1866, - "src": "1694:10:5", + "referencedDeclaration": 1791, + "src": "1694:10:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1142, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": false, @@ -2270,14 +2270,14 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1694:12:5", + "src": "1694:12:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "1683:23:5", + "src": "1683:23:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2285,14 +2285,14 @@ }, { "hexValue": "4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572", - "id": 1144, + "id": 1069, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "1708:34:5", + "src": "1708:34:4", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9924ebdf1add33d25d4ef888e16131f0a5687b0580a36c21b5c301a6c462effe", "typeString": "literal_string \"Ownable: caller is not the owner\"" @@ -2311,7 +2311,7 @@ "typeString": "literal_string \"Ownable: caller is not the owner\"" } ], - "id": 1138, + "id": 1063, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2319,13 +2319,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "1675:7:5", + "src": "1675:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1145, + "id": 1070, "isConstant": false, "isLValue": false, "isPure": false, @@ -2334,55 +2334,55 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1675:68:5", + "src": "1675:68:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1146, + "id": 1071, "nodeType": "ExpressionStatement", - "src": "1675:68:5" + "src": "1675:68:4" } ] }, "documentation": { - "id": 1135, + "id": 1060, "nodeType": "StructuredDocumentation", - "src": "1553:62:5", + "src": "1553:62:4", "text": " @dev Throws if the sender is not the owner." }, - "id": 1148, + "id": 1073, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOwner", - "nameLocation": "1629:11:5", + "nameLocation": "1629:11:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1136, + "id": 1061, "nodeType": "ParameterList", "parameters": [], - "src": "1640:2:5" + "src": "1640:2:4" }, "returnParameters": { - "id": 1137, + "id": 1062, "nodeType": "ParameterList", "parameters": [], - "src": "1665:0:5" + "src": "1665:0:4" }, - "scope": 1211, - "src": "1620:130:5", + "scope": 1136, + "src": "1620:130:4", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1161, + "id": 1086, "nodeType": "Block", - "src": "2139:47:5", + "src": "2139:47:4", "statements": [ { "expression": { @@ -2391,14 +2391,14 @@ "arguments": [ { "hexValue": "30", - "id": 1157, + "id": 1082, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2176:1:5", + "src": "2176:1:4", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -2413,26 +2413,26 @@ "typeString": "int_const 0" } ], - "id": 1156, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2168:7:5", + "src": "2168:7:4", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1155, + "id": 1080, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2168:7:5", + "src": "2168:7:4", "typeDescriptions": {} } }, - "id": 1158, + "id": 1083, "isConstant": false, "isLValue": false, "isPure": true, @@ -2441,7 +2441,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2168:10:5", + "src": "2168:10:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -2456,18 +2456,18 @@ "typeString": "address" } ], - "id": 1154, + "id": 1079, "name": "_transferOwnership", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1205, - "src": "2149:18:5", + "referencedDeclaration": 1130, + "src": "2149:18:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1159, + "id": 1084, "isConstant": false, "isLValue": false, "isPure": false, @@ -2476,73 +2476,73 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2149:30:5", + "src": "2149:30:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1160, + "id": 1085, "nodeType": "ExpressionStatement", - "src": "2149:30:5" + "src": "2149:30:4" } ] }, "documentation": { - "id": 1149, + "id": 1074, "nodeType": "StructuredDocumentation", - "src": "1756:324:5", + "src": "1756:324:4", "text": " @dev Leaves the contract without owner. It will not be possible to call\n `onlyOwner` functions. Can only be called by the current owner.\n NOTE: Renouncing ownership will leave the contract without an owner,\n thereby disabling any functionality that is only available to the owner." }, "functionSelector": "715018a6", - "id": 1162, + "id": 1087, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1152, + "id": 1077, "kind": "modifierInvocation", "modifierName": { - "id": 1151, + "id": 1076, "name": "onlyOwner", "nameLocations": [ - "2129:9:5" + "2129:9:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, - "src": "2129:9:5" + "referencedDeclaration": 1050, + "src": "2129:9:4" }, "nodeType": "ModifierInvocation", - "src": "2129:9:5" + "src": "2129:9:4" } ], "name": "renounceOwnership", - "nameLocation": "2094:17:5", + "nameLocation": "2094:17:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1150, + "id": 1075, "nodeType": "ParameterList", "parameters": [], - "src": "2111:2:5" + "src": "2111:2:4" }, "returnParameters": { - "id": 1153, + "id": 1078, "nodeType": "ParameterList", "parameters": [], - "src": "2139:0:5" + "src": "2139:0:4" }, - "scope": 1211, - "src": "2085:101:5", + "scope": 1136, + "src": "2085:101:4", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 1184, + "id": 1109, "nodeType": "Block", - "src": "2405:128:5", + "src": "2405:128:4", "statements": [ { "expression": { @@ -2552,18 +2552,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 1176, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1171, + "id": 1096, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1165, - "src": "2423:8:5", + "referencedDeclaration": 1090, + "src": "2423:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2575,14 +2575,14 @@ "arguments": [ { "hexValue": "30", - "id": 1174, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2443:1:5", + "src": "2443:1:4", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -2597,26 +2597,26 @@ "typeString": "int_const 0" } ], - "id": 1173, + "id": 1098, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2435:7:5", + "src": "2435:7:4", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1172, + "id": 1097, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2435:7:5", + "src": "2435:7:4", "typeDescriptions": {} } }, - "id": 1175, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, @@ -2625,14 +2625,14 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2435:10:5", + "src": "2435:10:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2423:22:5", + "src": "2423:22:4", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2640,14 +2640,14 @@ }, { "hexValue": "4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373", - "id": 1177, + "id": 1102, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2447:40:5", + "src": "2447:40:4", "typeDescriptions": { "typeIdentifier": "t_stringliteral_245f15ff17f551913a7a18385165551503906a406f905ac1c2437281a7cd0cfe", "typeString": "literal_string \"Ownable: new owner is the zero address\"" @@ -2666,7 +2666,7 @@ "typeString": "literal_string \"Ownable: new owner is the zero address\"" } ], - "id": 1170, + "id": 1095, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2674,13 +2674,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2415:7:5", + "src": "2415:7:4", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1178, + "id": 1103, "isConstant": false, "isLValue": false, "isPure": false, @@ -2689,27 +2689,27 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2415:73:5", + "src": "2415:73:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1179, + "id": 1104, "nodeType": "ExpressionStatement", - "src": "2415:73:5" + "src": "2415:73:4" }, { "expression": { "arguments": [ { - "id": 1181, + "id": 1106, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1165, - "src": "2517:8:5", + "referencedDeclaration": 1090, + "src": "2517:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2723,18 +2723,18 @@ "typeString": "address" } ], - "id": 1180, + "id": 1105, "name": "_transferOwnership", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1205, - "src": "2498:18:5", + "referencedDeclaration": 1130, + "src": "2498:18:4", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1182, + "id": 1107, "isConstant": false, "isLValue": false, "isPure": false, @@ -2743,63 +2743,63 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2498:28:5", + "src": "2498:28:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1183, + "id": 1108, "nodeType": "ExpressionStatement", - "src": "2498:28:5" + "src": "2498:28:4" } ] }, "documentation": { - "id": 1163, + "id": 1088, "nodeType": "StructuredDocumentation", - "src": "2192:138:5", + "src": "2192:138:4", "text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Can only be called by the current owner." }, "functionSelector": "f2fde38b", - "id": 1185, + "id": 1110, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1168, + "id": 1093, "kind": "modifierInvocation", "modifierName": { - "id": 1167, + "id": 1092, "name": "onlyOwner", "nameLocations": [ - "2395:9:5" + "2395:9:4" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1125, - "src": "2395:9:5" + "referencedDeclaration": 1050, + "src": "2395:9:4" }, "nodeType": "ModifierInvocation", - "src": "2395:9:5" + "src": "2395:9:4" } ], "name": "transferOwnership", - "nameLocation": "2344:17:5", + "nameLocation": "2344:17:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1166, + "id": 1091, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1165, + "id": 1090, "mutability": "mutable", "name": "newOwner", - "nameLocation": "2370:8:5", + "nameLocation": "2370:8:4", "nodeType": "VariableDeclaration", - "scope": 1185, - "src": "2362:16:5", + "scope": 1110, + "src": "2362:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2807,10 +2807,10 @@ "typeString": "address" }, "typeName": { - "id": 1164, + "id": 1089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2362:7:5", + "src": "2362:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2820,40 +2820,40 @@ "visibility": "internal" } ], - "src": "2361:18:5" + "src": "2361:18:4" }, "returnParameters": { - "id": 1169, + "id": 1094, "nodeType": "ParameterList", "parameters": [], - "src": "2405:0:5" + "src": "2405:0:4" }, - "scope": 1211, - "src": "2335:198:5", + "scope": 1136, + "src": "2335:198:4", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 1204, + "id": 1129, "nodeType": "Block", - "src": "2750:124:5", + "src": "2750:124:4", "statements": [ { "assignments": [ - 1192 + 1117 ], "declarations": [ { "constant": false, - "id": 1192, + "id": 1117, "mutability": "mutable", "name": "oldOwner", - "nameLocation": "2768:8:5", + "nameLocation": "2768:8:4", "nodeType": "VariableDeclaration", - "scope": 1204, - "src": "2760:16:5", + "scope": 1129, + "src": "2760:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2861,10 +2861,10 @@ "typeString": "address" }, "typeName": { - "id": 1191, + "id": 1116, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2760:7:5", + "src": "2760:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2874,36 +2874,36 @@ "visibility": "internal" } ], - "id": 1194, + "id": 1119, "initialValue": { - "id": 1193, + "id": 1118, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1090, - "src": "2779:6:5", + "referencedDeclaration": 1015, + "src": "2779:6:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "VariableDeclarationStatement", - "src": "2760:25:5" + "src": "2760:25:4" }, { "expression": { - "id": 1197, + "id": 1122, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1195, + "id": 1120, "name": "_owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1090, - "src": "2795:6:5", + "referencedDeclaration": 1015, + "src": "2795:6:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2912,49 +2912,49 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1196, + "id": 1121, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1188, - "src": "2804:8:5", + "referencedDeclaration": 1113, + "src": "2804:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "2795:17:5", + "src": "2795:17:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1198, + "id": 1123, "nodeType": "ExpressionStatement", - "src": "2795:17:5" + "src": "2795:17:4" }, { "eventCall": { "arguments": [ { - "id": 1200, + "id": 1125, "name": "oldOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1192, - "src": "2848:8:5", + "referencedDeclaration": 1117, + "src": "2848:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1201, + "id": 1126, "name": "newOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1188, - "src": "2858:8:5", + "referencedDeclaration": 1113, + "src": "2858:8:4", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -2972,18 +2972,18 @@ "typeString": "address" } ], - "id": 1199, + "id": 1124, "name": "OwnershipTransferred", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1096, - "src": "2827:20:5", + "referencedDeclaration": 1021, + "src": "2827:20:4", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$returns$__$", "typeString": "function (address,address)" } }, - "id": 1202, + "id": 1127, "isConstant": false, "isLValue": false, "isPure": false, @@ -2992,45 +2992,45 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2827:40:5", + "src": "2827:40:4", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1203, + "id": 1128, "nodeType": "EmitStatement", - "src": "2822:45:5" + "src": "2822:45:4" } ] }, "documentation": { - "id": 1186, + "id": 1111, "nodeType": "StructuredDocumentation", - "src": "2539:143:5", + "src": "2539:143:4", "text": " @dev Transfers ownership of the contract to a new account (`newOwner`).\n Internal function without access restriction." }, - "id": 1205, + "id": 1130, "implemented": true, "kind": "function", "modifiers": [], "name": "_transferOwnership", - "nameLocation": "2696:18:5", + "nameLocation": "2696:18:4", "nodeType": "FunctionDefinition", "parameters": { - "id": 1189, + "id": 1114, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1188, + "id": 1113, "mutability": "mutable", "name": "newOwner", - "nameLocation": "2723:8:5", + "nameLocation": "2723:8:4", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "2715:16:5", + "scope": 1130, + "src": "2715:16:4", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3038,10 +3038,10 @@ "typeString": "address" }, "typeName": { - "id": 1187, + "id": 1112, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2715:7:5", + "src": "2715:7:4", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -3051,16 +3051,16 @@ "visibility": "internal" } ], - "src": "2714:18:5" + "src": "2714:18:4" }, "returnParameters": { - "id": 1190, + "id": 1115, "nodeType": "ParameterList", "parameters": [], - "src": "2750:0:5" + "src": "2750:0:4" }, - "scope": 1211, - "src": "2687:187:5", + "scope": 1136, + "src": "2687:187:4", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -3068,18 +3068,18 @@ { "constant": false, "documentation": { - "id": 1206, + "id": 1131, "nodeType": "StructuredDocumentation", - "src": "2880:254:5", + "src": "2880:254:4", "text": " @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps" }, - "id": 1210, + "id": 1135, "mutability": "mutable", "name": "__gap", - "nameLocation": "3159:5:5", + "nameLocation": "3159:5:4", "nodeType": "VariableDeclaration", - "scope": 1211, - "src": "3139:25:5", + "scope": 1136, + "src": "3139:25:4", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3088,26 +3088,26 @@ }, "typeName": { "baseType": { - "id": 1207, + "id": 1132, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3139:7:5", + "src": "3139:7:4", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1209, + "id": 1134, "length": { "hexValue": "3439", - "id": 1208, + "id": 1133, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3147:2:5", + "src": "3147:2:4", "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", "typeString": "int_const 49" @@ -3115,7 +3115,7 @@ "value": "49" }, "nodeType": "ArrayTypeName", - "src": "3139:11:5", + "src": "3139:11:4", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$49_storage_ptr", "typeString": "uint256[49]" @@ -3124,12 +3124,12 @@ "visibility": "private" } ], - "scope": 1212, - "src": "729:2438:5", + "scope": 1137, + "src": "729:2438:4", "usedErrors": [] } ], - "src": "102:3066:5" + "src": "102:3066:4" }, "compiler": { "name": "solc", @@ -3137,5 +3137,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2024-06-27T12:24:25.262Z" + "updatedAt": "2024-07-04T18:51:17.141Z" } \ No newline at end of file diff --git a/build/contracts/PausableUpgradeable.json b/build/contracts/PausableUpgradeable.json index 2ddae33..cecf9d3 100644 --- a/build/contracts/PausableUpgradeable.json +++ b/build/contracts/PausableUpgradeable.json @@ -64,21 +64,21 @@ "absolutePath": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "Initializable": [ - 1380 + 1305 ], "PausableUpgradeable": [ - 1508 + 1433 ] }, - "id": 1509, + "id": 1434, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 1382, + "id": 1307, "literals": [ "solidity", "^", @@ -86,38 +86,38 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "105:23:7" + "src": "105:23:6" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol", "file": "../utils/ContextUpgradeable.sol", - "id": 1383, + "id": 1308, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1509, - "sourceUnit": 1890, - "src": "130:41:7", + "scope": 1434, + "sourceUnit": 1815, + "src": "130:41:6", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "file": "../proxy/utils/Initializable.sol", - "id": 1385, + "id": 1310, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1509, - "sourceUnit": 1381, - "src": "172:63:7", + "scope": 1434, + "sourceUnit": 1306, + "src": "172:63:6", "symbolAliases": [ { "foreign": { - "id": 1384, + "id": 1309, "name": "Initializable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1380, - "src": "180:13:7", + "referencedDeclaration": 1305, + "src": "180:13:6", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -130,82 +130,82 @@ "baseContracts": [ { "baseName": { - "id": 1387, + "id": 1312, "name": "Initializable", "nameLocations": [ - "718:13:7" + "718:13:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1380, - "src": "718:13:7" + "referencedDeclaration": 1305, + "src": "718:13:6" }, - "id": 1388, + "id": 1313, "nodeType": "InheritanceSpecifier", - "src": "718:13:7" + "src": "718:13:6" }, { "baseName": { - "id": 1389, + "id": 1314, "name": "ContextUpgradeable", "nameLocations": [ - "733:18:7" + "733:18:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1889, - "src": "733:18:7" + "referencedDeclaration": 1814, + "src": "733:18:6" }, - "id": 1390, + "id": 1315, "nodeType": "InheritanceSpecifier", - "src": "733:18:7" + "src": "733:18:6" } ], "canonicalName": "PausableUpgradeable", "contractDependencies": [], "contractKind": "contract", "documentation": { - "id": 1386, + "id": 1311, "nodeType": "StructuredDocumentation", - "src": "237:439:7", + "src": "237:439:6", "text": " @dev Contract module which allows children to implement an emergency stop\n mechanism that can be triggered by an authorized account.\n This module is used through inheritance. It will make available the\n modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n the functions of your contract. Note that they will not be pausable by\n simply including this module, only once the modifiers are put in place." }, "fullyImplemented": true, - "id": 1508, + "id": 1433, "linearizedBaseContracts": [ - 1508, - 1889, - 1380 + 1433, + 1814, + 1305 ], "name": "PausableUpgradeable", - "nameLocation": "695:19:7", + "nameLocation": "695:19:6", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": { - "id": 1391, + "id": 1316, "nodeType": "StructuredDocumentation", - "src": "758:73:7", + "src": "758:73:6", "text": " @dev Emitted when the pause is triggered by `account`." }, "eventSelector": "62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258", - "id": 1395, + "id": 1320, "name": "Paused", - "nameLocation": "842:6:7", + "nameLocation": "842:6:6", "nodeType": "EventDefinition", "parameters": { - "id": 1394, + "id": 1319, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1393, + "id": 1318, "indexed": false, "mutability": "mutable", "name": "account", - "nameLocation": "857:7:7", + "nameLocation": "857:7:6", "nodeType": "VariableDeclaration", - "scope": 1395, - "src": "849:15:7", + "scope": 1320, + "src": "849:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -213,10 +213,10 @@ "typeString": "address" }, "typeName": { - "id": 1392, + "id": 1317, "name": "address", "nodeType": "ElementaryTypeName", - "src": "849:7:7", + "src": "849:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -226,37 +226,37 @@ "visibility": "internal" } ], - "src": "848:17:7" + "src": "848:17:6" }, - "src": "836:30:7" + "src": "836:30:6" }, { "anonymous": false, "documentation": { - "id": 1396, + "id": 1321, "nodeType": "StructuredDocumentation", - "src": "872:70:7", + "src": "872:70:6", "text": " @dev Emitted when the pause is lifted by `account`." }, "eventSelector": "5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa", - "id": 1400, + "id": 1325, "name": "Unpaused", - "nameLocation": "953:8:7", + "nameLocation": "953:8:6", "nodeType": "EventDefinition", "parameters": { - "id": 1399, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1398, + "id": 1323, "indexed": false, "mutability": "mutable", "name": "account", - "nameLocation": "970:7:7", + "nameLocation": "970:7:6", "nodeType": "VariableDeclaration", - "scope": 1400, - "src": "962:15:7", + "scope": 1325, + "src": "962:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -264,10 +264,10 @@ "typeString": "address" }, "typeName": { - "id": 1397, + "id": 1322, "name": "address", "nodeType": "ElementaryTypeName", - "src": "962:7:7", + "src": "962:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -277,19 +277,19 @@ "visibility": "internal" } ], - "src": "961:17:7" + "src": "961:17:6" }, - "src": "947:32:7" + "src": "947:32:6" }, { "constant": false, - "id": 1402, + "id": 1327, "mutability": "mutable", "name": "_paused", - "nameLocation": "998:7:7", + "nameLocation": "998:7:6", "nodeType": "VariableDeclaration", - "scope": 1508, - "src": "985:20:7", + "scope": 1433, + "src": "985:20:6", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -297,10 +297,10 @@ "typeString": "bool" }, "typeName": { - "id": 1401, + "id": 1326, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "985:4:7", + "src": "985:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -310,27 +310,27 @@ }, { "body": { - "id": 1411, + "id": 1336, "nodeType": "Block", - "src": "1137:44:7", + "src": "1137:44:6", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1408, + "id": 1333, "name": "__Pausable_init_unchained", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1422, - "src": "1147:25:7", + "referencedDeclaration": 1347, + "src": "1147:25:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1409, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -339,87 +339,87 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1147:27:7", + "src": "1147:27:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1410, + "id": 1335, "nodeType": "ExpressionStatement", - "src": "1147:27:7" + "src": "1147:27:6" } ] }, "documentation": { - "id": 1403, + "id": 1328, "nodeType": "StructuredDocumentation", - "src": "1012:67:7", + "src": "1012:67:6", "text": " @dev Initializes the contract in unpaused state." }, - "id": 1412, + "id": 1337, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1406, + "id": 1331, "kind": "modifierInvocation", "modifierName": { - "id": 1405, + "id": 1330, "name": "onlyInitializing", "nameLocations": [ - "1120:16:7" + "1120:16:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "1120:16:7" + "referencedDeclaration": 1250, + "src": "1120:16:6" }, "nodeType": "ModifierInvocation", - "src": "1120:16:7" + "src": "1120:16:6" } ], "name": "__Pausable_init", - "nameLocation": "1093:15:7", + "nameLocation": "1093:15:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1404, + "id": 1329, "nodeType": "ParameterList", "parameters": [], - "src": "1108:2:7" + "src": "1108:2:6" }, "returnParameters": { - "id": 1407, + "id": 1332, "nodeType": "ParameterList", "parameters": [], - "src": "1137:0:7" + "src": "1137:0:6" }, - "scope": 1508, - "src": "1084:97:7", + "scope": 1433, + "src": "1084:97:6", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1421, + "id": 1346, "nodeType": "Block", - "src": "1250:32:7", + "src": "1250:32:6", "statements": [ { "expression": { - "id": 1419, + "id": 1344, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1417, + "id": 1342, "name": "_paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "1260:7:7", + "referencedDeclaration": 1327, + "src": "1260:7:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -429,97 +429,97 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 1418, + "id": 1343, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1270:5:7", + "src": "1270:5:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "src": "1260:15:7", + "src": "1260:15:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1420, + "id": 1345, "nodeType": "ExpressionStatement", - "src": "1260:15:7" + "src": "1260:15:6" } ] }, - "id": 1422, + "id": 1347, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1415, + "id": 1340, "kind": "modifierInvocation", "modifierName": { - "id": 1414, + "id": 1339, "name": "onlyInitializing", "nameLocations": [ - "1233:16:7" + "1233:16:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "1233:16:7" + "referencedDeclaration": 1250, + "src": "1233:16:6" }, "nodeType": "ModifierInvocation", - "src": "1233:16:7" + "src": "1233:16:6" } ], "name": "__Pausable_init_unchained", - "nameLocation": "1196:25:7", + "nameLocation": "1196:25:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1413, + "id": 1338, "nodeType": "ParameterList", "parameters": [], - "src": "1221:2:7" + "src": "1221:2:6" }, "returnParameters": { - "id": 1416, + "id": 1341, "nodeType": "ParameterList", "parameters": [], - "src": "1250:0:7" + "src": "1250:0:6" }, - "scope": 1508, - "src": "1187:95:7", + "scope": 1433, + "src": "1187:95:6", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1429, + "id": 1354, "nodeType": "Block", - "src": "1493:47:7", + "src": "1493:47:6", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1425, + "id": 1350, "name": "_requireNotPaused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1459, - "src": "1503:17:7", + "referencedDeclaration": 1384, + "src": "1503:17:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$__$", "typeString": "function () view" } }, - "id": 1426, + "id": 1351, "isConstant": false, "isLValue": false, "isPure": false, @@ -528,67 +528,67 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1503:19:7", + "src": "1503:19:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1427, + "id": 1352, "nodeType": "ExpressionStatement", - "src": "1503:19:7" + "src": "1503:19:6" }, { - "id": 1428, + "id": 1353, "nodeType": "PlaceholderStatement", - "src": "1532:1:7" + "src": "1532:1:6" } ] }, "documentation": { - "id": 1423, + "id": 1348, "nodeType": "StructuredDocumentation", - "src": "1288:175:7", + "src": "1288:175:6", "text": " @dev Modifier to make a function callable only when the contract is not paused.\n Requirements:\n - The contract must not be paused." }, - "id": 1430, + "id": 1355, "name": "whenNotPaused", - "nameLocation": "1477:13:7", + "nameLocation": "1477:13:6", "nodeType": "ModifierDefinition", "parameters": { - "id": 1424, + "id": 1349, "nodeType": "ParameterList", "parameters": [], - "src": "1490:2:7" + "src": "1490:2:6" }, - "src": "1468:72:7", + "src": "1468:72:6", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1437, + "id": 1362, "nodeType": "Block", - "src": "1740:44:7", + "src": "1740:44:6", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1433, + "id": 1358, "name": "_requirePaused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1470, - "src": "1750:14:7", + "referencedDeclaration": 1395, + "src": "1750:14:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$__$", "typeString": "function () view" } }, - "id": 1434, + "id": 1359, "isConstant": false, "isLValue": false, "isPure": false, @@ -597,103 +597,103 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1750:16:7", + "src": "1750:16:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1435, + "id": 1360, "nodeType": "ExpressionStatement", - "src": "1750:16:7" + "src": "1750:16:6" }, { - "id": 1436, + "id": 1361, "nodeType": "PlaceholderStatement", - "src": "1776:1:7" + "src": "1776:1:6" } ] }, "documentation": { - "id": 1431, + "id": 1356, "nodeType": "StructuredDocumentation", - "src": "1546:167:7", + "src": "1546:167:6", "text": " @dev Modifier to make a function callable only when the contract is paused.\n Requirements:\n - The contract must be paused." }, - "id": 1438, + "id": 1363, "name": "whenPaused", - "nameLocation": "1727:10:7", + "nameLocation": "1727:10:6", "nodeType": "ModifierDefinition", "parameters": { - "id": 1432, + "id": 1357, "nodeType": "ParameterList", "parameters": [], - "src": "1737:2:7" + "src": "1737:2:6" }, - "src": "1718:66:7", + "src": "1718:66:6", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1446, + "id": 1371, "nodeType": "Block", - "src": "1932:31:7", + "src": "1932:31:6", "statements": [ { "expression": { - "id": 1444, + "id": 1369, "name": "_paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "1949:7:7", + "referencedDeclaration": 1327, + "src": "1949:7:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1443, - "id": 1445, + "functionReturnParameters": 1368, + "id": 1370, "nodeType": "Return", - "src": "1942:14:7" + "src": "1942:14:6" } ] }, "documentation": { - "id": 1439, + "id": 1364, "nodeType": "StructuredDocumentation", - "src": "1790:84:7", + "src": "1790:84:6", "text": " @dev Returns true if the contract is paused, and false otherwise." }, "functionSelector": "5c975abb", - "id": 1447, + "id": 1372, "implemented": true, "kind": "function", "modifiers": [], "name": "paused", - "nameLocation": "1888:6:7", + "nameLocation": "1888:6:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1440, + "id": 1365, "nodeType": "ParameterList", "parameters": [], - "src": "1894:2:7" + "src": "1894:2:6" }, "returnParameters": { - "id": 1443, + "id": 1368, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1442, + "id": 1367, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1447, - "src": "1926:4:7", + "scope": 1372, + "src": "1926:4:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -701,10 +701,10 @@ "typeString": "bool" }, "typeName": { - "id": 1441, + "id": 1366, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1926:4:7", + "src": "1926:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -713,25 +713,25 @@ "visibility": "internal" } ], - "src": "1925:6:7" + "src": "1925:6:6" }, - "scope": 1508, - "src": "1879:84:7", + "scope": 1433, + "src": "1879:84:6", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 1458, + "id": 1383, "nodeType": "Block", - "src": "2082:55:7", + "src": "2082:55:6", "statements": [ { "expression": { "arguments": [ { - "id": 1454, + "id": 1379, "isConstant": false, "isLValue": false, "isPure": false, @@ -739,23 +739,23 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2100:9:7", + "src": "2100:9:6", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1452, + "id": 1377, "name": "paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1447, - "src": "2101:6:7", + "referencedDeclaration": 1372, + "src": "2101:6:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", "typeString": "function () view returns (bool)" } }, - "id": 1453, + "id": 1378, "isConstant": false, "isLValue": false, "isPure": false, @@ -764,7 +764,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2101:8:7", + "src": "2101:8:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -778,14 +778,14 @@ }, { "hexValue": "5061757361626c653a20706175736564", - "id": 1455, + "id": 1380, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2111:18:7", + "src": "2111:18:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a", "typeString": "literal_string \"Pausable: paused\"" @@ -804,7 +804,7 @@ "typeString": "literal_string \"Pausable: paused\"" } ], - "id": 1451, + "id": 1376, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -812,13 +812,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2092:7:7", + "src": "2092:7:6", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1456, + "id": 1381, "isConstant": false, "isLValue": false, "isPure": false, @@ -827,55 +827,55 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2092:38:7", + "src": "2092:38:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1457, + "id": 1382, "nodeType": "ExpressionStatement", - "src": "2092:38:7" + "src": "2092:38:6" } ] }, "documentation": { - "id": 1448, + "id": 1373, "nodeType": "StructuredDocumentation", - "src": "1969:57:7", + "src": "1969:57:6", "text": " @dev Throws if the contract is paused." }, - "id": 1459, + "id": 1384, "implemented": true, "kind": "function", "modifiers": [], "name": "_requireNotPaused", - "nameLocation": "2040:17:7", + "nameLocation": "2040:17:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1449, + "id": 1374, "nodeType": "ParameterList", "parameters": [], - "src": "2057:2:7" + "src": "2057:2:6" }, "returnParameters": { - "id": 1450, + "id": 1375, "nodeType": "ParameterList", "parameters": [], - "src": "2082:0:7" + "src": "2082:0:6" }, - "scope": 1508, - "src": "2031:106:7", + "scope": 1433, + "src": "2031:106:6", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1469, + "id": 1394, "nodeType": "Block", - "src": "2257:58:7", + "src": "2257:58:6", "statements": [ { "expression": { @@ -884,18 +884,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1464, + "id": 1389, "name": "paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1447, - "src": "2275:6:7", + "referencedDeclaration": 1372, + "src": "2275:6:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", "typeString": "function () view returns (bool)" } }, - "id": 1465, + "id": 1390, "isConstant": false, "isLValue": false, "isPure": false, @@ -904,7 +904,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2275:8:7", + "src": "2275:8:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -913,14 +913,14 @@ }, { "hexValue": "5061757361626c653a206e6f7420706175736564", - "id": 1466, + "id": 1391, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2285:22:7", + "src": "2285:22:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_0d1d997348c4b502650619e51f7d09f80514d98b6993be5051d07f703984619a", "typeString": "literal_string \"Pausable: not paused\"" @@ -939,7 +939,7 @@ "typeString": "literal_string \"Pausable: not paused\"" } ], - "id": 1463, + "id": 1388, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -947,13 +947,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2267:7:7", + "src": "2267:7:6", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1467, + "id": 1392, "isConstant": false, "isLValue": false, "isPure": false, @@ -962,70 +962,70 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2267:41:7", + "src": "2267:41:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1468, + "id": 1393, "nodeType": "ExpressionStatement", - "src": "2267:41:7" + "src": "2267:41:6" } ] }, "documentation": { - "id": 1460, + "id": 1385, "nodeType": "StructuredDocumentation", - "src": "2143:61:7", + "src": "2143:61:6", "text": " @dev Throws if the contract is not paused." }, - "id": 1470, + "id": 1395, "implemented": true, "kind": "function", "modifiers": [], "name": "_requirePaused", - "nameLocation": "2218:14:7", + "nameLocation": "2218:14:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1461, + "id": 1386, "nodeType": "ParameterList", "parameters": [], - "src": "2232:2:7" + "src": "2232:2:6" }, "returnParameters": { - "id": 1462, + "id": 1387, "nodeType": "ParameterList", "parameters": [], - "src": "2257:0:7" + "src": "2257:0:6" }, - "scope": 1508, - "src": "2209:106:7", + "scope": 1433, + "src": "2209:106:6", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1485, + "id": 1410, "nodeType": "Block", - "src": "2499:66:7", + "src": "2499:66:6", "statements": [ { "expression": { - "id": 1478, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1476, + "id": 1401, "name": "_paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "2509:7:7", + "referencedDeclaration": 1327, + "src": "2509:7:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1035,29 +1035,29 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 1477, + "id": 1402, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2519:4:7", + "src": "2519:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "2509:14:7", + "src": "2509:14:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1479, + "id": 1404, "nodeType": "ExpressionStatement", - "src": "2509:14:7" + "src": "2509:14:6" }, { "eventCall": { @@ -1066,18 +1066,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1481, + "id": 1406, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1866, - "src": "2545:10:7", + "referencedDeclaration": 1791, + "src": "2545:10:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1482, + "id": 1407, "isConstant": false, "isLValue": false, "isPure": false, @@ -1086,7 +1086,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2545:12:7", + "src": "2545:12:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -1101,18 +1101,18 @@ "typeString": "address" } ], - "id": 1480, + "id": 1405, "name": "Paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "2538:6:7", + "referencedDeclaration": 1320, + "src": "2538:6:6", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1483, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -1121,87 +1121,87 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2538:20:7", + "src": "2538:20:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1484, + "id": 1409, "nodeType": "EmitStatement", - "src": "2533:25:7" + "src": "2533:25:6" } ] }, "documentation": { - "id": 1471, + "id": 1396, "nodeType": "StructuredDocumentation", - "src": "2321:124:7", + "src": "2321:124:6", "text": " @dev Triggers stopped state.\n Requirements:\n - The contract must not be paused." }, - "id": 1486, + "id": 1411, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1474, + "id": 1399, "kind": "modifierInvocation", "modifierName": { - "id": 1473, + "id": 1398, "name": "whenNotPaused", "nameLocations": [ - "2485:13:7" + "2485:13:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1430, - "src": "2485:13:7" + "referencedDeclaration": 1355, + "src": "2485:13:6" }, "nodeType": "ModifierInvocation", - "src": "2485:13:7" + "src": "2485:13:6" } ], "name": "_pause", - "nameLocation": "2459:6:7", + "nameLocation": "2459:6:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1472, + "id": 1397, "nodeType": "ParameterList", "parameters": [], - "src": "2465:2:7" + "src": "2465:2:6" }, "returnParameters": { - "id": 1475, + "id": 1400, "nodeType": "ParameterList", "parameters": [], - "src": "2499:0:7" + "src": "2499:0:6" }, - "scope": 1508, - "src": "2450:115:7", + "scope": 1433, + "src": "2450:115:6", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1501, + "id": 1426, "nodeType": "Block", - "src": "2745:69:7", + "src": "2745:69:6", "statements": [ { "expression": { - "id": 1494, + "id": 1419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1492, + "id": 1417, "name": "_paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "2755:7:7", + "referencedDeclaration": 1327, + "src": "2755:7:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1211,29 +1211,29 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 1493, + "id": 1418, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2765:5:7", + "src": "2765:5:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "src": "2755:15:7", + "src": "2755:15:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1495, + "id": 1420, "nodeType": "ExpressionStatement", - "src": "2755:15:7" + "src": "2755:15:6" }, { "eventCall": { @@ -1242,18 +1242,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1497, + "id": 1422, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1866, - "src": "2794:10:7", + "referencedDeclaration": 1791, + "src": "2794:10:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1498, + "id": 1423, "isConstant": false, "isLValue": false, "isPure": false, @@ -1262,7 +1262,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2794:12:7", + "src": "2794:12:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -1277,18 +1277,18 @@ "typeString": "address" } ], - "id": 1496, + "id": 1421, "name": "Unpaused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1400, - "src": "2785:8:7", + "referencedDeclaration": 1325, + "src": "2785:8:6", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1499, + "id": 1424, "isConstant": false, "isLValue": false, "isPure": false, @@ -1297,63 +1297,63 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2785:22:7", + "src": "2785:22:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1500, + "id": 1425, "nodeType": "EmitStatement", - "src": "2780:27:7" + "src": "2780:27:6" } ] }, "documentation": { - "id": 1487, + "id": 1412, "nodeType": "StructuredDocumentation", - "src": "2571:121:7", + "src": "2571:121:6", "text": " @dev Returns to normal state.\n Requirements:\n - The contract must be paused." }, - "id": 1502, + "id": 1427, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1490, + "id": 1415, "kind": "modifierInvocation", "modifierName": { - "id": 1489, + "id": 1414, "name": "whenPaused", "nameLocations": [ - "2734:10:7" + "2734:10:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1438, - "src": "2734:10:7" + "referencedDeclaration": 1363, + "src": "2734:10:6" }, "nodeType": "ModifierInvocation", - "src": "2734:10:7" + "src": "2734:10:6" } ], "name": "_unpause", - "nameLocation": "2706:8:7", + "nameLocation": "2706:8:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1488, + "id": 1413, "nodeType": "ParameterList", "parameters": [], - "src": "2714:2:7" + "src": "2714:2:6" }, "returnParameters": { - "id": 1491, + "id": 1416, "nodeType": "ParameterList", "parameters": [], - "src": "2745:0:7" + "src": "2745:0:6" }, - "scope": 1508, - "src": "2697:117:7", + "scope": 1433, + "src": "2697:117:6", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -1361,18 +1361,18 @@ { "constant": false, "documentation": { - "id": 1503, + "id": 1428, "nodeType": "StructuredDocumentation", - "src": "2820:254:7", + "src": "2820:254:6", "text": " @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps" }, - "id": 1507, + "id": 1432, "mutability": "mutable", "name": "__gap", - "nameLocation": "3099:5:7", + "nameLocation": "3099:5:6", "nodeType": "VariableDeclaration", - "scope": 1508, - "src": "3079:25:7", + "scope": 1433, + "src": "3079:25:6", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1381,26 +1381,26 @@ }, "typeName": { "baseType": { - "id": 1504, + "id": 1429, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3079:7:7", + "src": "3079:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1506, + "id": 1431, "length": { "hexValue": "3439", - "id": 1505, + "id": 1430, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3087:2:7", + "src": "3087:2:6", "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", "typeString": "int_const 49" @@ -1408,7 +1408,7 @@ "value": "49" }, "nodeType": "ArrayTypeName", - "src": "3079:11:7", + "src": "3079:11:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$49_storage_ptr", "typeString": "uint256[49]" @@ -1417,32 +1417,32 @@ "visibility": "private" } ], - "scope": 1509, - "src": "677:2430:7", + "scope": 1434, + "src": "677:2430:6", "usedErrors": [] } ], - "src": "105:3003:7" + "src": "105:3003:6" }, "legacyAST": { "absolutePath": "@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol", "exportedSymbols": { "ContextUpgradeable": [ - 1889 + 1814 ], "Initializable": [ - 1380 + 1305 ], "PausableUpgradeable": [ - 1508 + 1433 ] }, - "id": 1509, + "id": 1434, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 1382, + "id": 1307, "literals": [ "solidity", "^", @@ -1450,38 +1450,38 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "105:23:7" + "src": "105:23:6" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol", "file": "../utils/ContextUpgradeable.sol", - "id": 1383, + "id": 1308, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1509, - "sourceUnit": 1890, - "src": "130:41:7", + "scope": 1434, + "sourceUnit": 1815, + "src": "130:41:6", "symbolAliases": [], "unitAlias": "" }, { "absolutePath": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol", "file": "../proxy/utils/Initializable.sol", - "id": 1385, + "id": 1310, "nameLocation": "-1:-1:-1", "nodeType": "ImportDirective", - "scope": 1509, - "sourceUnit": 1381, - "src": "172:63:7", + "scope": 1434, + "sourceUnit": 1306, + "src": "172:63:6", "symbolAliases": [ { "foreign": { - "id": 1384, + "id": 1309, "name": "Initializable", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1380, - "src": "180:13:7", + "referencedDeclaration": 1305, + "src": "180:13:6", "typeDescriptions": {} }, "nameLocation": "-1:-1:-1" @@ -1494,82 +1494,82 @@ "baseContracts": [ { "baseName": { - "id": 1387, + "id": 1312, "name": "Initializable", "nameLocations": [ - "718:13:7" + "718:13:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1380, - "src": "718:13:7" + "referencedDeclaration": 1305, + "src": "718:13:6" }, - "id": 1388, + "id": 1313, "nodeType": "InheritanceSpecifier", - "src": "718:13:7" + "src": "718:13:6" }, { "baseName": { - "id": 1389, + "id": 1314, "name": "ContextUpgradeable", "nameLocations": [ - "733:18:7" + "733:18:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1889, - "src": "733:18:7" + "referencedDeclaration": 1814, + "src": "733:18:6" }, - "id": 1390, + "id": 1315, "nodeType": "InheritanceSpecifier", - "src": "733:18:7" + "src": "733:18:6" } ], "canonicalName": "PausableUpgradeable", "contractDependencies": [], "contractKind": "contract", "documentation": { - "id": 1386, + "id": 1311, "nodeType": "StructuredDocumentation", - "src": "237:439:7", + "src": "237:439:6", "text": " @dev Contract module which allows children to implement an emergency stop\n mechanism that can be triggered by an authorized account.\n This module is used through inheritance. It will make available the\n modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n the functions of your contract. Note that they will not be pausable by\n simply including this module, only once the modifiers are put in place." }, "fullyImplemented": true, - "id": 1508, + "id": 1433, "linearizedBaseContracts": [ - 1508, - 1889, - 1380 + 1433, + 1814, + 1305 ], "name": "PausableUpgradeable", - "nameLocation": "695:19:7", + "nameLocation": "695:19:6", "nodeType": "ContractDefinition", "nodes": [ { "anonymous": false, "documentation": { - "id": 1391, + "id": 1316, "nodeType": "StructuredDocumentation", - "src": "758:73:7", + "src": "758:73:6", "text": " @dev Emitted when the pause is triggered by `account`." }, "eventSelector": "62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258", - "id": 1395, + "id": 1320, "name": "Paused", - "nameLocation": "842:6:7", + "nameLocation": "842:6:6", "nodeType": "EventDefinition", "parameters": { - "id": 1394, + "id": 1319, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1393, + "id": 1318, "indexed": false, "mutability": "mutable", "name": "account", - "nameLocation": "857:7:7", + "nameLocation": "857:7:6", "nodeType": "VariableDeclaration", - "scope": 1395, - "src": "849:15:7", + "scope": 1320, + "src": "849:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1577,10 +1577,10 @@ "typeString": "address" }, "typeName": { - "id": 1392, + "id": 1317, "name": "address", "nodeType": "ElementaryTypeName", - "src": "849:7:7", + "src": "849:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1590,37 +1590,37 @@ "visibility": "internal" } ], - "src": "848:17:7" + "src": "848:17:6" }, - "src": "836:30:7" + "src": "836:30:6" }, { "anonymous": false, "documentation": { - "id": 1396, + "id": 1321, "nodeType": "StructuredDocumentation", - "src": "872:70:7", + "src": "872:70:6", "text": " @dev Emitted when the pause is lifted by `account`." }, "eventSelector": "5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa", - "id": 1400, + "id": 1325, "name": "Unpaused", - "nameLocation": "953:8:7", + "nameLocation": "953:8:6", "nodeType": "EventDefinition", "parameters": { - "id": 1399, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1398, + "id": 1323, "indexed": false, "mutability": "mutable", "name": "account", - "nameLocation": "970:7:7", + "nameLocation": "970:7:6", "nodeType": "VariableDeclaration", - "scope": 1400, - "src": "962:15:7", + "scope": 1325, + "src": "962:15:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1628,10 +1628,10 @@ "typeString": "address" }, "typeName": { - "id": 1397, + "id": 1322, "name": "address", "nodeType": "ElementaryTypeName", - "src": "962:7:7", + "src": "962:7:6", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1641,19 +1641,19 @@ "visibility": "internal" } ], - "src": "961:17:7" + "src": "961:17:6" }, - "src": "947:32:7" + "src": "947:32:6" }, { "constant": false, - "id": 1402, + "id": 1327, "mutability": "mutable", "name": "_paused", - "nameLocation": "998:7:7", + "nameLocation": "998:7:6", "nodeType": "VariableDeclaration", - "scope": 1508, - "src": "985:20:7", + "scope": 1433, + "src": "985:20:6", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -1661,10 +1661,10 @@ "typeString": "bool" }, "typeName": { - "id": 1401, + "id": 1326, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "985:4:7", + "src": "985:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1674,27 +1674,27 @@ }, { "body": { - "id": 1411, + "id": 1336, "nodeType": "Block", - "src": "1137:44:7", + "src": "1137:44:6", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1408, + "id": 1333, "name": "__Pausable_init_unchained", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1422, - "src": "1147:25:7", + "referencedDeclaration": 1347, + "src": "1147:25:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1409, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -1703,87 +1703,87 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1147:27:7", + "src": "1147:27:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1410, + "id": 1335, "nodeType": "ExpressionStatement", - "src": "1147:27:7" + "src": "1147:27:6" } ] }, "documentation": { - "id": 1403, + "id": 1328, "nodeType": "StructuredDocumentation", - "src": "1012:67:7", + "src": "1012:67:6", "text": " @dev Initializes the contract in unpaused state." }, - "id": 1412, + "id": 1337, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1406, + "id": 1331, "kind": "modifierInvocation", "modifierName": { - "id": 1405, + "id": 1330, "name": "onlyInitializing", "nameLocations": [ - "1120:16:7" + "1120:16:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "1120:16:7" + "referencedDeclaration": 1250, + "src": "1120:16:6" }, "nodeType": "ModifierInvocation", - "src": "1120:16:7" + "src": "1120:16:6" } ], "name": "__Pausable_init", - "nameLocation": "1093:15:7", + "nameLocation": "1093:15:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1404, + "id": 1329, "nodeType": "ParameterList", "parameters": [], - "src": "1108:2:7" + "src": "1108:2:6" }, "returnParameters": { - "id": 1407, + "id": 1332, "nodeType": "ParameterList", "parameters": [], - "src": "1137:0:7" + "src": "1137:0:6" }, - "scope": 1508, - "src": "1084:97:7", + "scope": 1433, + "src": "1084:97:6", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1421, + "id": 1346, "nodeType": "Block", - "src": "1250:32:7", + "src": "1250:32:6", "statements": [ { "expression": { - "id": 1419, + "id": 1344, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1417, + "id": 1342, "name": "_paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "1260:7:7", + "referencedDeclaration": 1327, + "src": "1260:7:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1793,97 +1793,97 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 1418, + "id": 1343, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1270:5:7", + "src": "1270:5:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "src": "1260:15:7", + "src": "1260:15:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1420, + "id": 1345, "nodeType": "ExpressionStatement", - "src": "1260:15:7" + "src": "1260:15:6" } ] }, - "id": 1422, + "id": 1347, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1415, + "id": 1340, "kind": "modifierInvocation", "modifierName": { - "id": 1414, + "id": 1339, "name": "onlyInitializing", "nameLocations": [ - "1233:16:7" + "1233:16:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1325, - "src": "1233:16:7" + "referencedDeclaration": 1250, + "src": "1233:16:6" }, "nodeType": "ModifierInvocation", - "src": "1233:16:7" + "src": "1233:16:6" } ], "name": "__Pausable_init_unchained", - "nameLocation": "1196:25:7", + "nameLocation": "1196:25:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1413, + "id": 1338, "nodeType": "ParameterList", "parameters": [], - "src": "1221:2:7" + "src": "1221:2:6" }, "returnParameters": { - "id": 1416, + "id": 1341, "nodeType": "ParameterList", "parameters": [], - "src": "1250:0:7" + "src": "1250:0:6" }, - "scope": 1508, - "src": "1187:95:7", + "scope": 1433, + "src": "1187:95:6", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1429, + "id": 1354, "nodeType": "Block", - "src": "1493:47:7", + "src": "1493:47:6", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1425, + "id": 1350, "name": "_requireNotPaused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1459, - "src": "1503:17:7", + "referencedDeclaration": 1384, + "src": "1503:17:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$__$", "typeString": "function () view" } }, - "id": 1426, + "id": 1351, "isConstant": false, "isLValue": false, "isPure": false, @@ -1892,67 +1892,67 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1503:19:7", + "src": "1503:19:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1427, + "id": 1352, "nodeType": "ExpressionStatement", - "src": "1503:19:7" + "src": "1503:19:6" }, { - "id": 1428, + "id": 1353, "nodeType": "PlaceholderStatement", - "src": "1532:1:7" + "src": "1532:1:6" } ] }, "documentation": { - "id": 1423, + "id": 1348, "nodeType": "StructuredDocumentation", - "src": "1288:175:7", + "src": "1288:175:6", "text": " @dev Modifier to make a function callable only when the contract is not paused.\n Requirements:\n - The contract must not be paused." }, - "id": 1430, + "id": 1355, "name": "whenNotPaused", - "nameLocation": "1477:13:7", + "nameLocation": "1477:13:6", "nodeType": "ModifierDefinition", "parameters": { - "id": 1424, + "id": 1349, "nodeType": "ParameterList", "parameters": [], - "src": "1490:2:7" + "src": "1490:2:6" }, - "src": "1468:72:7", + "src": "1468:72:6", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1437, + "id": 1362, "nodeType": "Block", - "src": "1740:44:7", + "src": "1740:44:6", "statements": [ { "expression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1433, + "id": 1358, "name": "_requirePaused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1470, - "src": "1750:14:7", + "referencedDeclaration": 1395, + "src": "1750:14:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$__$", "typeString": "function () view" } }, - "id": 1434, + "id": 1359, "isConstant": false, "isLValue": false, "isPure": false, @@ -1961,103 +1961,103 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "1750:16:7", + "src": "1750:16:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1435, + "id": 1360, "nodeType": "ExpressionStatement", - "src": "1750:16:7" + "src": "1750:16:6" }, { - "id": 1436, + "id": 1361, "nodeType": "PlaceholderStatement", - "src": "1776:1:7" + "src": "1776:1:6" } ] }, "documentation": { - "id": 1431, + "id": 1356, "nodeType": "StructuredDocumentation", - "src": "1546:167:7", + "src": "1546:167:6", "text": " @dev Modifier to make a function callable only when the contract is paused.\n Requirements:\n - The contract must be paused." }, - "id": 1438, + "id": 1363, "name": "whenPaused", - "nameLocation": "1727:10:7", + "nameLocation": "1727:10:6", "nodeType": "ModifierDefinition", "parameters": { - "id": 1432, + "id": 1357, "nodeType": "ParameterList", "parameters": [], - "src": "1737:2:7" + "src": "1737:2:6" }, - "src": "1718:66:7", + "src": "1718:66:6", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1446, + "id": 1371, "nodeType": "Block", - "src": "1932:31:7", + "src": "1932:31:6", "statements": [ { "expression": { - "id": 1444, + "id": 1369, "name": "_paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "1949:7:7", + "referencedDeclaration": 1327, + "src": "1949:7:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1443, - "id": 1445, + "functionReturnParameters": 1368, + "id": 1370, "nodeType": "Return", - "src": "1942:14:7" + "src": "1942:14:6" } ] }, "documentation": { - "id": 1439, + "id": 1364, "nodeType": "StructuredDocumentation", - "src": "1790:84:7", + "src": "1790:84:6", "text": " @dev Returns true if the contract is paused, and false otherwise." }, "functionSelector": "5c975abb", - "id": 1447, + "id": 1372, "implemented": true, "kind": "function", "modifiers": [], "name": "paused", - "nameLocation": "1888:6:7", + "nameLocation": "1888:6:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1440, + "id": 1365, "nodeType": "ParameterList", "parameters": [], - "src": "1894:2:7" + "src": "1894:2:6" }, "returnParameters": { - "id": 1443, + "id": 1368, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1442, + "id": 1367, "mutability": "mutable", "name": "", "nameLocation": "-1:-1:-1", "nodeType": "VariableDeclaration", - "scope": 1447, - "src": "1926:4:7", + "scope": 1372, + "src": "1926:4:6", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2065,10 +2065,10 @@ "typeString": "bool" }, "typeName": { - "id": 1441, + "id": 1366, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1926:4:7", + "src": "1926:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2077,25 +2077,25 @@ "visibility": "internal" } ], - "src": "1925:6:7" + "src": "1925:6:6" }, - "scope": 1508, - "src": "1879:84:7", + "scope": 1433, + "src": "1879:84:6", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 1458, + "id": 1383, "nodeType": "Block", - "src": "2082:55:7", + "src": "2082:55:6", "statements": [ { "expression": { "arguments": [ { - "id": 1454, + "id": 1379, "isConstant": false, "isLValue": false, "isPure": false, @@ -2103,23 +2103,23 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "2100:9:7", + "src": "2100:9:6", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 1452, + "id": 1377, "name": "paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1447, - "src": "2101:6:7", + "referencedDeclaration": 1372, + "src": "2101:6:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", "typeString": "function () view returns (bool)" } }, - "id": 1453, + "id": 1378, "isConstant": false, "isLValue": false, "isPure": false, @@ -2128,7 +2128,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2101:8:7", + "src": "2101:8:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2142,14 +2142,14 @@ }, { "hexValue": "5061757361626c653a20706175736564", - "id": 1455, + "id": 1380, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2111:18:7", + "src": "2111:18:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_68571e1369f7a6dcdcd736cb0343b35a58ed0f64d245c2ed839c98d412744f8a", "typeString": "literal_string \"Pausable: paused\"" @@ -2168,7 +2168,7 @@ "typeString": "literal_string \"Pausable: paused\"" } ], - "id": 1451, + "id": 1376, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2176,13 +2176,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2092:7:7", + "src": "2092:7:6", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1456, + "id": 1381, "isConstant": false, "isLValue": false, "isPure": false, @@ -2191,55 +2191,55 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2092:38:7", + "src": "2092:38:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1457, + "id": 1382, "nodeType": "ExpressionStatement", - "src": "2092:38:7" + "src": "2092:38:6" } ] }, "documentation": { - "id": 1448, + "id": 1373, "nodeType": "StructuredDocumentation", - "src": "1969:57:7", + "src": "1969:57:6", "text": " @dev Throws if the contract is paused." }, - "id": 1459, + "id": 1384, "implemented": true, "kind": "function", "modifiers": [], "name": "_requireNotPaused", - "nameLocation": "2040:17:7", + "nameLocation": "2040:17:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1449, + "id": 1374, "nodeType": "ParameterList", "parameters": [], - "src": "2057:2:7" + "src": "2057:2:6" }, "returnParameters": { - "id": 1450, + "id": 1375, "nodeType": "ParameterList", "parameters": [], - "src": "2082:0:7" + "src": "2082:0:6" }, - "scope": 1508, - "src": "2031:106:7", + "scope": 1433, + "src": "2031:106:6", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1469, + "id": 1394, "nodeType": "Block", - "src": "2257:58:7", + "src": "2257:58:6", "statements": [ { "expression": { @@ -2248,18 +2248,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1464, + "id": 1389, "name": "paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1447, - "src": "2275:6:7", + "referencedDeclaration": 1372, + "src": "2275:6:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_bool_$", "typeString": "function () view returns (bool)" } }, - "id": 1465, + "id": 1390, "isConstant": false, "isLValue": false, "isPure": false, @@ -2268,7 +2268,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2275:8:7", + "src": "2275:8:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -2277,14 +2277,14 @@ }, { "hexValue": "5061757361626c653a206e6f7420706175736564", - "id": 1466, + "id": 1391, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "2285:22:7", + "src": "2285:22:6", "typeDescriptions": { "typeIdentifier": "t_stringliteral_0d1d997348c4b502650619e51f7d09f80514d98b6993be5051d07f703984619a", "typeString": "literal_string \"Pausable: not paused\"" @@ -2303,7 +2303,7 @@ "typeString": "literal_string \"Pausable: not paused\"" } ], - "id": 1463, + "id": 1388, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2311,13 +2311,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2267:7:7", + "src": "2267:7:6", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1467, + "id": 1392, "isConstant": false, "isLValue": false, "isPure": false, @@ -2326,70 +2326,70 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2267:41:7", + "src": "2267:41:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1468, + "id": 1393, "nodeType": "ExpressionStatement", - "src": "2267:41:7" + "src": "2267:41:6" } ] }, "documentation": { - "id": 1460, + "id": 1385, "nodeType": "StructuredDocumentation", - "src": "2143:61:7", + "src": "2143:61:6", "text": " @dev Throws if the contract is not paused." }, - "id": 1470, + "id": 1395, "implemented": true, "kind": "function", "modifiers": [], "name": "_requirePaused", - "nameLocation": "2218:14:7", + "nameLocation": "2218:14:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1461, + "id": 1386, "nodeType": "ParameterList", "parameters": [], - "src": "2232:2:7" + "src": "2232:2:6" }, "returnParameters": { - "id": 1462, + "id": 1387, "nodeType": "ParameterList", "parameters": [], - "src": "2257:0:7" + "src": "2257:0:6" }, - "scope": 1508, - "src": "2209:106:7", + "scope": 1433, + "src": "2209:106:6", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1485, + "id": 1410, "nodeType": "Block", - "src": "2499:66:7", + "src": "2499:66:6", "statements": [ { "expression": { - "id": 1478, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1476, + "id": 1401, "name": "_paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "2509:7:7", + "referencedDeclaration": 1327, + "src": "2509:7:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2399,29 +2399,29 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 1477, + "id": 1402, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2519:4:7", + "src": "2519:4:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "2509:14:7", + "src": "2509:14:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1479, + "id": 1404, "nodeType": "ExpressionStatement", - "src": "2509:14:7" + "src": "2509:14:6" }, { "eventCall": { @@ -2430,18 +2430,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1481, + "id": 1406, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1866, - "src": "2545:10:7", + "referencedDeclaration": 1791, + "src": "2545:10:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1482, + "id": 1407, "isConstant": false, "isLValue": false, "isPure": false, @@ -2450,7 +2450,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2545:12:7", + "src": "2545:12:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -2465,18 +2465,18 @@ "typeString": "address" } ], - "id": 1480, + "id": 1405, "name": "Paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1395, - "src": "2538:6:7", + "referencedDeclaration": 1320, + "src": "2538:6:6", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1483, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -2485,87 +2485,87 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2538:20:7", + "src": "2538:20:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1484, + "id": 1409, "nodeType": "EmitStatement", - "src": "2533:25:7" + "src": "2533:25:6" } ] }, "documentation": { - "id": 1471, + "id": 1396, "nodeType": "StructuredDocumentation", - "src": "2321:124:7", + "src": "2321:124:6", "text": " @dev Triggers stopped state.\n Requirements:\n - The contract must not be paused." }, - "id": 1486, + "id": 1411, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1474, + "id": 1399, "kind": "modifierInvocation", "modifierName": { - "id": 1473, + "id": 1398, "name": "whenNotPaused", "nameLocations": [ - "2485:13:7" + "2485:13:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1430, - "src": "2485:13:7" + "referencedDeclaration": 1355, + "src": "2485:13:6" }, "nodeType": "ModifierInvocation", - "src": "2485:13:7" + "src": "2485:13:6" } ], "name": "_pause", - "nameLocation": "2459:6:7", + "nameLocation": "2459:6:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1472, + "id": 1397, "nodeType": "ParameterList", "parameters": [], - "src": "2465:2:7" + "src": "2465:2:6" }, "returnParameters": { - "id": 1475, + "id": 1400, "nodeType": "ParameterList", "parameters": [], - "src": "2499:0:7" + "src": "2499:0:6" }, - "scope": 1508, - "src": "2450:115:7", + "scope": 1433, + "src": "2450:115:6", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 1501, + "id": 1426, "nodeType": "Block", - "src": "2745:69:7", + "src": "2745:69:6", "statements": [ { "expression": { - "id": 1494, + "id": 1419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 1492, + "id": 1417, "name": "_paused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1402, - "src": "2755:7:7", + "referencedDeclaration": 1327, + "src": "2755:7:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2575,29 +2575,29 @@ "operator": "=", "rightHandSide": { "hexValue": "66616c7365", - "id": 1493, + "id": 1418, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "2765:5:7", + "src": "2765:5:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "src": "2755:15:7", + "src": "2755:15:6", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 1495, + "id": 1420, "nodeType": "ExpressionStatement", - "src": "2755:15:7" + "src": "2755:15:6" }, { "eventCall": { @@ -2606,18 +2606,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 1497, + "id": 1422, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1866, - "src": "2794:10:7", + "referencedDeclaration": 1791, + "src": "2794:10:6", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_$", "typeString": "function () view returns (address)" } }, - "id": 1498, + "id": 1423, "isConstant": false, "isLValue": false, "isPure": false, @@ -2626,7 +2626,7 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2794:12:7", + "src": "2794:12:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -2641,18 +2641,18 @@ "typeString": "address" } ], - "id": 1496, + "id": 1421, "name": "Unpaused", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1400, - "src": "2785:8:7", + "referencedDeclaration": 1325, + "src": "2785:8:6", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$returns$__$", "typeString": "function (address)" } }, - "id": 1499, + "id": 1424, "isConstant": false, "isLValue": false, "isPure": false, @@ -2661,63 +2661,63 @@ "nameLocations": [], "names": [], "nodeType": "FunctionCall", - "src": "2785:22:7", + "src": "2785:22:6", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1500, + "id": 1425, "nodeType": "EmitStatement", - "src": "2780:27:7" + "src": "2780:27:6" } ] }, "documentation": { - "id": 1487, + "id": 1412, "nodeType": "StructuredDocumentation", - "src": "2571:121:7", + "src": "2571:121:6", "text": " @dev Returns to normal state.\n Requirements:\n - The contract must be paused." }, - "id": 1502, + "id": 1427, "implemented": true, "kind": "function", "modifiers": [ { - "id": 1490, + "id": 1415, "kind": "modifierInvocation", "modifierName": { - "id": 1489, + "id": 1414, "name": "whenPaused", "nameLocations": [ - "2734:10:7" + "2734:10:6" ], "nodeType": "IdentifierPath", - "referencedDeclaration": 1438, - "src": "2734:10:7" + "referencedDeclaration": 1363, + "src": "2734:10:6" }, "nodeType": "ModifierInvocation", - "src": "2734:10:7" + "src": "2734:10:6" } ], "name": "_unpause", - "nameLocation": "2706:8:7", + "nameLocation": "2706:8:6", "nodeType": "FunctionDefinition", "parameters": { - "id": 1488, + "id": 1413, "nodeType": "ParameterList", "parameters": [], - "src": "2714:2:7" + "src": "2714:2:6" }, "returnParameters": { - "id": 1491, + "id": 1416, "nodeType": "ParameterList", "parameters": [], - "src": "2745:0:7" + "src": "2745:0:6" }, - "scope": 1508, - "src": "2697:117:7", + "scope": 1433, + "src": "2697:117:6", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -2725,18 +2725,18 @@ { "constant": false, "documentation": { - "id": 1503, + "id": 1428, "nodeType": "StructuredDocumentation", - "src": "2820:254:7", + "src": "2820:254:6", "text": " @dev This empty reserved space is put in place to allow future versions to add new\n variables without shifting down storage in the inheritance chain.\n See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps" }, - "id": 1507, + "id": 1432, "mutability": "mutable", "name": "__gap", - "nameLocation": "3099:5:7", + "nameLocation": "3099:5:6", "nodeType": "VariableDeclaration", - "scope": 1508, - "src": "3079:25:7", + "scope": 1433, + "src": "3079:25:6", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2745,26 +2745,26 @@ }, "typeName": { "baseType": { - "id": 1504, + "id": 1429, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3079:7:7", + "src": "3079:7:6", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1506, + "id": 1431, "length": { "hexValue": "3439", - "id": 1505, + "id": 1430, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3087:2:7", + "src": "3087:2:6", "typeDescriptions": { "typeIdentifier": "t_rational_49_by_1", "typeString": "int_const 49" @@ -2772,7 +2772,7 @@ "value": "49" }, "nodeType": "ArrayTypeName", - "src": "3079:11:7", + "src": "3079:11:6", "typeDescriptions": { "typeIdentifier": "t_array$_t_uint256_$49_storage_ptr", "typeString": "uint256[49]" @@ -2781,12 +2781,12 @@ "visibility": "private" } ], - "scope": 1509, - "src": "677:2430:7", + "scope": 1434, + "src": "677:2430:6", "usedErrors": [] } ], - "src": "105:3003:7" + "src": "105:3003:6" }, "compiler": { "name": "solc", @@ -2794,5 +2794,5 @@ }, "networks": {}, "schemaVersion": "2.0.1", - "updatedAt": "2024-06-27T12:24:25.261Z" + "updatedAt": "2024-07-04T18:51:17.142Z" } \ No newline at end of file diff --git a/migrations/2_upgrade.js b/migrations/2_upgrade.js index 6b7b3e2..b850e17 100644 --- a/migrations/2_upgrade.js +++ b/migrations/2_upgrade.js @@ -4,8 +4,9 @@ const ProxyAdmin = artifacts.require( ); const Gateway = artifacts.require("Gateway"); -const proxyContractAddress = "THyFP5ST9YyLZn6EzjKjFhZti6aKPgEXNU"; -// Shasta: "TYA8urq7nkN2yU7rJqAgwDShCusDZrrsxZ"; +// const proxyContractAddress = "THyFP5ST9YyLZn6EzjKjFhZti6aKPgEXNU"; +// Shasta: +const proxyContractAddress = "TYA8urq7nkN2yU7rJqAgwDShCusDZrrsxZ"; module.exports = async function (deployer) { try { diff --git a/scripts/forceImport.ts b/scripts/forceImport.ts new file mode 100644 index 0000000..f20bdc4 --- /dev/null +++ b/scripts/forceImport.ts @@ -0,0 +1,33 @@ +// Import necessary libraries +import { ethers, upgrades } from "hardhat"; + +async function main() { + // Define the address of the existing implementation contract + const existingContractAddress: string = + "0x5E7eC39915F6CD48829d06648F6682765846602a"; + + // Define the implementation contract factory + const deployedImplementation = await ethers.getContractFactory("Gateway"); + + // Optionally, specify the kind of proxy + const opts = { + kind: 'uups' as const, // or 'transparent', 'beacon' + }; + + // Forcefully import the existing contract + const importedContract = await upgrades.forceImport( + existingContractAddress, + deployedImplementation, + opts + ); + + console.log("Contract successfully imported at address:", importedContract.address); + +} + +main() + .then(() => process.exit(0)) + .catch(error => { + console.error(error); + process.exit; + }); \ No newline at end of file diff --git a/scripts/upgrade.ts b/scripts/upgrade.ts index e579fe0..46c004c 100644 --- a/scripts/upgrade.ts +++ b/scripts/upgrade.ts @@ -1,10 +1,16 @@ import { ethers, upgrades, network } from "hardhat"; import { NETWORKS } from "./config"; import hre from "hardhat"; +import { confirmContinue } from "./utils"; const networkConfig = NETWORKS[network.config.chainId as keyof typeof NETWORKS]; async function main() { + await confirmContinue({ + contract: "Gateway", + network: network.name, + chainId: network.config.chainId, + }); try { const [signer] = await ethers.getSigners(); // Get the signer (the account performing the upgrade) const balance = await signer.getBalance(); // Get the balance of the signer's address