-
-
Save themoriarty/23e627f3e030fcf574352445bc6cd8cc to your computer and use it in GitHub Desktop.
{ | |
function abi_decode_t_address_fromMemory(offset, end) -> value { | |
value := mload(offset) | |
validator_revert_t_address(value) | |
} | |
function abi_decode_t_uint256(offset, end) -> value { | |
value := calldataload(offset) | |
validator_revert_t_uint256(value) | |
} | |
function abi_decode_tuple_t_address_fromMemory(headStart, dataEnd) -> value0 { | |
if slt(sub(dataEnd, headStart), 32) { revert(0, 0) } | |
{ | |
let offset := 0 | |
value0 := abi_decode_t_address_fromMemory(add(headStart, offset), dataEnd) | |
} | |
} | |
function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 { | |
if slt(sub(dataEnd, headStart), 32) { revert(0, 0) } | |
{ | |
let offset := 0 | |
value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd) | |
} | |
} | |
function abi_encode_t_address_to_t_address_fromStack(value, pos) { | |
mstore(pos, cleanup_t_address(value)) | |
} | |
function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) { | |
mstore(pos, cleanup_t_uint256(value)) | |
} | |
function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail { | |
tail := add(headStart, 32) | |
abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0)) | |
} | |
function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail { | |
tail := add(headStart, 32) | |
abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0)) | |
} | |
function checked_mul_t_uint256(x, y) -> product { | |
x := cleanup_t_uint256(x) | |
y := cleanup_t_uint256(y) | |
// overflow, if x != 0 and y > (maxValue / x) | |
if and(iszero(iszero(x)), gt(y, div(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, x))) { panic_error_0x11() } | |
product := mul(x, y) | |
} | |
function cleanup_t_address(value) -> cleaned { | |
cleaned := cleanup_t_uint160(value) | |
} | |
function cleanup_t_uint160(value) -> cleaned { | |
cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff) | |
} | |
function cleanup_t_uint256(value) -> cleaned { | |
cleaned := value | |
} | |
function panic_error_0x11() { | |
mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856) | |
mstore(4, 0x11) | |
revert(0, 0x24) | |
} | |
function validator_revert_t_address(value) { | |
if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) } | |
} | |
function validator_revert_t_uint256(value) { | |
if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) } | |
} | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"borrow(address,uint256,uint256,uint16,address)": "a415bcad", | |
"deposit(address,uint256,address,uint16)": "e8eda9df", | |
"finalizeTransfer(address,address,address,uint256,uint256,uint256)": "d5ed3933", | |
"flashLoan(address,address[],uint256[],uint256[],address,bytes,uint16)": "ab9c4b5d", | |
"getAddressesProvider()": "fe65acfe", | |
"getConfiguration(address)": "c44b11f7", | |
"getReserveData(address)": "35ea6a75", | |
"getReserveNormalizedIncome(address)": "d15e0053", | |
"getReserveNormalizedVariableDebt(address)": "386497fd", | |
"getReservesList()": "d1946dbc", | |
"getUserAccountData(address)": "bf92857c", | |
"getUserConfiguration(address)": "4417a583", | |
"initReserve(address,address,address,address,address)": "7a708e92", | |
"liquidationCall(address,address,address,uint256,bool)": "00a718a9", | |
"paused()": "5c975abb", | |
"rebalanceStableBorrowRate(address,address)": "cd112382", | |
"repay(address,uint256,uint256,address)": "573ade81", | |
"setConfiguration(address,uint256)": "b8d29276", | |
"setPause(bool)": "bedb86fb", | |
"setReserveInterestRateStrategyAddress(address,address)": "1d2118f9", | |
"setUserUseReserveAsCollateral(address,bool)": "5a3b74b9", | |
"swapBorrowRateMode(address,uint256)": "94ba89a2", | |
"withdraw(address,uint256,address)": "69328dec" | |
} | |
}, | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "borrowRateMode", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "borrowRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint16", | |
"name": "referral", | |
"type": "uint16" | |
} | |
], | |
"name": "Borrow", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint16", | |
"name": "referral", | |
"type": "uint16" | |
} | |
], | |
"name": "Deposit", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "target", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "initiator", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "premium", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint16", | |
"name": "referralCode", | |
"type": "uint16" | |
} | |
], | |
"name": "FlashLoan", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "collateralAsset", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "debtAsset", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "debtToCover", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "liquidatedCollateralAmount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "liquidator", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bool", | |
"name": "receiveAToken", | |
"type": "bool" | |
} | |
], | |
"name": "LiquidationCall", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "Paused", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "RebalanceStableBorrowRate", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "repayer", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "Repay", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "liquidityRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "stableBorrowRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "variableBorrowRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "liquidityIndex", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "variableBorrowIndex", | |
"type": "uint256" | |
} | |
], | |
"name": "ReserveDataUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "ReserveUsedAsCollateralDisabled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "ReserveUsedAsCollateralEnabled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "rateMode", | |
"type": "uint256" | |
} | |
], | |
"name": "Swap", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "Unpaused", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "Withdraw", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "interestRateMode", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint16", | |
"name": "referralCode", | |
"type": "uint16" | |
}, | |
{ | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
} | |
], | |
"name": "borrow", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint16", | |
"name": "referralCode", | |
"type": "uint16" | |
} | |
], | |
"name": "deposit", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "balanceFromAfter", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "balanceToBefore", | |
"type": "uint256" | |
} | |
], | |
"name": "finalizeTransfer", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "receiverAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "assets", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "modes", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "params", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint16", | |
"name": "referralCode", | |
"type": "uint16" | |
} | |
], | |
"name": "flashLoan", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getAddressesProvider", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolAddressesProvider", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
} | |
], | |
"name": "getConfiguration", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint256", | |
"name": "data", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct DataTypes.ReserveConfigurationMap", | |
"name": "", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
} | |
], | |
"name": "getReserveData", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint256", | |
"name": "data", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct DataTypes.ReserveConfigurationMap", | |
"name": "configuration", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "uint128", | |
"name": "liquidityIndex", | |
"type": "uint128" | |
}, | |
{ | |
"internalType": "uint128", | |
"name": "variableBorrowIndex", | |
"type": "uint128" | |
}, | |
{ | |
"internalType": "uint128", | |
"name": "currentLiquidityRate", | |
"type": "uint128" | |
}, | |
{ | |
"internalType": "uint128", | |
"name": "currentVariableBorrowRate", | |
"type": "uint128" | |
}, | |
{ | |
"internalType": "uint128", | |
"name": "currentStableBorrowRate", | |
"type": "uint128" | |
}, | |
{ | |
"internalType": "uint40", | |
"name": "lastUpdateTimestamp", | |
"type": "uint40" | |
}, | |
{ | |
"internalType": "address", | |
"name": "aTokenAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "stableDebtTokenAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "variableDebtTokenAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "interestRateStrategyAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "id", | |
"type": "uint8" | |
} | |
], | |
"internalType": "struct DataTypes.ReserveData", | |
"name": "", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
} | |
], | |
"name": "getReserveNormalizedIncome", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
} | |
], | |
"name": "getReserveNormalizedVariableDebt", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getReservesList", | |
"outputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "getUserAccountData", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "totalCollateralETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalDebtETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "availableBorrowsETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "currentLiquidationThreshold", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "ltv", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "healthFactor", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "getUserConfiguration", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint256", | |
"name": "data", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct DataTypes.UserConfigurationMap", | |
"name": "", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "aTokenAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "stableDebtAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "variableDebtAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "interestRateStrategyAddress", | |
"type": "address" | |
} | |
], | |
"name": "initReserve", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "collateralAsset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "debtAsset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "debtToCover", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "receiveAToken", | |
"type": "bool" | |
} | |
], | |
"name": "liquidationCall", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "paused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "rebalanceStableBorrowRate", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "rateMode", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
} | |
], | |
"name": "repay", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "configuration", | |
"type": "uint256" | |
} | |
], | |
"name": "setConfiguration", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bool", | |
"name": "val", | |
"type": "bool" | |
} | |
], | |
"name": "setPause", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "rateStrategyAddress", | |
"type": "address" | |
} | |
], | |
"name": "setReserveInterestRateStrategyAddress", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "useAsCollateral", | |
"type": "bool" | |
} | |
], | |
"name": "setUserUseReserveAsCollateral", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "rateMode", | |
"type": "uint256" | |
} | |
], | |
"name": "swapBorrowRateMode", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
} | |
], | |
"name": "withdraw", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.8.4+commit.c7e474f2" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "borrowRateMode", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "borrowRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint16", | |
"name": "referral", | |
"type": "uint16" | |
} | |
], | |
"name": "Borrow", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint16", | |
"name": "referral", | |
"type": "uint16" | |
} | |
], | |
"name": "Deposit", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "target", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "initiator", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "premium", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint16", | |
"name": "referralCode", | |
"type": "uint16" | |
} | |
], | |
"name": "FlashLoan", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "collateralAsset", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "debtAsset", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "debtToCover", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "liquidatedCollateralAmount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "liquidator", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bool", | |
"name": "receiveAToken", | |
"type": "bool" | |
} | |
], | |
"name": "LiquidationCall", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "Paused", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "RebalanceStableBorrowRate", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "repayer", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "Repay", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "liquidityRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "stableBorrowRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "variableBorrowRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "liquidityIndex", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "variableBorrowIndex", | |
"type": "uint256" | |
} | |
], | |
"name": "ReserveDataUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "ReserveUsedAsCollateralDisabled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "ReserveUsedAsCollateralEnabled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "rateMode", | |
"type": "uint256" | |
} | |
], | |
"name": "Swap", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [], | |
"name": "Unpaused", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "Withdraw", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "interestRateMode", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint16", | |
"name": "referralCode", | |
"type": "uint16" | |
}, | |
{ | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
} | |
], | |
"name": "borrow", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint16", | |
"name": "referralCode", | |
"type": "uint16" | |
} | |
], | |
"name": "deposit", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "balanceFromAfter", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "balanceToBefore", | |
"type": "uint256" | |
} | |
], | |
"name": "finalizeTransfer", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "receiverAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "assets", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "modes", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "params", | |
"type": "bytes" | |
}, | |
{ | |
"internalType": "uint16", | |
"name": "referralCode", | |
"type": "uint16" | |
} | |
], | |
"name": "flashLoan", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getAddressesProvider", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolAddressesProvider", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
} | |
], | |
"name": "getConfiguration", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint256", | |
"name": "data", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct DataTypes.ReserveConfigurationMap", | |
"name": "", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
} | |
], | |
"name": "getReserveData", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint256", | |
"name": "data", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct DataTypes.ReserveConfigurationMap", | |
"name": "configuration", | |
"type": "tuple" | |
}, | |
{ | |
"internalType": "uint128", | |
"name": "liquidityIndex", | |
"type": "uint128" | |
}, | |
{ | |
"internalType": "uint128", | |
"name": "variableBorrowIndex", | |
"type": "uint128" | |
}, | |
{ | |
"internalType": "uint128", | |
"name": "currentLiquidityRate", | |
"type": "uint128" | |
}, | |
{ | |
"internalType": "uint128", | |
"name": "currentVariableBorrowRate", | |
"type": "uint128" | |
}, | |
{ | |
"internalType": "uint128", | |
"name": "currentStableBorrowRate", | |
"type": "uint128" | |
}, | |
{ | |
"internalType": "uint40", | |
"name": "lastUpdateTimestamp", | |
"type": "uint40" | |
}, | |
{ | |
"internalType": "address", | |
"name": "aTokenAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "stableDebtTokenAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "variableDebtTokenAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "interestRateStrategyAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "id", | |
"type": "uint8" | |
} | |
], | |
"internalType": "struct DataTypes.ReserveData", | |
"name": "", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
} | |
], | |
"name": "getReserveNormalizedIncome", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
} | |
], | |
"name": "getReserveNormalizedVariableDebt", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getReservesList", | |
"outputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "getUserAccountData", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "totalCollateralETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalDebtETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "availableBorrowsETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "currentLiquidationThreshold", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "ltv", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "healthFactor", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "getUserConfiguration", | |
"outputs": [ | |
{ | |
"components": [ | |
{ | |
"internalType": "uint256", | |
"name": "data", | |
"type": "uint256" | |
} | |
], | |
"internalType": "struct DataTypes.UserConfigurationMap", | |
"name": "", | |
"type": "tuple" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "aTokenAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "stableDebtAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "variableDebtAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "interestRateStrategyAddress", | |
"type": "address" | |
} | |
], | |
"name": "initReserve", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "collateralAsset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "debtAsset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "debtToCover", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "receiveAToken", | |
"type": "bool" | |
} | |
], | |
"name": "liquidationCall", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "paused", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
} | |
], | |
"name": "rebalanceStableBorrowRate", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "rateMode", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "onBehalfOf", | |
"type": "address" | |
} | |
], | |
"name": "repay", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "configuration", | |
"type": "uint256" | |
} | |
], | |
"name": "setConfiguration", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bool", | |
"name": "val", | |
"type": "bool" | |
} | |
], | |
"name": "setPause", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "reserve", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "rateStrategyAddress", | |
"type": "address" | |
} | |
], | |
"name": "setReserveInterestRateStrategyAddress", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "useAsCollateral", | |
"type": "bool" | |
} | |
], | |
"name": "setUserUseReserveAsCollateral", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "rateMode", | |
"type": "uint256" | |
} | |
], | |
"name": "swapBorrowRateMode", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "asset", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
} | |
], | |
"name": "withdraw", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"events": { | |
"Borrow(address,address,address,uint256,uint256,uint256,uint16)": { | |
"details": "Emitted on borrow() and flashLoan() when debt needs to be opened", | |
"params": { | |
"amount": "The amount borrowed out", | |
"borrowRate": "The numeric rate at which the user has borrowed", | |
"borrowRateMode": "The rate mode: 1 for Stable, 2 for Variable", | |
"onBehalfOf": "The address that will be getting the debt", | |
"referral": "The referral code used*", | |
"reserve": "The address of the underlying asset being borrowed", | |
"user": "The address of the user initiating the borrow(), receiving the funds on borrow() or just initiator of the transaction on flashLoan()" | |
} | |
}, | |
"Deposit(address,address,address,uint256,uint16)": { | |
"details": "Emitted on deposit()", | |
"params": { | |
"amount": "The amount deposited", | |
"onBehalfOf": "The beneficiary of the deposit, receiving the aTokens", | |
"referral": "The referral code used*", | |
"reserve": "The address of the underlying asset of the reserve", | |
"user": "The address initiating the deposit" | |
} | |
}, | |
"FlashLoan(address,address,address,uint256,uint256,uint16)": { | |
"details": "Emitted on flashLoan()", | |
"params": { | |
"amount": "The amount flash borrowed", | |
"asset": "The address of the asset being flash borrowed", | |
"initiator": "The address initiating the flash loan", | |
"premium": "The fee flash borrowed", | |
"referralCode": "The referral code used*", | |
"target": "The address of the flash loan receiver contract" | |
} | |
}, | |
"LiquidationCall(address,address,address,uint256,uint256,address,bool)": { | |
"details": "Emitted when a borrower is liquidated. This event is emitted by the LendingPool via LendingPoolCollateral manager using a DELEGATECALL This allows to have the events in the generated ABI for LendingPool.", | |
"params": { | |
"collateralAsset": "The address of the underlying asset used as collateral, to receive as result of the liquidation", | |
"debtAsset": "The address of the underlying borrowed asset to be repaid with the liquidation", | |
"debtToCover": "The debt amount of borrowed `asset` the liquidator wants to cover", | |
"liquidatedCollateralAmount": "The amount of collateral received by the liiquidator", | |
"liquidator": "The address of the liquidator", | |
"receiveAToken": "`true` if the liquidators wants to receive the collateral aTokens, `false` if he wants to receive the underlying collateral asset directly*", | |
"user": "The address of the borrower getting liquidated" | |
} | |
}, | |
"Paused()": { | |
"details": "Emitted when the pause is triggered." | |
}, | |
"RebalanceStableBorrowRate(address,address)": { | |
"details": "Emitted on rebalanceStableBorrowRate()", | |
"params": { | |
"reserve": "The address of the underlying asset of the reserve", | |
"user": "The address of the user for which the rebalance has been executed*" | |
} | |
}, | |
"Repay(address,address,address,uint256)": { | |
"details": "Emitted on repay()", | |
"params": { | |
"amount": "The amount repaid*", | |
"repayer": "The address of the user initiating the repay(), providing the funds", | |
"reserve": "The address of the underlying asset of the reserve", | |
"user": "The beneficiary of the repayment, getting his debt reduced" | |
} | |
}, | |
"ReserveDataUpdated(address,uint256,uint256,uint256,uint256,uint256)": { | |
"details": "Emitted when the state of a reserve is updated. NOTE: This event is actually declared in the ReserveLogic library and emitted in the updateInterestRates() function. Since the function is internal, the event will actually be fired by the LendingPool contract. The event is therefore replicated here so it gets added to the LendingPool ABI", | |
"params": { | |
"liquidityIndex": "The new liquidity index", | |
"liquidityRate": "The new liquidity rate", | |
"reserve": "The address of the underlying asset of the reserve", | |
"stableBorrowRate": "The new stable borrow rate", | |
"variableBorrowIndex": "The new variable borrow index*", | |
"variableBorrowRate": "The new variable borrow rate" | |
} | |
}, | |
"ReserveUsedAsCollateralDisabled(address,address)": { | |
"details": "Emitted on setUserUseReserveAsCollateral()", | |
"params": { | |
"reserve": "The address of the underlying asset of the reserve", | |
"user": "The address of the user enabling the usage as collateral*" | |
} | |
}, | |
"ReserveUsedAsCollateralEnabled(address,address)": { | |
"details": "Emitted on setUserUseReserveAsCollateral()", | |
"params": { | |
"reserve": "The address of the underlying asset of the reserve", | |
"user": "The address of the user enabling the usage as collateral*" | |
} | |
}, | |
"Swap(address,address,uint256)": { | |
"details": "Emitted on swapBorrowRateMode()", | |
"params": { | |
"rateMode": "The rate mode that the user wants to swap to*", | |
"reserve": "The address of the underlying asset of the reserve", | |
"user": "The address of the user swapping his rate mode" | |
} | |
}, | |
"Unpaused()": { | |
"details": "Emitted when the pause is lifted." | |
}, | |
"Withdraw(address,address,address,uint256)": { | |
"details": "Emitted on withdraw()", | |
"params": { | |
"amount": "The amount to be withdrawn*", | |
"reserve": "The address of the underlyng asset being withdrawn", | |
"to": "Address that will receive the underlying", | |
"user": "The address initiating the withdrawal, owner of aTokens" | |
} | |
} | |
}, | |
"kind": "dev", | |
"methods": { | |
"borrow(address,uint256,uint256,uint16,address)": { | |
"details": "Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower already deposited enough collateral, or he was given enough allowance by a credit delegator on the corresponding debt token (StableDebtToken or VariableDebtToken) - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet and 100 stable/variable debt tokens, depending on the `interestRateMode`", | |
"params": { | |
"amount": "The amount to be borrowed", | |
"asset": "The address of the underlying asset to borrow", | |
"interestRateMode": "The interest rate mode at which the user wants to borrow: 1 for Stable, 2 for Variable", | |
"onBehalfOf": "Address of the user who will receive the debt. Should be the address of the borrower itself calling the function if he wants to borrow against his own collateral, or the address of the credit delegator if he has been given credit delegation allowance*", | |
"referralCode": "Code used to register the integrator originating the operation, for potential rewards. 0 if the action is executed directly by the user, without any middle-man" | |
} | |
}, | |
"deposit(address,uint256,address,uint16)": { | |
"details": "Deposits an `amount` of underlying asset into the reserve, receiving in return overlying aTokens. - E.g. User deposits 100 USDC and gets in return 100 aUSDC", | |
"params": { | |
"amount": "The amount to be deposited", | |
"asset": "The address of the underlying asset to deposit", | |
"onBehalfOf": "The address that will receive the aTokens, same as msg.sender if the user wants to receive them on his own wallet, or a different address if the beneficiary of aTokens is a different wallet", | |
"referralCode": "Code used to register the integrator originating the operation, for potential rewards. 0 if the action is executed directly by the user, without any middle-man*" | |
} | |
}, | |
"flashLoan(address,address[],uint256[],uint256[],address,bytes,uint16)": { | |
"details": "Allows smartcontracts to access the liquidity of the pool within one transaction, as long as the amount taken plus a fee is returned. IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept into consideration. For further details please visit https://developers.aave.com", | |
"params": { | |
"amounts": "The amounts amounts being flash-borrowed", | |
"assets": "The addresses of the assets being flash-borrowed", | |
"modes": "Types of the debt to open if the flash loan is not returned: 0 -> Don't open any debt, just revert if funds can't be transferred from the receiver 1 -> Open debt at stable rate for the value of the amount flash-borrowed to the `onBehalfOf` address 2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address", | |
"onBehalfOf": "The address that will receive the debt in the case of using on `modes` 1 or 2", | |
"params": "Variadic packed params to pass to the receiver as extra information", | |
"receiverAddress": "The address of the contract receiving the funds, implementing the IFlashLoanReceiver interface", | |
"referralCode": "Code used to register the integrator originating the operation, for potential rewards. 0 if the action is executed directly by the user, without any middle-man*" | |
} | |
}, | |
"getConfiguration(address)": { | |
"details": "Returns the configuration of the reserve", | |
"params": { | |
"asset": "The address of the underlying asset of the reserve" | |
}, | |
"returns": { | |
"_0": "The configuration of the reserve*" | |
} | |
}, | |
"getReserveData(address)": { | |
"details": "Returns the state and configuration of the reserve", | |
"params": { | |
"asset": "The address of the underlying asset of the reserve" | |
}, | |
"returns": { | |
"_0": "The state of the reserve*" | |
} | |
}, | |
"getReserveNormalizedIncome(address)": { | |
"details": "Returns the normalized income normalized income of the reserve", | |
"params": { | |
"asset": "The address of the underlying asset of the reserve" | |
}, | |
"returns": { | |
"_0": "The reserve's normalized income" | |
} | |
}, | |
"getReserveNormalizedVariableDebt(address)": { | |
"details": "Returns the normalized variable debt per unit of asset", | |
"params": { | |
"asset": "The address of the underlying asset of the reserve" | |
}, | |
"returns": { | |
"_0": "The reserve normalized variable debt" | |
} | |
}, | |
"getUserAccountData(address)": { | |
"details": "Returns the user account data across all the reserves", | |
"params": { | |
"user": "The address of the user" | |
}, | |
"returns": { | |
"availableBorrowsETH": "the borrowing power left of the user", | |
"currentLiquidationThreshold": "the liquidation threshold of the user", | |
"healthFactor": "the current health factor of the user*", | |
"ltv": "the loan to value of the user", | |
"totalCollateralETH": "the total collateral in ETH of the user", | |
"totalDebtETH": "the total debt in ETH of the user" | |
} | |
}, | |
"getUserConfiguration(address)": { | |
"details": "Returns the configuration of the user across all the reserves", | |
"params": { | |
"user": "The user address" | |
}, | |
"returns": { | |
"_0": "The configuration of the user*" | |
} | |
}, | |
"liquidationCall(address,address,address,uint256,bool)": { | |
"details": "Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1 - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives a proportionally amount of the `collateralAsset` plus a bonus to cover market risk", | |
"params": { | |
"collateralAsset": "The address of the underlying asset used as collateral, to receive as result of the liquidation", | |
"debtAsset": "The address of the underlying borrowed asset to be repaid with the liquidation", | |
"debtToCover": "The debt amount of borrowed `asset` the liquidator wants to cover", | |
"receiveAToken": "`true` if the liquidators wants to receive the collateral aTokens, `false` if he wants to receive the underlying collateral asset directly*", | |
"user": "The address of the borrower getting liquidated" | |
} | |
}, | |
"rebalanceStableBorrowRate(address,address)": { | |
"details": "Rebalances the stable interest rate of a user to the current stable rate defined on the reserve. - Users can be rebalanced if the following conditions are satisfied: 1. Usage ratio is above 95% 2. the current deposit APY is below REBALANCE_UP_THRESHOLD * maxVariableBorrowRate, which means that too much has been borrowed at a stable rate and depositors are not earning enough", | |
"params": { | |
"asset": "The address of the underlying asset borrowed", | |
"user": "The address of the user to be rebalanced*" | |
} | |
}, | |
"repay(address,uint256,uint256,address)": { | |
"params": { | |
"amount": "The amount to repay - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode`", | |
"asset": "The address of the borrowed underlying asset previously borrowed", | |
"onBehalfOf": "Address of the user who will get his debt reduced/removed. Should be the address of the user calling the function if he wants to reduce/remove his own debt, or the address of any other other borrower whose debt should be removed", | |
"rateMode": "The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable" | |
}, | |
"returns": { | |
"_0": "The final amount repaid*" | |
} | |
}, | |
"setUserUseReserveAsCollateral(address,bool)": { | |
"details": "Allows depositors to enable/disable a specific deposited asset as collateral", | |
"params": { | |
"asset": "The address of the underlying asset deposited", | |
"useAsCollateral": "`true` if the user wants to use the deposit as collateral, `false` otherwise*" | |
} | |
}, | |
"swapBorrowRateMode(address,uint256)": { | |
"details": "Allows a borrower to swap his debt between stable and variable mode, or viceversa", | |
"params": { | |
"asset": "The address of the underlying asset borrowed", | |
"rateMode": "The rate mode that the user wants to swap to*" | |
} | |
}, | |
"withdraw(address,uint256,address)": { | |
"details": "Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC", | |
"params": { | |
"amount": "The underlying amount to be withdrawn - Send the value type(uint256).max in order to withdraw the whole aToken balance", | |
"asset": "The address of the underlying asset to withdraw", | |
"to": "Address that will receive the underlying, same as msg.sender if the user wants to receive it on his own wallet, or a different address if the beneficiary is a different wallet" | |
}, | |
"returns": { | |
"_0": "The final amount withdrawn*" | |
} | |
} | |
}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": { | |
"repay(address,uint256,uint256,address)": { | |
"notice": "Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned - E.g. User repays 100 USDC, burning 100 variable/stable debt tokens of the `onBehalfOf` address" | |
} | |
}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
".deps/github/aave/protocol-v2/mainnet-deployment-03-12-2020/contracts/interfaces/ILendingPool.sol": "ILendingPool" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
".deps/github/aave/protocol-v2/mainnet-deployment-03-12-2020/contracts/interfaces/ILendingPool.sol": { | |
"keccak256": "0x4317aab800a42f977aca3cdfd8d5b6f13020febc15a955df0ef967fad29ddfd1", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://7a42a21607a436b318ecc8f89c706de8160bb2339a6d51f785f7b211140ef5ca", | |
"dweb:/ipfs/QmXzTRS5rzy3yFSGGfFaaWiyWNayXkzdTNuSMx7GPggSVy" | |
] | |
}, | |
".deps/github/aave/protocol-v2/mainnet-deployment-03-12-2020/contracts/interfaces/ILendingPoolAddressesProvider.sol": { | |
"keccak256": "0xd8d09ab923d429b8b27eafa7049d021393189e0c80b8f374084f77b201ea1073", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://9549c766e722380c52a51a6a76ffa9940ed7b33caa69de74bbe947cd47b417d3", | |
"dweb:/ipfs/Qmao6cZZ4XrJqaF2ErPL3LwoDtbc1LxXeztKThHSt96H1t" | |
] | |
}, | |
".deps/github/aave/protocol-v2/mainnet-deployment-03-12-2020/contracts/protocol/libraries/types/DataTypes.sol": { | |
"keccak256": "0x64512f0d56b4c8ec7af33836fe00ad547cd47d71ffdd9ca8a1f2b867da425fd3", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://0207d03b9e11cd8db58021f6b8153bef483477daf43607306769c16a8da204a8", | |
"dweb:/ipfs/QmfL33Rf1ZGUBVm6gcyEXKbZE3PzLuoGQR3d3CCfQhrcSk" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"getAddress(bytes32)": "21f8a721", | |
"getEmergencyAdmin()": "ddcaa9ea", | |
"getLendingPool()": "0261bf8b", | |
"getLendingPoolCollateralManager()": "712d9171", | |
"getLendingPoolConfigurator()": "85c858b1", | |
"getLendingRateOracle()": "3618abba", | |
"getMarketId()": "568ef470", | |
"getPoolAdmin()": "aecda378", | |
"getPriceOracle()": "fca513a8", | |
"setAddress(bytes32,address)": "ca446dd9", | |
"setAddressAsProxy(bytes32,address)": "5dcc528c", | |
"setEmergencyAdmin(address)": "35da3394", | |
"setLendingPoolCollateralManager(address)": "398e5553", | |
"setLendingPoolConfiguratorImpl(address)": "c12542df", | |
"setLendingPoolImpl(address)": "5aef021f", | |
"setLendingRateOracle(address)": "820d1274", | |
"setMarketId(string)": "f67b1847", | |
"setPoolAdmin(address)": "283d62ad", | |
"setPriceOracle(address)": "530e784f" | |
} | |
}, | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "bytes32", | |
"name": "id", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bool", | |
"name": "hasProxy", | |
"type": "bool" | |
} | |
], | |
"name": "AddressSet", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "ConfigurationAdminUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "EmergencyAdminUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "LendingPoolCollateralManagerUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "LendingPoolConfiguratorUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "LendingPoolUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "LendingRateOracleUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "newMarketId", | |
"type": "string" | |
} | |
], | |
"name": "MarketIdSet", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "PriceOracleUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "bytes32", | |
"name": "id", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "ProxyCreated", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "getAddress", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getEmergencyAdmin", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getLendingPool", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getLendingPoolCollateralManager", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getLendingPoolConfigurator", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getLendingRateOracle", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getMarketId", | |
"outputs": [ | |
{ | |
"internalType": "string", | |
"name": "", | |
"type": "string" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getPoolAdmin", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getPriceOracle", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "id", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "setAddress", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "id", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "address", | |
"name": "impl", | |
"type": "address" | |
} | |
], | |
"name": "setAddressAsProxy", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "setEmergencyAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "manager", | |
"type": "address" | |
} | |
], | |
"name": "setLendingPoolCollateralManager", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "configurator", | |
"type": "address" | |
} | |
], | |
"name": "setLendingPoolConfiguratorImpl", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "pool", | |
"type": "address" | |
} | |
], | |
"name": "setLendingPoolImpl", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "lendingRateOracle", | |
"type": "address" | |
} | |
], | |
"name": "setLendingRateOracle", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "string", | |
"name": "marketId", | |
"type": "string" | |
} | |
], | |
"name": "setMarketId", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "setPoolAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "priceOracle", | |
"type": "address" | |
} | |
], | |
"name": "setPriceOracle", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.8.4+commit.c7e474f2" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "bytes32", | |
"name": "id", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bool", | |
"name": "hasProxy", | |
"type": "bool" | |
} | |
], | |
"name": "AddressSet", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "ConfigurationAdminUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "EmergencyAdminUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "LendingPoolCollateralManagerUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "LendingPoolConfiguratorUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "LendingPoolUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "LendingRateOracleUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "string", | |
"name": "newMarketId", | |
"type": "string" | |
} | |
], | |
"name": "MarketIdSet", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "PriceOracleUpdated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "bytes32", | |
"name": "id", | |
"type": "bytes32" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "ProxyCreated", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "id", | |
"type": "bytes32" | |
} | |
], | |
"name": "getAddress", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getEmergencyAdmin", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getLendingPool", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getLendingPoolCollateralManager", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getLendingPoolConfigurator", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getLendingRateOracle", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getMarketId", | |
"outputs": [ | |
{ | |
"internalType": "string", | |
"name": "", | |
"type": "string" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getPoolAdmin", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getPriceOracle", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "id", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "address", | |
"name": "newAddress", | |
"type": "address" | |
} | |
], | |
"name": "setAddress", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "id", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "address", | |
"name": "impl", | |
"type": "address" | |
} | |
], | |
"name": "setAddressAsProxy", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "setEmergencyAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "manager", | |
"type": "address" | |
} | |
], | |
"name": "setLendingPoolCollateralManager", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "configurator", | |
"type": "address" | |
} | |
], | |
"name": "setLendingPoolConfiguratorImpl", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "pool", | |
"type": "address" | |
} | |
], | |
"name": "setLendingPoolImpl", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "lendingRateOracle", | |
"type": "address" | |
} | |
], | |
"name": "setLendingRateOracle", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "string", | |
"name": "marketId", | |
"type": "string" | |
} | |
], | |
"name": "setMarketId", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "admin", | |
"type": "address" | |
} | |
], | |
"name": "setPoolAdmin", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "priceOracle", | |
"type": "address" | |
} | |
], | |
"name": "setPriceOracle", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"author": "Aave*", | |
"details": "Main registry of addresses part of or connected to the protocol, including permissioned roles - Acting also as factory of proxies and admin of those, so with right to change its implementations - Owned by the Aave Governance", | |
"kind": "dev", | |
"methods": {}, | |
"title": "LendingPoolAddressesProvider contract", | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
".deps/github/aave/protocol-v2/mainnet-deployment-03-12-2020/contracts/interfaces/ILendingPoolAddressesProvider.sol": "ILendingPoolAddressesProvider" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
".deps/github/aave/protocol-v2/mainnet-deployment-03-12-2020/contracts/interfaces/ILendingPoolAddressesProvider.sol": { | |
"keccak256": "0xd8d09ab923d429b8b27eafa7049d021393189e0c80b8f374084f77b201ea1073", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://9549c766e722380c52a51a6a76ffa9940ed7b33caa69de74bbe947cd47b417d3", | |
"dweb:/ipfs/Qmao6cZZ4XrJqaF2ErPL3LwoDtbc1LxXeztKThHSt96H1t" | |
] | |
} | |
}, | |
"version": 1 | |
} |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity >=0.6.12; | |
pragma experimental ABIEncoderV2; | |
import {ILendingPoolAddressesProvider} from './ILendingPoolAddressesProvider.sol'; | |
import {DataTypes} from '../protocol/libraries/types/DataTypes.sol'; | |
interface ILendingPool { | |
/** | |
* @dev Emitted on deposit() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address initiating the deposit | |
* @param onBehalfOf The beneficiary of the deposit, receiving the aTokens | |
* @param amount The amount deposited | |
* @param referral The referral code used | |
**/ | |
event Deposit( | |
address indexed reserve, | |
address user, | |
address indexed onBehalfOf, | |
uint256 amount, | |
uint16 indexed referral | |
); | |
/** | |
* @dev Emitted on withdraw() | |
* @param reserve The address of the underlyng asset being withdrawn | |
* @param user The address initiating the withdrawal, owner of aTokens | |
* @param to Address that will receive the underlying | |
* @param amount The amount to be withdrawn | |
**/ | |
event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount); | |
/** | |
* @dev Emitted on borrow() and flashLoan() when debt needs to be opened | |
* @param reserve The address of the underlying asset being borrowed | |
* @param user The address of the user initiating the borrow(), receiving the funds on borrow() or just | |
* initiator of the transaction on flashLoan() | |
* @param onBehalfOf The address that will be getting the debt | |
* @param amount The amount borrowed out | |
* @param borrowRateMode The rate mode: 1 for Stable, 2 for Variable | |
* @param borrowRate The numeric rate at which the user has borrowed | |
* @param referral The referral code used | |
**/ | |
event Borrow( | |
address indexed reserve, | |
address user, | |
address indexed onBehalfOf, | |
uint256 amount, | |
uint256 borrowRateMode, | |
uint256 borrowRate, | |
uint16 indexed referral | |
); | |
/** | |
* @dev Emitted on repay() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The beneficiary of the repayment, getting his debt reduced | |
* @param repayer The address of the user initiating the repay(), providing the funds | |
* @param amount The amount repaid | |
**/ | |
event Repay( | |
address indexed reserve, | |
address indexed user, | |
address indexed repayer, | |
uint256 amount | |
); | |
/** | |
* @dev Emitted on swapBorrowRateMode() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address of the user swapping his rate mode | |
* @param rateMode The rate mode that the user wants to swap to | |
**/ | |
event Swap(address indexed reserve, address indexed user, uint256 rateMode); | |
/** | |
* @dev Emitted on setUserUseReserveAsCollateral() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address of the user enabling the usage as collateral | |
**/ | |
event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user); | |
/** | |
* @dev Emitted on setUserUseReserveAsCollateral() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address of the user enabling the usage as collateral | |
**/ | |
event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user); | |
/** | |
* @dev Emitted on rebalanceStableBorrowRate() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address of the user for which the rebalance has been executed | |
**/ | |
event RebalanceStableBorrowRate(address indexed reserve, address indexed user); | |
/** | |
* @dev Emitted on flashLoan() | |
* @param target The address of the flash loan receiver contract | |
* @param initiator The address initiating the flash loan | |
* @param asset The address of the asset being flash borrowed | |
* @param amount The amount flash borrowed | |
* @param premium The fee flash borrowed | |
* @param referralCode The referral code used | |
**/ | |
event FlashLoan( | |
address indexed target, | |
address indexed initiator, | |
address indexed asset, | |
uint256 amount, | |
uint256 premium, | |
uint16 referralCode | |
); | |
/** | |
* @dev Emitted when the pause is triggered. | |
*/ | |
event Paused(); | |
/** | |
* @dev Emitted when the pause is lifted. | |
*/ | |
event Unpaused(); | |
/** | |
* @dev Emitted when a borrower is liquidated. This event is emitted by the LendingPool via | |
* LendingPoolCollateral manager using a DELEGATECALL | |
* This allows to have the events in the generated ABI for LendingPool. | |
* @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation | |
* @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation | |
* @param user The address of the borrower getting liquidated | |
* @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover | |
* @param liquidatedCollateralAmount The amount of collateral received by the liiquidator | |
* @param liquidator The address of the liquidator | |
* @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants | |
* to receive the underlying collateral asset directly | |
**/ | |
event LiquidationCall( | |
address indexed collateralAsset, | |
address indexed debtAsset, | |
address indexed user, | |
uint256 debtToCover, | |
uint256 liquidatedCollateralAmount, | |
address liquidator, | |
bool receiveAToken | |
); | |
/** | |
* @dev Emitted when the state of a reserve is updated. NOTE: This event is actually declared | |
* in the ReserveLogic library and emitted in the updateInterestRates() function. Since the function is internal, | |
* the event will actually be fired by the LendingPool contract. The event is therefore replicated here so it | |
* gets added to the LendingPool ABI | |
* @param reserve The address of the underlying asset of the reserve | |
* @param liquidityRate The new liquidity rate | |
* @param stableBorrowRate The new stable borrow rate | |
* @param variableBorrowRate The new variable borrow rate | |
* @param liquidityIndex The new liquidity index | |
* @param variableBorrowIndex The new variable borrow index | |
**/ | |
event ReserveDataUpdated( | |
address indexed reserve, | |
uint256 liquidityRate, | |
uint256 stableBorrowRate, | |
uint256 variableBorrowRate, | |
uint256 liquidityIndex, | |
uint256 variableBorrowIndex | |
); | |
/** | |
* @dev Deposits an `amount` of underlying asset into the reserve, receiving in return overlying aTokens. | |
* - E.g. User deposits 100 USDC and gets in return 100 aUSDC | |
* @param asset The address of the underlying asset to deposit | |
* @param amount The amount to be deposited | |
* @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user | |
* wants to receive them on his own wallet, or a different address if the beneficiary of aTokens | |
* is a different wallet | |
* @param referralCode Code used to register the integrator originating the operation, for potential rewards. | |
* 0 if the action is executed directly by the user, without any middle-man | |
**/ | |
function deposit( | |
address asset, | |
uint256 amount, | |
address onBehalfOf, | |
uint16 referralCode | |
) external; | |
/** | |
* @dev Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned | |
* E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC | |
* @param asset The address of the underlying asset to withdraw | |
* @param amount The underlying amount to be withdrawn | |
* - Send the value type(uint256).max in order to withdraw the whole aToken balance | |
* @param to Address that will receive the underlying, same as msg.sender if the user | |
* wants to receive it on his own wallet, or a different address if the beneficiary is a | |
* different wallet | |
* @return The final amount withdrawn | |
**/ | |
function withdraw( | |
address asset, | |
uint256 amount, | |
address to | |
) external returns (uint256); | |
/** | |
* @dev Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower | |
* already deposited enough collateral, or he was given enough allowance by a credit delegator on the | |
* corresponding debt token (StableDebtToken or VariableDebtToken) | |
* - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet | |
* and 100 stable/variable debt tokens, depending on the `interestRateMode` | |
* @param asset The address of the underlying asset to borrow | |
* @param amount The amount to be borrowed | |
* @param interestRateMode The interest rate mode at which the user wants to borrow: 1 for Stable, 2 for Variable | |
* @param referralCode Code used to register the integrator originating the operation, for potential rewards. | |
* 0 if the action is executed directly by the user, without any middle-man | |
* @param onBehalfOf Address of the user who will receive the debt. Should be the address of the borrower itself | |
* calling the function if he wants to borrow against his own collateral, or the address of the credit delegator | |
* if he has been given credit delegation allowance | |
**/ | |
function borrow( | |
address asset, | |
uint256 amount, | |
uint256 interestRateMode, | |
uint16 referralCode, | |
address onBehalfOf | |
) external; | |
/** | |
* @notice Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned | |
* - E.g. User repays 100 USDC, burning 100 variable/stable debt tokens of the `onBehalfOf` address | |
* @param asset The address of the borrowed underlying asset previously borrowed | |
* @param amount The amount to repay | |
* - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode` | |
* @param rateMode The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable | |
* @param onBehalfOf Address of the user who will get his debt reduced/removed. Should be the address of the | |
* user calling the function if he wants to reduce/remove his own debt, or the address of any other | |
* other borrower whose debt should be removed | |
* @return The final amount repaid | |
**/ | |
function repay( | |
address asset, | |
uint256 amount, | |
uint256 rateMode, | |
address onBehalfOf | |
) external returns (uint256); | |
/** | |
* @dev Allows a borrower to swap his debt between stable and variable mode, or viceversa | |
* @param asset The address of the underlying asset borrowed | |
* @param rateMode The rate mode that the user wants to swap to | |
**/ | |
function swapBorrowRateMode(address asset, uint256 rateMode) external; | |
/** | |
* @dev Rebalances the stable interest rate of a user to the current stable rate defined on the reserve. | |
* - Users can be rebalanced if the following conditions are satisfied: | |
* 1. Usage ratio is above 95% | |
* 2. the current deposit APY is below REBALANCE_UP_THRESHOLD * maxVariableBorrowRate, which means that too much has been | |
* borrowed at a stable rate and depositors are not earning enough | |
* @param asset The address of the underlying asset borrowed | |
* @param user The address of the user to be rebalanced | |
**/ | |
function rebalanceStableBorrowRate(address asset, address user) external; | |
/** | |
* @dev Allows depositors to enable/disable a specific deposited asset as collateral | |
* @param asset The address of the underlying asset deposited | |
* @param useAsCollateral `true` if the user wants to use the deposit as collateral, `false` otherwise | |
**/ | |
function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) external; | |
/** | |
* @dev Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1 | |
* - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives | |
* a proportionally amount of the `collateralAsset` plus a bonus to cover market risk | |
* @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation | |
* @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation | |
* @param user The address of the borrower getting liquidated | |
* @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover | |
* @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants | |
* to receive the underlying collateral asset directly | |
**/ | |
function liquidationCall( | |
address collateralAsset, | |
address debtAsset, | |
address user, | |
uint256 debtToCover, | |
bool receiveAToken | |
) external; | |
/** | |
* @dev Allows smartcontracts to access the liquidity of the pool within one transaction, | |
* as long as the amount taken plus a fee is returned. | |
* IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept into consideration. | |
* For further details please visit https://developers.aave.com | |
* @param receiverAddress The address of the contract receiving the funds, implementing the IFlashLoanReceiver interface | |
* @param assets The addresses of the assets being flash-borrowed | |
* @param amounts The amounts amounts being flash-borrowed | |
* @param modes Types of the debt to open if the flash loan is not returned: | |
* 0 -> Don't open any debt, just revert if funds can't be transferred from the receiver | |
* 1 -> Open debt at stable rate for the value of the amount flash-borrowed to the `onBehalfOf` address | |
* 2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address | |
* @param onBehalfOf The address that will receive the debt in the case of using on `modes` 1 or 2 | |
* @param params Variadic packed params to pass to the receiver as extra information | |
* @param referralCode Code used to register the integrator originating the operation, for potential rewards. | |
* 0 if the action is executed directly by the user, without any middle-man | |
**/ | |
function flashLoan( | |
address receiverAddress, | |
address[] calldata assets, | |
uint256[] calldata amounts, | |
uint256[] calldata modes, | |
address onBehalfOf, | |
bytes calldata params, | |
uint16 referralCode | |
) external; | |
/** | |
* @dev Returns the user account data across all the reserves | |
* @param user The address of the user | |
* @return totalCollateralETH the total collateral in ETH of the user | |
* @return totalDebtETH the total debt in ETH of the user | |
* @return availableBorrowsETH the borrowing power left of the user | |
* @return currentLiquidationThreshold the liquidation threshold of the user | |
* @return ltv the loan to value of the user | |
* @return healthFactor the current health factor of the user | |
**/ | |
function getUserAccountData(address user) | |
external | |
view | |
returns ( | |
uint256 totalCollateralETH, | |
uint256 totalDebtETH, | |
uint256 availableBorrowsETH, | |
uint256 currentLiquidationThreshold, | |
uint256 ltv, | |
uint256 healthFactor | |
); | |
function initReserve( | |
address reserve, | |
address aTokenAddress, | |
address stableDebtAddress, | |
address variableDebtAddress, | |
address interestRateStrategyAddress | |
) external; | |
function setReserveInterestRateStrategyAddress(address reserve, address rateStrategyAddress) | |
external; | |
function setConfiguration(address reserve, uint256 configuration) external; | |
/** | |
* @dev Returns the configuration of the reserve | |
* @param asset The address of the underlying asset of the reserve | |
* @return The configuration of the reserve | |
**/ | |
function getConfiguration(address asset) | |
external | |
view | |
returns (DataTypes.ReserveConfigurationMap memory); | |
/** | |
* @dev Returns the configuration of the user across all the reserves | |
* @param user The user address | |
* @return The configuration of the user | |
**/ | |
function getUserConfiguration(address user) | |
external | |
view | |
returns (DataTypes.UserConfigurationMap memory); | |
/** | |
* @dev Returns the normalized income normalized income of the reserve | |
* @param asset The address of the underlying asset of the reserve | |
* @return The reserve's normalized income | |
*/ | |
function getReserveNormalizedIncome(address asset) external view returns (uint256); | |
/** | |
* @dev Returns the normalized variable debt per unit of asset | |
* @param asset The address of the underlying asset of the reserve | |
* @return The reserve normalized variable debt | |
*/ | |
function getReserveNormalizedVariableDebt(address asset) external view returns (uint256); | |
/** | |
* @dev Returns the state and configuration of the reserve | |
* @param asset The address of the underlying asset of the reserve | |
* @return The state of the reserve | |
**/ | |
function getReserveData(address asset) external view returns (DataTypes.ReserveData memory); | |
function finalizeTransfer( | |
address asset, | |
address from, | |
address to, | |
uint256 amount, | |
uint256 balanceFromAfter, | |
uint256 balanceToBefore | |
) external; | |
function getReservesList() external view returns (address[] memory); | |
function getAddressesProvider() external view returns (ILendingPoolAddressesProvider); | |
function setPause(bool val) external; | |
function paused() external view returns (bool); | |
} |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity >=0.6.12; | |
/** | |
* @title LendingPoolAddressesProvider contract | |
* @dev Main registry of addresses part of or connected to the protocol, including permissioned roles | |
* - Acting also as factory of proxies and admin of those, so with right to change its implementations | |
* - Owned by the Aave Governance | |
* @author Aave | |
**/ | |
interface ILendingPoolAddressesProvider { | |
event MarketIdSet(string newMarketId); | |
event LendingPoolUpdated(address indexed newAddress); | |
event ConfigurationAdminUpdated(address indexed newAddress); | |
event EmergencyAdminUpdated(address indexed newAddress); | |
event LendingPoolConfiguratorUpdated(address indexed newAddress); | |
event LendingPoolCollateralManagerUpdated(address indexed newAddress); | |
event PriceOracleUpdated(address indexed newAddress); | |
event LendingRateOracleUpdated(address indexed newAddress); | |
event ProxyCreated(bytes32 id, address indexed newAddress); | |
event AddressSet(bytes32 id, address indexed newAddress, bool hasProxy); | |
function getMarketId() external view returns (string memory); | |
function setMarketId(string calldata marketId) external; | |
function setAddress(bytes32 id, address newAddress) external; | |
function setAddressAsProxy(bytes32 id, address impl) external; | |
function getAddress(bytes32 id) external view returns (address); | |
function getLendingPool() external view returns (address); | |
function setLendingPoolImpl(address pool) external; | |
function getLendingPoolConfigurator() external view returns (address); | |
function setLendingPoolConfiguratorImpl(address configurator) external; | |
function getLendingPoolCollateralManager() external view returns (address); | |
function setLendingPoolCollateralManager(address manager) external; | |
function getPoolAdmin() external view returns (address); | |
function setPoolAdmin(address admin) external; | |
function getEmergencyAdmin() external view returns (address); | |
function setEmergencyAdmin(address admin) external; | |
function getPriceOracle() external view returns (address); | |
function setPriceOracle(address priceOracle) external; | |
function getLendingRateOracle() external view returns (address); | |
function setLendingRateOracle(address lendingRateOracle) external; | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "60566050600b82828239805160001a6073146043577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200ece8ad3c8f908d76c178aa128b40845b8a82fd1de8301f0e85bab9f1d9ccf5d64736f6c63430008040033", | |
"opcodes": "PUSH1 0x56 PUSH1 0x50 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x43 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x0 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xE 0xCE DUP11 0xD3 0xC8 0xF9 ADDMOD 0xD7 PUSH13 0x178AA128B40845B8A82FD1DE83 ADD CREATE 0xE8 JUMPDEST 0xAB SWAP16 SAR SWAP13 0xCF 0x5D PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ", | |
"sourceMap": "64:1467:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200ece8ad3c8f908d76c178aa128b40845b8a82fd1de8301f0e85bab9f1d9ccf5d64736f6c63430008040033", | |
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xE 0xCE DUP11 0xD3 0xC8 0xF9 ADDMOD 0xD7 PUSH13 0x178AA128B40845B8A82FD1DE83 ADD CREATE 0xE8 JUMPDEST 0xAB SWAP16 SAR SWAP13 0xCF 0x5D PUSH5 0x736F6C6343 STOP ADDMOD DIV STOP CALLER ", | |
"sourceMap": "64:1467:0:-:0;;;;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "17200", | |
"executionCost": "97", | |
"totalCost": "17297" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
{ | |
"compiler": { | |
"version": "0.8.4+commit.c7e474f2" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
".deps/github/aave/protocol-v2/mainnet-deployment-03-12-2020/contracts/protocol/libraries/types/DataTypes.sol": "DataTypes" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
".deps/github/aave/protocol-v2/mainnet-deployment-03-12-2020/contracts/protocol/libraries/types/DataTypes.sol": { | |
"keccak256": "0x64512f0d56b4c8ec7af33836fe00ad547cd47d71ffdd9ca8a1f2b867da425fd3", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://0207d03b9e11cd8db58021f6b8153bef483477daf43607306769c16a8da204a8", | |
"dweb:/ipfs/QmfL33Rf1ZGUBVm6gcyEXKbZE3PzLuoGQR3d3CCfQhrcSk" | |
] | |
} | |
}, | |
"version": 1 | |
} |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity >=0.6.12; | |
library DataTypes { | |
// refer to the whitepaper, section 1.1 basic concepts for a formal description of these properties. | |
struct ReserveData { | |
//stores the reserve configuration | |
ReserveConfigurationMap configuration; | |
//the liquidity index. Expressed in ray | |
uint128 liquidityIndex; | |
//variable borrow index. Expressed in ray | |
uint128 variableBorrowIndex; | |
//the current supply rate. Expressed in ray | |
uint128 currentLiquidityRate; | |
//the current variable borrow rate. Expressed in ray | |
uint128 currentVariableBorrowRate; | |
//the current stable borrow rate. Expressed in ray | |
uint128 currentStableBorrowRate; | |
uint40 lastUpdateTimestamp; | |
//tokens addresses | |
address aTokenAddress; | |
address stableDebtTokenAddress; | |
address variableDebtTokenAddress; | |
//address of the interest rate strategy | |
address interestRateStrategyAddress; | |
//the id of the reserve. Represents the position in the list of the active reserves | |
uint8 id; | |
} | |
struct ReserveConfigurationMap { | |
//bit 0-15: LTV | |
//bit 16-31: Liq. threshold | |
//bit 32-47: Liq. bonus | |
//bit 48-55: Decimals | |
//bit 56: Reserve is active | |
//bit 57: reserve is frozen | |
//bit 58: borrowing is enabled | |
//bit 59: stable rate borrowing enabled | |
//bit 60-63: reserved | |
//bit 64-79: reserve factor | |
uint256 data; | |
} | |
struct UserConfigurationMap { | |
uint256 data; | |
} | |
enum InterestRateMode {NONE, STABLE, VARIABLE} | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208a4e9ceffaf84d2d5208c5cd10d27f2f956da4ea408c37b5841fd044692aaed864736f6c634300060c0033", | |
"opcodes": "PUSH1 0x56 PUSH1 0x23 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x16 JUMPI INVALID JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP11 0x4E SWAP13 0xEF STATICCALL 0xF8 0x4D 0x2D MSTORE ADDMOD 0xC5 0xCD LT 0xD2 PUSH32 0x2F956DA4EA408C37B5841FD044692AAED864736F6C634300060C003300000000 ", | |
"sourceMap": "116:1016:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212208a4e9ceffaf84d2d5208c5cd10d27f2f956da4ea408c37b5841fd044692aaed864736f6c634300060c0033", | |
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 DUP11 0x4E SWAP13 0xEF STATICCALL 0xF8 0x4D 0x2D MSTORE ADDMOD 0xC5 0xCD LT 0xD2 PUSH32 0x2F956DA4EA408C37B5841FD044692AAED864736F6C634300060C003300000000 ", | |
"sourceMap": "116:1016:0:-:0;;;;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "17200", | |
"executionCost": "97", | |
"totalCost": "17297" | |
}, | |
"internal": { | |
"add(uint256,uint256)": "infinite", | |
"div(uint256,uint256)": "infinite", | |
"mul(uint256,uint256)": "infinite", | |
"sub(uint256,uint256)": "infinite" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
{ | |
"compiler": { | |
"version": "0.6.12+commit.27d51765" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"details": "Math operations with safety checks that throw on error", | |
"kind": "dev", | |
"methods": {}, | |
"title": "SafeMath", | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"/.deps/github/ConsenSysMesh/openzeppelin-solidity/contracts/math/SafeMath.sol": "SafeMath" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"/.deps/github/ConsenSysMesh/openzeppelin-solidity/contracts/math/SafeMath.sol": { | |
"keccak256": "0x7867dee4ae3c149c9c462d8fc84ad7dcfc4f754273e48e838f5bd2a007b0a323", | |
"urls": [ | |
"bzz-raw://d6350a897554551331a7608e6de275a8cf0f0324526c0f2df84a86d2811ebe9a", | |
"dweb:/ipfs/QmVDm14SVfMD6sjxRUKw5R3gZo4Zunph8xJgLS5oWXHPGV" | |
] | |
} | |
}, | |
"version": 1 | |
} |
pragma solidity ^0.6.0; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that throw on error | |
*/ | |
library SafeMath { | |
/** | |
* @dev Multiplies two numbers, throws on overflow. | |
*/ | |
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { | |
if (a == 0) { | |
return 0; | |
} | |
c = a * b; | |
assert(c / a == b); | |
return c; | |
} | |
/** | |
* @dev Integer division of two numbers, truncating the quotient. | |
*/ | |
function div(uint256 a, uint256 b) internal pure returns (uint256) { | |
// assert(b > 0); // Solidity automatically throws when dividing by 0 | |
// uint256 c = a / b; | |
// assert(a == b * c + a % b); // There is no case in which this doesn't hold | |
return a / b; | |
} | |
/** | |
* @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). | |
*/ | |
function sub(uint256 a, uint256 b) internal pure returns (uint256) { | |
assert(b <= a); | |
return a - b; | |
} | |
/** | |
* @dev Adds two numbers, throws on overflow. | |
*/ | |
function add(uint256 a, uint256 b) internal pure returns (uint256 c) { | |
c = a + b; | |
assert(c >= a); | |
return c; | |
} | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"WETH()": "ad5c4648", | |
"addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)": "e8e33700", | |
"addLiquidityETH(address,uint256,uint256,uint256,address,uint256)": "f305d719", | |
"factory()": "c45a0155", | |
"getAmountIn(uint256,uint256,uint256)": "85f8c259", | |
"getAmountOut(uint256,uint256,uint256)": "054d50d4", | |
"getAmountsIn(uint256,address[])": "1f00ca74", | |
"getAmountsOut(uint256,address[])": "d06ca61f", | |
"quote(uint256,uint256,uint256)": "ad615dec", | |
"removeLiquidity(address,address,uint256,uint256,uint256,address,uint256)": "baa2abde", | |
"removeLiquidityETH(address,uint256,uint256,uint256,address,uint256)": "02751cec", | |
"removeLiquidityETHWithPermit(address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)": "ded9382a", | |
"removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)": "2195995c", | |
"swapETHForExactTokens(uint256,address[],address,uint256)": "fb3bdb41", | |
"swapExactETHForTokens(uint256,address[],address,uint256)": "7ff36ab5", | |
"swapExactTokensForETH(uint256,uint256,address[],address,uint256)": "18cbafe5", | |
"swapExactTokensForTokens(uint256,uint256,address[],address,uint256)": "38ed1739", | |
"swapTokensForExactETH(uint256,uint256,address[],address,uint256)": "4a25d94a", | |
"swapTokensForExactTokens(uint256,uint256,address[],address,uint256)": "8803dbee" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "WETH", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountADesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBDesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "addLiquidity", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenDesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "addLiquidityETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "factory", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveOut", | |
"type": "uint256" | |
} | |
], | |
"name": "getAmountIn", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveOut", | |
"type": "uint256" | |
} | |
], | |
"name": "getAmountOut", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
} | |
], | |
"name": "getAmountsIn", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
} | |
], | |
"name": "getAmountsOut", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveB", | |
"type": "uint256" | |
} | |
], | |
"name": "quote", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "removeLiquidity", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "removeLiquidityETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approveMax", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "v", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "r", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "s", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeLiquidityETHWithPermit", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approveMax", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "v", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "r", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "s", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeLiquidityWithPermit", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapETHForExactTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactETHForTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountInMax", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapTokensForExactETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountInMax", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapTokensForExactTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.7.2+commit.51b20bc0" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "WETH", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountADesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBDesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "addLiquidity", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenDesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "addLiquidityETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "factory", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveOut", | |
"type": "uint256" | |
} | |
], | |
"name": "getAmountIn", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveOut", | |
"type": "uint256" | |
} | |
], | |
"name": "getAmountOut", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
} | |
], | |
"name": "getAmountsIn", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
} | |
], | |
"name": "getAmountsOut", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveB", | |
"type": "uint256" | |
} | |
], | |
"name": "quote", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "removeLiquidity", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "removeLiquidityETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approveMax", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "v", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "r", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "s", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeLiquidityETHWithPermit", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approveMax", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "v", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "r", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "s", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeLiquidityWithPermit", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapETHForExactTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactETHForTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountInMax", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapTokensForExactETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountInMax", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapTokensForExactTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
".deps/github/Uniswap/uniswap-v2-periphery/contracts/interfaces/IUniswapV2Router01.sol": "IUniswapV2Router01" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
".deps/github/Uniswap/uniswap-v2-periphery/contracts/interfaces/IUniswapV2Router01.sol": { | |
"keccak256": "0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2", | |
"urls": [ | |
"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb", | |
"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"WETH()": "ad5c4648", | |
"addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)": "e8e33700", | |
"addLiquidityETH(address,uint256,uint256,uint256,address,uint256)": "f305d719", | |
"factory()": "c45a0155", | |
"getAmountIn(uint256,uint256,uint256)": "85f8c259", | |
"getAmountOut(uint256,uint256,uint256)": "054d50d4", | |
"getAmountsIn(uint256,address[])": "1f00ca74", | |
"getAmountsOut(uint256,address[])": "d06ca61f", | |
"quote(uint256,uint256,uint256)": "ad615dec", | |
"removeLiquidity(address,address,uint256,uint256,uint256,address,uint256)": "baa2abde", | |
"removeLiquidityETH(address,uint256,uint256,uint256,address,uint256)": "02751cec", | |
"removeLiquidityETHSupportingFeeOnTransferTokens(address,uint256,uint256,uint256,address,uint256)": "af2979eb", | |
"removeLiquidityETHWithPermit(address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)": "ded9382a", | |
"removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)": "5b0d5984", | |
"removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)": "2195995c", | |
"swapETHForExactTokens(uint256,address[],address,uint256)": "fb3bdb41", | |
"swapExactETHForTokens(uint256,address[],address,uint256)": "7ff36ab5", | |
"swapExactETHForTokensSupportingFeeOnTransferTokens(uint256,address[],address,uint256)": "b6f9de95", | |
"swapExactTokensForETH(uint256,uint256,address[],address,uint256)": "18cbafe5", | |
"swapExactTokensForETHSupportingFeeOnTransferTokens(uint256,uint256,address[],address,uint256)": "791ac947", | |
"swapExactTokensForTokens(uint256,uint256,address[],address,uint256)": "38ed1739", | |
"swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256,uint256,address[],address,uint256)": "5c11d795", | |
"swapTokensForExactETH(uint256,uint256,address[],address,uint256)": "4a25d94a", | |
"swapTokensForExactTokens(uint256,uint256,address[],address,uint256)": "8803dbee" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "WETH", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountADesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBDesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "addLiquidity", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenDesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "addLiquidityETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "factory", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveOut", | |
"type": "uint256" | |
} | |
], | |
"name": "getAmountIn", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveOut", | |
"type": "uint256" | |
} | |
], | |
"name": "getAmountOut", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
} | |
], | |
"name": "getAmountsIn", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
} | |
], | |
"name": "getAmountsOut", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveB", | |
"type": "uint256" | |
} | |
], | |
"name": "quote", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "removeLiquidity", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "removeLiquidityETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "removeLiquidityETHSupportingFeeOnTransferTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approveMax", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "v", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "r", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "s", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeLiquidityETHWithPermit", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approveMax", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "v", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "r", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "s", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approveMax", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "v", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "r", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "s", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeLiquidityWithPermit", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapETHForExactTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactETHForTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactETHForTokensSupportingFeeOnTransferTokens", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForETHSupportingFeeOnTransferTokens", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForTokensSupportingFeeOnTransferTokens", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountInMax", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapTokensForExactETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountInMax", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapTokensForExactTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.8.3+commit.8d00100c" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "WETH", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountADesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBDesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "addLiquidity", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenDesired", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "addLiquidityETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "factory", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveOut", | |
"type": "uint256" | |
} | |
], | |
"name": "getAmountIn", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveOut", | |
"type": "uint256" | |
} | |
], | |
"name": "getAmountOut", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
} | |
], | |
"name": "getAmountsIn", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
} | |
], | |
"name": "getAmountsOut", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "reserveB", | |
"type": "uint256" | |
} | |
], | |
"name": "quote", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "pure", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "removeLiquidity", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "removeLiquidityETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "removeLiquidityETHSupportingFeeOnTransferTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approveMax", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "v", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "r", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "s", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeLiquidityETHWithPermit", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountToken", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "token", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountTokenMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountETHMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approveMax", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "v", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "r", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "s", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountETH", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountAMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountBMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "approveMax", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "uint8", | |
"name": "v", | |
"type": "uint8" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "r", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "bytes32", | |
"name": "s", | |
"type": "bytes32" | |
} | |
], | |
"name": "removeLiquidityWithPermit", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountA", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountB", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapETHForExactTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactETHForTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactETHForTokensSupportingFeeOnTransferTokens", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForETHSupportingFeeOnTransferTokens", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountIn", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountOutMin", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapExactTokensForTokensSupportingFeeOnTransferTokens", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountInMax", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapTokensForExactETH", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "amountOut", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amountInMax", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address[]", | |
"name": "path", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "deadline", | |
"type": "uint256" | |
} | |
], | |
"name": "swapTokensForExactTokens", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
".deps/github/Uniswap/uniswap-v2-periphery/contracts/interfaces/IUniswapV2Router02.sol": "IUniswapV2Router02" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
".deps/github/Uniswap/uniswap-v2-periphery/contracts/interfaces/IUniswapV2Router01.sol": { | |
"keccak256": "0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2", | |
"urls": [ | |
"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb", | |
"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG" | |
] | |
}, | |
".deps/github/Uniswap/uniswap-v2-periphery/contracts/interfaces/IUniswapV2Router02.sol": { | |
"keccak256": "0x744e30c133bd0f7ca9e7163433cf6d72f45c6bb1508c2c9c02f1a6db796ae59d", | |
"urls": [ | |
"bzz-raw://9bf2f4454ad63d4cff03a0630e787d9e8a9deed80aec89682cd8ad6379d9ef8c", | |
"dweb:/ipfs/Qme51hQNR2wpax7ooUadhtqLtXm8ffeVVYyubLkTT4wMCG" | |
] | |
} | |
}, | |
"version": 1 | |
} |
pragma solidity >=0.6.2; | |
interface IUniswapV2Router01 { | |
function factory() external pure returns (address); | |
function WETH() external pure returns (address); | |
function addLiquidity( | |
address tokenA, | |
address tokenB, | |
uint amountADesired, | |
uint amountBDesired, | |
uint amountAMin, | |
uint amountBMin, | |
address to, | |
uint deadline | |
) external returns (uint amountA, uint amountB, uint liquidity); | |
function addLiquidityETH( | |
address token, | |
uint amountTokenDesired, | |
uint amountTokenMin, | |
uint amountETHMin, | |
address to, | |
uint deadline | |
) external payable returns (uint amountToken, uint amountETH, uint liquidity); | |
function removeLiquidity( | |
address tokenA, | |
address tokenB, | |
uint liquidity, | |
uint amountAMin, | |
uint amountBMin, | |
address to, | |
uint deadline | |
) external returns (uint amountA, uint amountB); | |
function removeLiquidityETH( | |
address token, | |
uint liquidity, | |
uint amountTokenMin, | |
uint amountETHMin, | |
address to, | |
uint deadline | |
) external returns (uint amountToken, uint amountETH); | |
function removeLiquidityWithPermit( | |
address tokenA, | |
address tokenB, | |
uint liquidity, | |
uint amountAMin, | |
uint amountBMin, | |
address to, | |
uint deadline, | |
bool approveMax, uint8 v, bytes32 r, bytes32 s | |
) external returns (uint amountA, uint amountB); | |
function removeLiquidityETHWithPermit( | |
address token, | |
uint liquidity, | |
uint amountTokenMin, | |
uint amountETHMin, | |
address to, | |
uint deadline, | |
bool approveMax, uint8 v, bytes32 r, bytes32 s | |
) external returns (uint amountToken, uint amountETH); | |
function swapExactTokensForTokens( | |
uint amountIn, | |
uint amountOutMin, | |
address[] calldata path, | |
address to, | |
uint deadline | |
) external returns (uint[] memory amounts); | |
function swapTokensForExactTokens( | |
uint amountOut, | |
uint amountInMax, | |
address[] calldata path, | |
address to, | |
uint deadline | |
) external returns (uint[] memory amounts); | |
function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) | |
external | |
payable | |
returns (uint[] memory amounts); | |
function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) | |
external | |
returns (uint[] memory amounts); | |
function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) | |
external | |
returns (uint[] memory amounts); | |
function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) | |
external | |
payable | |
returns (uint[] memory amounts); | |
function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); | |
function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); | |
function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); | |
function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); | |
function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); | |
} |
pragma solidity >=0.6.2; | |
import './IUniswapV2Router01.sol'; | |
interface IUniswapV2Router02 is IUniswapV2Router01 { | |
function removeLiquidityETHSupportingFeeOnTransferTokens( | |
address token, | |
uint liquidity, | |
uint amountTokenMin, | |
uint amountETHMin, | |
address to, | |
uint deadline | |
) external returns (uint amountETH); | |
function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( | |
address token, | |
uint liquidity, | |
uint amountTokenMin, | |
uint amountETHMin, | |
address to, | |
uint deadline, | |
bool approveMax, uint8 v, bytes32 r, bytes32 s | |
) external returns (uint amountETH); | |
function swapExactTokensForTokensSupportingFeeOnTransferTokens( | |
uint amountIn, | |
uint amountOutMin, | |
address[] calldata path, | |
address to, | |
uint deadline | |
) external; | |
function swapExactETHForTokensSupportingFeeOnTransferTokens( | |
uint amountOutMin, | |
address[] calldata path, | |
address to, | |
uint deadline | |
) external payable; | |
function swapExactTokensForETHSupportingFeeOnTransferTokens( | |
uint amountIn, | |
uint amountOutMin, | |
address[] calldata path, | |
address to, | |
uint deadline | |
) external; | |
} |
pragma solidity ^0.4.23; | |
/** | |
* @title SafeMath | |
* @dev Math operations with safety checks that throw on error | |
*/ | |
library SafeMath { | |
/** | |
* @dev Multiplies two numbers, throws on overflow. | |
*/ | |
function mul(uint256 a, uint256 b) internal pure returns (uint256 c) { | |
if (a == 0) { | |
return 0; | |
} | |
c = a * b; | |
assert(c / a == b); | |
return c; | |
} | |
/** | |
* @dev Integer division of two numbers, truncating the quotient. | |
*/ | |
function div(uint256 a, uint256 b) internal pure returns (uint256) { | |
// assert(b > 0); // Solidity automatically throws when dividing by 0 | |
// uint256 c = a / b; | |
// assert(a == b * c + a % b); // There is no case in which this doesn't hold | |
return a / b; | |
} | |
/** | |
* @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). | |
*/ | |
function sub(uint256 a, uint256 b) internal pure returns (uint256) { | |
assert(b <= a); | |
return a - b; | |
} | |
/** | |
* @dev Adds two numbers, throws on overflow. | |
*/ | |
function add(uint256 a, uint256 b) internal pure returns (uint256 c) { | |
c = a + b; | |
assert(c >= a); | |
return c; | |
} | |
} |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
/** | |
* @dev Interface of the ERC20 standard as defined in the EIP. | |
*/ | |
interface IERC20 { | |
/** | |
* @dev Returns the amount of tokens in existence. | |
*/ | |
function totalSupply() external view returns (uint256); | |
/** | |
* @dev Returns the amount of tokens owned by `account`. | |
*/ | |
function balanceOf(address account) external view returns (uint256); | |
/** | |
* @dev Moves `amount` tokens from the caller's account to `recipient`. | |
* | |
* Returns a boolean value indicating whether the operation succeeded. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function transfer(address recipient, uint256 amount) external returns (bool); | |
/** | |
* @dev Returns the remaining number of tokens that `spender` will be | |
* allowed to spend on behalf of `owner` through {transferFrom}. This is | |
* zero by default. | |
* | |
* This value changes when {approve} or {transferFrom} are called. | |
*/ | |
function allowance(address owner, address spender) external view returns (uint256); | |
/** | |
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens. | |
* | |
* Returns a boolean value indicating whether the operation succeeded. | |
* | |
* IMPORTANT: Beware that changing an allowance with this method brings the risk | |
* that someone may use both the old and the new allowance by unfortunate | |
* transaction ordering. One possible solution to mitigate this race | |
* condition is to first reduce the spender's allowance to 0 and set the | |
* desired value afterwards: | |
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 | |
* | |
* Emits an {Approval} event. | |
*/ | |
function approve(address spender, uint256 amount) external returns (bool); | |
/** | |
* @dev Moves `amount` tokens from `sender` to `recipient` using the | |
* allowance mechanism. `amount` is then deducted from the caller's | |
* allowance. | |
* | |
* Returns a boolean value indicating whether the operation succeeded. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); | |
/** | |
* @dev Emitted when `value` tokens are moved from one account (`from`) to | |
* another (`to`). | |
* | |
* Note that `value` may be zero. | |
*/ | |
event Transfer(address indexed from, address indexed to, uint256 value); | |
/** | |
* @dev Emitted when the allowance of a `spender` for an `owner` is set by | |
* a call to {approve}. `value` is the new allowance. | |
*/ | |
event Approval(address indexed owner, address indexed spender, uint256 value); | |
} |
REMIX EXAMPLE PROJECT | |
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer. | |
It contains 3 directories: | |
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name. | |
2. 'scripts': Holds two scripts to deploy a contract. It is explained below. | |
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity. | |
SCRIPTS | |
The 'scripts' folder contains example async/await scripts for deploying the 'Storage' contract. | |
For the deployment of any other contract, 'contractName' and 'constructorArgs' should be updated (along with other code if required). | |
Scripts have full access to the web3.js and ethers.js libraries. | |
To run a script, right click on file name in the file explorer and click 'Run'. Remember, Solidity file must already be compiled. | |
Output from script will appear in remix terminal. |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
/** | |
* @title Owner | |
* @dev Set & change owner | |
*/ | |
contract Owner { | |
address private owner; | |
// event for EVM logging | |
event OwnerSet(address indexed oldOwner, address indexed newOwner); | |
// modifier to check if caller is owner | |
modifier isOwner() { | |
// If the first argument of 'require' evaluates to 'false', execution terminates and all | |
// changes to the state and to Ether balances are reverted. | |
// This used to consume all gas in old EVM versions, but not anymore. | |
// It is often a good idea to use 'require' to check if functions are called correctly. | |
// As a second argument, you can also provide an explanation about what went wrong. | |
require(msg.sender == owner, "Caller is not owner"); | |
_; | |
} | |
/** | |
* @dev Set contract deployer as owner | |
*/ | |
constructor() { | |
owner = msg.sender; // 'msg.sender' is sender of current call, contract deployer for a constructor | |
emit OwnerSet(address(0), owner); | |
} | |
/** | |
* @dev Change owner | |
* @param newOwner address of new owner | |
*/ | |
function changeOwner(address newOwner) public isOwner { | |
emit OwnerSet(owner, newOwner); | |
owner = newOwner; | |
} | |
/** | |
* @dev Return owner address | |
* @return address of owner | |
*/ | |
function getOwner() external view returns (address) { | |
return owner; | |
} | |
} |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity >=0.7.0 <0.9.0; | |
/** | |
* @title Ballot | |
* @dev Implements voting process along with vote delegation | |
*/ | |
contract Ballot { | |
struct Voter { | |
uint weight; // weight is accumulated by delegation | |
bool voted; // if true, that person already voted | |
address delegate; // person delegated to | |
uint vote; // index of the voted proposal | |
} | |
struct Proposal { | |
// If you can limit the length to a certain number of bytes, | |
// always use one of bytes1 to bytes32 because they are much cheaper | |
bytes32 name; // short name (up to 32 bytes) | |
uint voteCount; // number of accumulated votes | |
} | |
address public chairperson; | |
mapping(address => Voter) public voters; | |
Proposal[] public proposals; | |
/** | |
* @dev Create a new ballot to choose one of 'proposalNames'. | |
* @param proposalNames names of proposals | |
*/ | |
constructor(bytes32[] memory proposalNames) { | |
chairperson = msg.sender; | |
voters[chairperson].weight = 1; | |
for (uint i = 0; i < proposalNames.length; i++) { | |
// 'Proposal({...})' creates a temporary | |
// Proposal object and 'proposals.push(...)' | |
// appends it to the end of 'proposals'. | |
proposals.push(Proposal({ | |
name: proposalNames[i], | |
voteCount: 0 | |
})); | |
} | |
} | |
/** | |
* @dev Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'. | |
* @param voter address of voter | |
*/ | |
function giveRightToVote(address voter) public { | |
require( | |
msg.sender == chairperson, | |
"Only chairperson can give right to vote." | |
); | |
require( | |
!voters[voter].voted, | |
"The voter already voted." | |
); | |
require(voters[voter].weight == 0); | |
voters[voter].weight = 1; | |
} | |
/** | |
* @dev Delegate your vote to the voter 'to'. | |
* @param to address to which vote is delegated | |
*/ | |
function delegate(address to) public { | |
Voter storage sender = voters[msg.sender]; | |
require(!sender.voted, "You already voted."); | |
require(to != msg.sender, "Self-delegation is disallowed."); | |
while (voters[to].delegate != address(0)) { | |
to = voters[to].delegate; | |
// We found a loop in the delegation, not allowed. | |
require(to != msg.sender, "Found loop in delegation."); | |
} | |
sender.voted = true; | |
sender.delegate = to; | |
Voter storage delegate_ = voters[to]; | |
if (delegate_.voted) { | |
// If the delegate already voted, | |
// directly add to the number of votes | |
proposals[delegate_.vote].voteCount += sender.weight; | |
} else { | |
// If the delegate did not vote yet, | |
// add to her weight. | |
delegate_.weight += sender.weight; | |
} | |
} | |
/** | |
* @dev Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'. | |
* @param proposal index of proposal in the proposals array | |
*/ | |
function vote(uint proposal) public { | |
Voter storage sender = voters[msg.sender]; | |
require(sender.weight != 0, "Has no right to vote"); | |
require(!sender.voted, "Already voted."); | |
sender.voted = true; | |
sender.vote = proposal; | |
// If 'proposal' is out of the range of the array, | |
// this will throw automatically and revert all | |
// changes. | |
proposals[proposal].voteCount += sender.weight; | |
} | |
/** | |
* @dev Computes the winning proposal taking all previous votes into account. | |
* @return winningProposal_ index of winning proposal in the proposals array | |
*/ | |
function winningProposal() public view | |
returns (uint winningProposal_) | |
{ | |
uint winningVoteCount = 0; | |
for (uint p = 0; p < proposals.length; p++) { | |
if (proposals[p].voteCount > winningVoteCount) { | |
winningVoteCount = proposals[p].voteCount; | |
winningProposal_ = p; | |
} | |
} | |
} | |
/** | |
* @dev Calls winningProposal() function to get the index of the winner contained in the proposals array and then | |
* @return winnerName_ the name of the winner | |
*/ | |
function winnerName() public view | |
returns (bytes32 winnerName_) | |
{ | |
winnerName_ = proposals[winningProposal()].name; | |
} | |
} |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.6.0; | |
import "./interfaces/ILendingPoolAddressesProviderV1.sol"; | |
import "./interfaces/ILendingPoolAddressesProviderV2.sol"; | |
import "./interfaces/ILendingPoolV1.sol"; | |
import "./interfaces/ILendingPoolV2.sol"; | |
import "./interfaces/IPriceOracleV1.sol"; | |
import "./interfaces/IFlashLoanReceiverV2.sol"; | |
import "./interfaces/IOneSplit.sol"; | |
import { SafeMath } from './interfaces/SafeMath.sol'; | |
import { IERC20 } from './interfaces/IERC20.sol'; | |
import { SafeERC20 } from './interfaces/SafeERC20.sol'; | |
import "./WadRayMath.sol"; | |
import "./console.sol"; | |
contract MainTest is IFlashLoanReceiver{ | |
using SafeERC20 for IERC20; | |
using SafeMath for uint256; | |
event Log(uint step); | |
address constant oneinch_addr = 0xC586BeF4a0992C495Cf22e1aeEE4E446CECDee0E; | |
IOneSplit oneinch = IOneSplit(oneinch_addr); | |
address constant v1_lp_address_provider_addr = 0x24a42fD28C976A61Df5D00D0599C34c4f90748c8; | |
ILendingPoolAddressesProviderV1 constant lpAddressProvider_v1 = ILendingPoolAddressesProviderV1(v1_lp_address_provider_addr); | |
address constant v2_lp_address_provider_addr = 0xB53C1a33016B2DC2fF3653530bfF1848a515c8c5; | |
ILendingPoolAddressesProviderV2 constant lpAddressProvider_v2 = ILendingPoolAddressesProviderV2(v2_lp_address_provider_addr); | |
ILendingPoolV1 lp_v1; | |
IPriceOracleV1 po_v1; | |
ILendingPoolV2 lp_v2; | |
address[] reserves; | |
mapping (address => uint256) asset_prices_v1; | |
mapping (address => uint256) liquidation_bonuses_v1; | |
constructor() public { | |
lp_v1 = ILendingPoolV1(lpAddressProvider_v1.getLendingPool()); | |
po_v1 = IPriceOracleV1(lpAddressProvider_v1.getPriceOracle()); | |
lp_v2 = ILendingPoolV2(lpAddressProvider_v2.getLendingPool()); | |
reserves = lp_v1.getReserves(); | |
uint rerserves_len = reserves.length; | |
for (uint i = 0; i < rerserves_len; i+= 1) { | |
address reserve_addrerss = reserves[i]; | |
asset_prices_v1[reserve_addrerss] = po_v1.getAssetPrice(reserve_addrerss); | |
(, , uint256 liquidationBonus, , , , , ) = lp_v1.getReserveConfigurationData(reserve_addrerss); | |
liquidation_bonuses_v1[reserve_addrerss] = liquidationBonus; | |
} | |
} | |
function ADDRESSES_PROVIDER() external view override returns (ILendingPoolAddressesProviderV2) { | |
return lpAddressProvider_v2; | |
} | |
function LENDING_POOL() external view override returns (ILendingPoolV2) { | |
return lp_v2; | |
} | |
function getPoolAddress() public view returns (address) { | |
return lpAddressProvider_v1.getLendingPool(); | |
} | |
function getHealth(address user_address) public view returns (uint256) { | |
( uint256 totalLiquidityETH, | |
uint256 totalCollateralETH, | |
uint256 totalBorrowsETH, | |
uint256 totalFeesETH, | |
uint256 availableBorrowsETH, | |
uint256 currentLiquidationThreshold, | |
uint256 ltv, | |
uint256 healthFactor | |
) = lp_v1.getUserAccountData(user_address); | |
return healthFactor / (10 ** 16); | |
} | |
function getReserveToLiquidate(address user_address) public view returns(address, uint256, uint256) { | |
uint rerserves_len = reserves.length; | |
uint256 max_profit = 0; | |
address max_reserve_address; | |
for (uint i = 0; i < rerserves_len; i+= 1) { | |
address reserve_address = reserves[i]; | |
(uint256 currentATokenBalance, , , , , , , , , bool usageAsCollateralEnabled) = | |
lp_v1.getUserReserveData( reserve_address, user_address); | |
if (usageAsCollateralEnabled) { | |
uint256 profit = WadRayMath.wadMul(asset_prices_v1[reserve_address], currentATokenBalance / 2); | |
profit = profit * (liquidation_bonuses_v1[reserve_address] - 100) / 100; | |
if (profit > max_profit) { | |
max_profit = profit; | |
max_reserve_address = reserve_address; | |
} | |
} | |
} | |
// function getReserveConfigurationData( address _reserve ) external view returns | |
// (uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus, address interestRateStrategyAddress, | |
// bool usageAsCollateralEnabled, bool borrowingEnabled, bool stableBorrowRateEnabled, bool isActive) ; | |
return (max_reserve_address, max_profit, liquidation_bonuses_v1[max_reserve_address]); | |
} | |
function getDebtInReturn(address collateral, uint256 collateral_amount, address debt_address) external view returns (uint256, uint256) { | |
/* | |
function getExpectedReturnWithGas( | |
IERC20 fromToken, | |
IERC20 destToken, | |
uint256 amount, | |
uint256 parts, | |
uint256 flags, // See constants in IOneSplit.sol | |
uint256 destTokenEthPriceTimesGasPrice | |
) | |
external | |
view | |
returns( | |
uint256 returnAmount, | |
uint256 estimateGasAmount, | |
uint256[] memory distribution | |
); | |
*/ | |
uint256 gas_price = 42; | |
(uint256 returnAmount, ) = oneinch.getExpectedReturn(IERC20(collateral), IERC20(debt_address), collateral_amount, 1, 0); | |
return (returnAmount, 0); | |
//(uint256 returnAmountWithGas, uint256 estimateGasAmount, ) = oneinch.getExpectedReturnWithGas(IERC20(collateral), IERC20(debt_address), collateral_amount, 1, 0, returnAmount * gas_price); | |
//return (returnAmountWithGas, estimateGasAmount); | |
} | |
function entryPoint(address user, | |
address collateral, uint256 collateral_amount, | |
address debt, uint256 debt_amount) external { | |
address receiverAddress = address(this); | |
bytes memory params = abi.encode(user, collateral, collateral_amount, debt, debt_amount); | |
address[] memory assets = new address[](1); | |
assets[0] = address(debt); | |
uint256[] memory amounts = new uint256[](1); | |
amounts[0] = debt_amount; | |
uint256[] memory modes = new uint256[](2); | |
modes[0] = 0; // no debt | |
console.log(0); | |
lp_v2.flashLoan(receiverAddress, assets, amounts, modes, receiverAddress, params, 0); | |
console.log(1); | |
} | |
function executeOperation( | |
address[] calldata assets, | |
uint256[] calldata amounts, | |
uint256[] calldata premiums, | |
address initiator, | |
bytes calldata params | |
) | |
external | |
override | |
returns (bool) | |
{ | |
console.log(10); | |
require(initiator == address(this), "wtf is calling"); | |
{ | |
(address user, | |
address collateral, uint256 collateral_amount, address debt, uint256 debt_amount) = abi.decode(params, (address, address, uint256, address, uint256)); | |
console.log(20); | |
(uint256 returnAmount, uint256[] memory distribution) = oneinch.getExpectedReturn(IERC20(collateral), IERC20(debt), collateral_amount, 1, 0); | |
console.log(30); | |
if (returnAmount < debt_amount) { | |
console.log(40); | |
revert("not enough debt from collateral sale"); | |
} | |
console.log(50); | |
require(IERC20(debt).approve(address(lp_v2), debt_amount), "liquidation Approval error"); | |
console.log(60); | |
lp_v2.liquidationCall(collateral, debt, user, debt_amount, false); | |
console.log(70); | |
require(IERC20(collateral).approve(address(oneinch), collateral_amount), "1inch approval error"); | |
console.log(80); | |
oneinch.swap(IERC20(collateral), IERC20(debt), collateral_amount, debt_amount, distribution, 0); | |
console.log(90); | |
} | |
require(IERC20(assets[0]).approve(address(lp_v2), amounts[0].add(premiums[0])), "flashloan approval error"); | |
console.log(100); | |
// // Approve the LendingPool contract allowance to *pull* the owed amount | |
// for (uint i = 0; i < assets.length; i++) { | |
// uint amountOwing = amounts[i].add(premiums[i]); | |
// IERC20(assets[i]).approve(address(lp_v2), amountOwing); | |
// } | |
return true; | |
} | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:3453:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "137:564:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "147:90:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "229:6:1" | |
} | |
], | |
"functionName": { | |
"name": "array_allocation_size_t_array$_t_bytes32_$dyn_memory_ptr", | |
"nodeType": "YulIdentifier", | |
"src": "172:56:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "172:64:1" | |
} | |
], | |
"functionName": { | |
"name": "allocate_memory", | |
"nodeType": "YulIdentifier", | |
"src": "156:15:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "156:81:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "array", | |
"nodeType": "YulIdentifier", | |
"src": "147:5:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "246:16:1", | |
"value": { | |
"name": "array", | |
"nodeType": "YulIdentifier", | |
"src": "257:5:1" | |
}, | |
"variables": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulTypedName", | |
"src": "250:3:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "array", | |
"nodeType": "YulIdentifier", | |
"src": "279:5:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "286:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "272:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "272:21:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "272:21:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "302:23:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "array", | |
"nodeType": "YulIdentifier", | |
"src": "313:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "320:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "309:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "309:16:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "302:3:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "335:17:1", | |
"value": { | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "346:6:1" | |
}, | |
"variables": [ | |
{ | |
"name": "src", | |
"nodeType": "YulTypedName", | |
"src": "339:3:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "401:36:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "422:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "425:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "415:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "415:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "415:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "371:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "380:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "388:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "376:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "376:17:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "367:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "367:27:1" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "396:3:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "364:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "364:36:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "361:2:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "506:189:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "521:21:1", | |
"value": { | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "539:3:1" | |
}, | |
"variables": [ | |
{ | |
"name": "elementPos", | |
"nodeType": "YulTypedName", | |
"src": "525:10:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "563:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "elementPos", | |
"nodeType": "YulIdentifier", | |
"src": "600:10:1" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "612:3:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_bytes32_fromMemory", | |
"nodeType": "YulIdentifier", | |
"src": "568:31:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "568:48:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "556:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "556:61:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "556:61:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "630:21:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "641:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "646:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "637:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "637:14:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "dst", | |
"nodeType": "YulIdentifier", | |
"src": "630:3:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "664:21:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "675:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "680:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "671:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "671:14:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "src", | |
"nodeType": "YulIdentifier", | |
"src": "664:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "468:1:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "471:6:1" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "465:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "465:13:1" | |
}, | |
"nodeType": "YulForLoop", | |
"post": { | |
"nodeType": "YulBlock", | |
"src": "479:18:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "481:14:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "490:1:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "493:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "486:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "486:9:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "i", | |
"nodeType": "YulIdentifier", | |
"src": "481:1:1" | |
} | |
] | |
} | |
] | |
}, | |
"pre": { | |
"nodeType": "YulBlock", | |
"src": "450:14:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "452:10:1", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "461:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "i", | |
"nodeType": "YulTypedName", | |
"src": "456:1:1", | |
"type": "" | |
} | |
] | |
} | |
] | |
}, | |
"src": "446:249:1" | |
} | |
] | |
}, | |
"name": "abi_decode_available_length_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "107:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "115:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "123:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "array", | |
"nodeType": "YulTypedName", | |
"src": "131:5:1", | |
"type": "" | |
} | |
], | |
"src": "24:677:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "812:230:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "861:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "870:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "873:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "863:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "863:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "863:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "840:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "848:4:1", | |
"type": "", | |
"value": "0x1f" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "836:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "836:17:1" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "855:3:1" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "832:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "832:27:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "825:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "825:35:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "822:2:1" | |
}, | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "886:27:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "906:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "900:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "900:13:1" | |
}, | |
"variables": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "890:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "922:114:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "1009:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1017:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1005:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1005:17:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1024:6:1" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "1032:3:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_available_length_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory", | |
"nodeType": "YulIdentifier", | |
"src": "931:73:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "931:105:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "array", | |
"nodeType": "YulIdentifier", | |
"src": "922:5:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "790:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "798:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "array", | |
"nodeType": "YulTypedName", | |
"src": "806:5:1", | |
"type": "" | |
} | |
], | |
"src": "724:318:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1111:80:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1121:22:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "1136:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "1130:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1130:13:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1121:5:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1179:5:1" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_t_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "1152:26:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1152:33:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1152:33:1" | |
} | |
] | |
}, | |
"name": "abi_decode_t_bytes32_fromMemory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "1089:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "1097:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1105:5:1", | |
"type": "" | |
} | |
], | |
"src": "1048:143:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1299:318:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1345:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1354:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1357:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1347:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1347:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1347:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "1320:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1329:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "1316:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1316:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1341:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "1312:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1312:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1309:2:1" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "1371:239:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "1386:38:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1410:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1421:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1406:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1406:17:1" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "1400:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1400:24:1" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "1390:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1471:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1480:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1483:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "1473:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1473:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1473:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "1443:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1451:18:1", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "1440:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1440:30:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1437:2:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1501:99:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1572:9:1" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "1583:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1568:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1568:22:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "1592:7:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory", | |
"nodeType": "YulIdentifier", | |
"src": "1511:56:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1511:89:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1501:6:1" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1269:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "1280:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "1292:6:1", | |
"type": "" | |
} | |
], | |
"src": "1197:420:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1664:88:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1674:30:1", | |
"value": { | |
"arguments": [], | |
"functionName": { | |
"name": "allocate_unbounded", | |
"nodeType": "YulIdentifier", | |
"src": "1684:18:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1684:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1674:6:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1733:6:1" | |
}, | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "1741:4:1" | |
} | |
], | |
"functionName": { | |
"name": "finalize_allocation", | |
"nodeType": "YulIdentifier", | |
"src": "1713:19:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1713:33:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1713:33:1" | |
} | |
] | |
}, | |
"name": "allocate_memory", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "size", | |
"nodeType": "YulTypedName", | |
"src": "1648:4:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "1657:6:1", | |
"type": "" | |
} | |
], | |
"src": "1623:129:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1798:35:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1808:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1824:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "mload", | |
"nodeType": "YulIdentifier", | |
"src": "1818:5:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1818:9:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "1808:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "allocate_unbounded", | |
"nodeType": "YulFunctionDefinition", | |
"returnVariables": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "1791:6:1", | |
"type": "" | |
} | |
], | |
"src": "1758:75:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1921:229:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2026:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "2028:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2028:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2028:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1998:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2006:18:1", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "1995:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1995:30:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "1992:2:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2058:25:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "2070:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2078:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "mul", | |
"nodeType": "YulIdentifier", | |
"src": "2066:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2066:17:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2058:4:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2120:23:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2132:4:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2138:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2128:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2128:15:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2120:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_allocation_size_t_array$_t_bytes32_$dyn_memory_ptr", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "1905:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "size", | |
"nodeType": "YulTypedName", | |
"src": "1916:4:1", | |
"type": "" | |
} | |
], | |
"src": "1839:311:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2201:32:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2211:16:1", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2222:5:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "2211:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_bytes32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2183:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "2193:7:1", | |
"type": "" | |
} | |
], | |
"src": "2156:77:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2284:32:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2294:16:1", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2305:5:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "2294:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2266:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "2276:7:1", | |
"type": "" | |
} | |
], | |
"src": "2239:77:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2365:238:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "2375:58:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "2397:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "size", | |
"nodeType": "YulIdentifier", | |
"src": "2427:4:1" | |
} | |
], | |
"functionName": { | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulIdentifier", | |
"src": "2405:21:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2405:27:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2393:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2393:40:1" | |
}, | |
"variables": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulTypedName", | |
"src": "2379:10:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2544:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x41", | |
"nodeType": "YulIdentifier", | |
"src": "2546:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2546:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2546:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "2487:10:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2499:18:1", | |
"type": "", | |
"value": "0xffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "2484:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2484:34:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "2523:10:1" | |
}, | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "2535:6:1" | |
} | |
], | |
"functionName": { | |
"name": "lt", | |
"nodeType": "YulIdentifier", | |
"src": "2520:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2520:22:1" | |
} | |
], | |
"functionName": { | |
"name": "or", | |
"nodeType": "YulIdentifier", | |
"src": "2481:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2481:62:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "2478:2:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2582:2:1", | |
"type": "", | |
"value": "64" | |
}, | |
{ | |
"name": "newFreePtr", | |
"nodeType": "YulIdentifier", | |
"src": "2586:10:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2575:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2575:22:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2575:22:1" | |
} | |
] | |
}, | |
"name": "finalize_allocation", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "2351:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "size", | |
"nodeType": "YulTypedName", | |
"src": "2359:4:1", | |
"type": "" | |
} | |
], | |
"src": "2322:281:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2652:190:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2662:33:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2689:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "2671:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2671:24:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2662:5:1" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2785:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "2787:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2787:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2787:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2710:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2717:66:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "2707:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2707:77:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "2704:2:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2816:20:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2827:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2834:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2823:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2823:13:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "2816:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "increment_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2638:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulTypedName", | |
"src": "2648:3:1", | |
"type": "" | |
} | |
], | |
"src": "2609:233:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2876:152:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2893:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2896:77:1", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2886:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2886:88:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2886:88:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2990:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2993:4:1", | |
"type": "", | |
"value": "0x11" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2983:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2983:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2983:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3014:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3017:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "3007:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3007:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3007:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x11", | |
"nodeType": "YulFunctionDefinition", | |
"src": "2848:180:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3062:152:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3079:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3082:77:1", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3072:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3072:88:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3072:88:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3176:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3179:4:1", | |
"type": "", | |
"value": "0x41" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3169:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3169:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3169:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3200:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3203:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "3193:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3193:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3193:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x41", | |
"nodeType": "YulFunctionDefinition", | |
"src": "3034:180:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3268:54:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3278:38:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3296:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3303:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3292:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3292:14:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3312:2:1", | |
"type": "", | |
"value": "31" | |
} | |
], | |
"functionName": { | |
"name": "not", | |
"nodeType": "YulIdentifier", | |
"src": "3308:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3308:7:1" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "3288:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3288:28:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "result", | |
"nodeType": "YulIdentifier", | |
"src": "3278:6:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "round_up_to_mul_of_32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3251:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "result", | |
"nodeType": "YulTypedName", | |
"src": "3261:6:1", | |
"type": "" | |
} | |
], | |
"src": "3220:102:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3371:79:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3428:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3437:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3440:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "3430:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3430:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3430:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3394:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3419:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "3401:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3401:24:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "3391:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3391:35:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "3384:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3384:43:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "3381:2:1" | |
} | |
] | |
}, | |
"name": "validator_revert_t_bytes32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3364:5:1", | |
"type": "" | |
} | |
], | |
"src": "3328:122:1" | |
} | |
] | |
}, | |
"contents": "{\n\n // bytes32[]\n function abi_decode_available_length_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(offset, length, end) -> array {\n array := allocate_memory(array_allocation_size_t_array$_t_bytes32_$dyn_memory_ptr(length))\n let dst := array\n\n mstore(array, length)\n dst := add(array, 0x20)\n\n let src := offset\n if gt(add(src, mul(length, 0x20)), end) {\n revert(0, 0)\n }\n for { let i := 0 } lt(i, length) { i := add(i, 1) }\n {\n\n let elementPos := src\n\n mstore(dst, abi_decode_t_bytes32_fromMemory(elementPos, end))\n dst := add(dst, 0x20)\n src := add(src, 0x20)\n }\n }\n\n // bytes32[]\n function abi_decode_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n let length := mload(offset)\n array := abi_decode_available_length_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(add(offset, 0x20), length, end)\n }\n\n function abi_decode_t_bytes32_fromMemory(offset, end) -> value {\n value := mload(offset)\n validator_revert_t_bytes32(value)\n }\n\n function abi_decode_tuple_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := mload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value0 := abi_decode_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(add(headStart, offset), dataEnd)\n }\n\n }\n\n function allocate_memory(size) -> memPtr {\n memPtr := allocate_unbounded()\n finalize_allocation(memPtr, size)\n }\n\n function allocate_unbounded() -> memPtr {\n memPtr := mload(64)\n }\n\n function array_allocation_size_t_array$_t_bytes32_$dyn_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error_0x41() }\n\n size := mul(length, 0x20)\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function cleanup_t_bytes32(value) -> cleaned {\n cleaned := value\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function finalize_allocation(memPtr, size) {\n let newFreePtr := add(memPtr, round_up_to_mul_of_32(size))\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n }\n\n function increment_t_uint256(value) -> ret {\n value := cleanup_t_uint256(value)\n if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { panic_error_0x11() }\n ret := add(value, 1)\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function panic_error_0x41() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_bytes32(value) {\n if iszero(eq(value, cleanup_t_bytes32(value))) { revert(0, 0) }\n }\n\n}\n", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"linkReferences": {}, | |
"object": "60806040523480156200001157600080fd5b50604051620014b7380380620014b783398181016040528101906200003791906200025b565b336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060018060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018190555060005b81518110156200019a576002604051806040016040528084848151811062000133577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200160008152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508080620001919062000342565b915050620000e2565b505062000419565b6000620001b9620001b384620002c9565b620002a0565b90508083825260208201905082856020860282011115620001d957600080fd5b60005b858110156200020d5781620001f2888262000244565b845260208401935060208301925050600181019050620001dc565b5050509392505050565b600082601f8301126200022957600080fd5b81516200023b848260208601620001a2565b91505092915050565b6000815190506200025581620003ff565b92915050565b6000602082840312156200026e57600080fd5b600082015167ffffffffffffffff8111156200028957600080fd5b620002978482850162000217565b91505092915050565b6000620002ac620002bf565b9050620002ba82826200030c565b919050565b6000604051905090565b600067ffffffffffffffff821115620002e757620002e6620003bf565b5b602082029050602081019050919050565b6000819050919050565b6000819050919050565b6200031782620003ee565b810181811067ffffffffffffffff82111715620003395762000338620003bf565b5b80604052505050565b60006200034f8262000302565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000385576200038462000390565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200040a81620002f8565b81146200041657600080fd5b50565b61108e80620004296000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063609ff1bd1161005b578063609ff1bd146101145780639e7b8d6114610132578063a3ec138d1461014e578063e2ba53f01461018157610088565b80630121b93f1461008d578063013cf08b146100a95780632e4176cf146100da5780635c19a95c146100f8575b600080fd5b6100a760048036038101906100a29190610abb565b61019f565b005b6100c360048036038101906100be9190610abb565b61030c565b6040516100d1929190610c4b565b60405180910390f35b6100e2610340565b6040516100ef9190610c15565b60405180910390f35b610112600480360381019061010d9190610a92565b610364565b005b61011c610726565b6040516101299190610d54565b60405180910390f35b61014c60048036038101906101479190610a92565b6107fa565b005b61016860048036038101906101639190610a92565b6109b1565b6040516101789493929190610d6f565b60405180910390f35b610189610a0e565b6040516101969190610c30565b60405180910390f35b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154141561022a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161022190610c74565b60405180910390fd5b8060010160009054906101000a900460ff161561027c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027390610c94565b60405180910390fd5b60018160010160006101000a81548160ff0219169083151502179055508181600201819055508060000154600283815481106102e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160010160008282546103019190610dc5565b925050819055505050565b6002818154811061031c57600080fd5b90600052602060002090600202016000915090508060000154908060010154905082565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060010160009054906101000a900460ff16156103f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f090610cb4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f90610d34565b60405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff16600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105d857600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156105d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ca90610cf4565b60405180910390fd5b610469565b60018160010160006101000a81548160ff021916908315150217905550818160010160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060010160009054906101000a900460ff161561070157816000015460028260020154815481106106d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160010160008282546106f59190610dc5565b92505081905550610721565b81600001548160000160008282546107199190610dc5565b925050819055505b505050565b6000806000905060005b6002805490508110156107f5578160028281548110610778577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016001015411156107e257600281815481106107ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016001015491508092505b80806107ed90610e6d565b915050610730565b505090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087f90610cd4565b60405180910390fd5b600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160009054906101000a900460ff1615610918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090f90610d14565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541461096757600080fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018190555050565b60016020528060005260406000206000915090508060000154908060010160009054906101000a900460ff16908060010160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154905084565b60006002610a1a610726565b81548110610a51577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160000154905090565b600081359050610a778161102a565b92915050565b600081359050610a8c81611041565b92915050565b600060208284031215610aa457600080fd5b6000610ab284828501610a68565b91505092915050565b600060208284031215610acd57600080fd5b6000610adb84828501610a7d565b91505092915050565b610aed81610e1b565b82525050565b610afc81610e2d565b82525050565b610b0b81610e39565b82525050565b6000610b1e601483610db4565b9150610b2982610ee5565b602082019050919050565b6000610b41600e83610db4565b9150610b4c82610f0e565b602082019050919050565b6000610b64601283610db4565b9150610b6f82610f37565b602082019050919050565b6000610b87602883610db4565b9150610b9282610f60565b604082019050919050565b6000610baa601983610db4565b9150610bb582610faf565b602082019050919050565b6000610bcd601883610db4565b9150610bd882610fd8565b602082019050919050565b6000610bf0601e83610db4565b9150610bfb82611001565b602082019050919050565b610c0f81610e63565b82525050565b6000602082019050610c2a6000830184610ae4565b92915050565b6000602082019050610c456000830184610b02565b92915050565b6000604082019050610c606000830185610b02565b610c6d6020830184610c06565b9392505050565b60006020820190508181036000830152610c8d81610b11565b9050919050565b60006020820190508181036000830152610cad81610b34565b9050919050565b60006020820190508181036000830152610ccd81610b57565b9050919050565b60006020820190508181036000830152610ced81610b7a565b9050919050565b60006020820190508181036000830152610d0d81610b9d565b9050919050565b60006020820190508181036000830152610d2d81610bc0565b9050919050565b60006020820190508181036000830152610d4d81610be3565b9050919050565b6000602082019050610d696000830184610c06565b92915050565b6000608082019050610d846000830187610c06565b610d916020830186610af3565b610d9e6040830185610ae4565b610dab6060830184610c06565b95945050505050565b600082825260208201905092915050565b6000610dd082610e63565b9150610ddb83610e63565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610e1057610e0f610eb6565b5b828201905092915050565b6000610e2682610e43565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610e7882610e63565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610eab57610eaa610eb6565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f486173206e6f20726967687420746f20766f7465000000000000000000000000600082015250565b7f416c726561647920766f7465642e000000000000000000000000000000000000600082015250565b7f596f7520616c726561647920766f7465642e0000000000000000000000000000600082015250565b7f4f6e6c79206368616972706572736f6e2063616e20676976652072696768742060008201527f746f20766f74652e000000000000000000000000000000000000000000000000602082015250565b7f466f756e64206c6f6f7020696e2064656c65676174696f6e2e00000000000000600082015250565b7f54686520766f74657220616c726561647920766f7465642e0000000000000000600082015250565b7f53656c662d64656c65676174696f6e20697320646973616c6c6f7765642e0000600082015250565b61103381610e1b565b811461103e57600080fd5b50565b61104a81610e63565b811461105557600080fd5b5056fea2646970667358221220becb4776f761774c29becd7727fd8079b6ee3cbfbc3a05888e9b98e42375172664736f6c63430008040033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH3 0x11 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD PUSH3 0x14B7 CODESIZE SUB DUP1 PUSH3 0x14B7 DUP4 CODECOPY DUP2 DUP2 ADD PUSH1 0x40 MSTORE DUP2 ADD SWAP1 PUSH3 0x37 SWAP2 SWAP1 PUSH3 0x25B JUMP JUMPDEST CALLER PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x1 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD DUP2 SWAP1 SSTORE POP PUSH1 0x0 JUMPDEST DUP2 MLOAD DUP2 LT ISZERO PUSH3 0x19A JUMPI PUSH1 0x2 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 DUP5 DUP5 DUP2 MLOAD DUP2 LT PUSH3 0x133 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD MLOAD DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 DUP2 MSTORE POP SWAP1 DUP1 PUSH1 0x1 DUP2 SLOAD ADD DUP1 DUP3 SSTORE DUP1 SWAP2 POP POP PUSH1 0x1 SWAP1 SUB SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP1 SWAP2 SWAP1 SWAP2 SWAP1 SWAP2 POP PUSH1 0x0 DUP3 ADD MLOAD DUP2 PUSH1 0x0 ADD SSTORE PUSH1 0x20 DUP3 ADD MLOAD DUP2 PUSH1 0x1 ADD SSTORE POP POP DUP1 DUP1 PUSH3 0x191 SWAP1 PUSH3 0x342 JUMP JUMPDEST SWAP2 POP POP PUSH3 0xE2 JUMP JUMPDEST POP POP PUSH3 0x419 JUMP JUMPDEST PUSH1 0x0 PUSH3 0x1B9 PUSH3 0x1B3 DUP5 PUSH3 0x2C9 JUMP JUMPDEST PUSH3 0x2A0 JUMP JUMPDEST SWAP1 POP DUP1 DUP4 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP DUP3 DUP6 PUSH1 0x20 DUP7 MUL DUP3 ADD GT ISZERO PUSH3 0x1D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 JUMPDEST DUP6 DUP2 LT ISZERO PUSH3 0x20D JUMPI DUP2 PUSH3 0x1F2 DUP9 DUP3 PUSH3 0x244 JUMP JUMPDEST DUP5 MSTORE PUSH1 0x20 DUP5 ADD SWAP4 POP PUSH1 0x20 DUP4 ADD SWAP3 POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH3 0x1DC JUMP JUMPDEST POP POP POP SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 PUSH1 0x1F DUP4 ADD SLT PUSH3 0x229 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 MLOAD PUSH3 0x23B DUP5 DUP3 PUSH1 0x20 DUP7 ADD PUSH3 0x1A2 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH3 0x255 DUP2 PUSH3 0x3FF JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH3 0x26E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 DUP3 ADD MLOAD PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT ISZERO PUSH3 0x289 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH3 0x297 DUP5 DUP3 DUP6 ADD PUSH3 0x217 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x2AC PUSH3 0x2BF JUMP JUMPDEST SWAP1 POP PUSH3 0x2BA DUP3 DUP3 PUSH3 0x30C JUMP JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 MLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT ISZERO PUSH3 0x2E7 JUMPI PUSH3 0x2E6 PUSH3 0x3BF JUMP JUMPDEST JUMPDEST PUSH1 0x20 DUP3 MUL SWAP1 POP PUSH1 0x20 DUP2 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x317 DUP3 PUSH3 0x3EE JUMP JUMPDEST DUP2 ADD DUP2 DUP2 LT PUSH8 0xFFFFFFFFFFFFFFFF DUP3 GT OR ISZERO PUSH3 0x339 JUMPI PUSH3 0x338 PUSH3 0x3BF JUMP JUMPDEST JUMPDEST DUP1 PUSH1 0x40 MSTORE POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH3 0x34F DUP3 PUSH3 0x302 JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH3 0x385 JUMPI PUSH3 0x384 PUSH3 0x390 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x41 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1F NOT PUSH1 0x1F DUP4 ADD AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH3 0x40A DUP2 PUSH3 0x2F8 JUMP JUMPDEST DUP2 EQ PUSH3 0x416 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x108E DUP1 PUSH3 0x429 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x88 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x609FF1BD GT PUSH2 0x5B JUMPI DUP1 PUSH4 0x609FF1BD EQ PUSH2 0x114 JUMPI DUP1 PUSH4 0x9E7B8D61 EQ PUSH2 0x132 JUMPI DUP1 PUSH4 0xA3EC138D EQ PUSH2 0x14E JUMPI DUP1 PUSH4 0xE2BA53F0 EQ PUSH2 0x181 JUMPI PUSH2 0x88 JUMP JUMPDEST DUP1 PUSH4 0x121B93F EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x13CF08B EQ PUSH2 0xA9 JUMPI DUP1 PUSH4 0x2E4176CF EQ PUSH2 0xDA JUMPI DUP1 PUSH4 0x5C19A95C EQ PUSH2 0xF8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA2 SWAP2 SWAP1 PUSH2 0xABB JUMP JUMPDEST PUSH2 0x19F JUMP JUMPDEST STOP JUMPDEST PUSH2 0xC3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xBE SWAP2 SWAP1 PUSH2 0xABB JUMP JUMPDEST PUSH2 0x30C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xD1 SWAP3 SWAP2 SWAP1 PUSH2 0xC4B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE2 PUSH2 0x340 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xEF SWAP2 SWAP1 PUSH2 0xC15 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x112 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x10D SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x364 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x11C PUSH2 0x726 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x129 SWAP2 SWAP1 PUSH2 0xD54 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x14C PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x147 SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x7FA JUMP JUMPDEST STOP JUMPDEST PUSH2 0x168 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x163 SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x9B1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x178 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xD6F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x189 PUSH2 0xA0E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x196 SWAP2 SWAP1 PUSH2 0xC30 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x0 ADD SLOAD EQ ISZERO PUSH2 0x22A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x221 SWAP1 PUSH2 0xC74 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x27C JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x273 SWAP1 PUSH2 0xC94 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x1 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP DUP2 DUP2 PUSH1 0x2 ADD DUP2 SWAP1 SSTORE POP DUP1 PUSH1 0x0 ADD SLOAD PUSH1 0x2 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x2E1 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x301 SWAP2 SWAP1 PUSH2 0xDC5 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x31C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 POP DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x3F9 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3F0 SWAP1 PUSH2 0xCB4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x468 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x45F SWAP1 PUSH2 0xD34 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x5D8 JUMPI PUSH1 0x1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 POP CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x5D3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5CA SWAP1 PUSH2 0xCF4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x469 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x1 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP DUP2 DUP2 PUSH1 0x1 ADD PUSH1 0x1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 POP DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x701 JUMPI DUP2 PUSH1 0x0 ADD SLOAD PUSH1 0x2 DUP3 PUSH1 0x2 ADD SLOAD DUP2 SLOAD DUP2 LT PUSH2 0x6D5 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x6F5 SWAP2 SWAP1 PUSH2 0xDC5 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP PUSH2 0x721 JUMP JUMPDEST DUP2 PUSH1 0x0 ADD SLOAD DUP2 PUSH1 0x0 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x719 SWAP2 SWAP1 PUSH2 0xDC5 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 POP PUSH1 0x0 JUMPDEST PUSH1 0x2 DUP1 SLOAD SWAP1 POP DUP2 LT ISZERO PUSH2 0x7F5 JUMPI DUP2 PUSH1 0x2 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x778 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD SLOAD GT ISZERO PUSH2 0x7E2 JUMPI PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x7CA JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD SLOAD SWAP2 POP DUP1 SWAP3 POP JUMPDEST DUP1 DUP1 PUSH2 0x7ED SWAP1 PUSH2 0xE6D JUMP JUMPDEST SWAP2 POP POP PUSH2 0x730 JUMP JUMPDEST POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x888 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x87F SWAP1 PUSH2 0xCD4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x918 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x90F SWAP1 PUSH2 0xD14 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD SLOAD EQ PUSH2 0x967 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 DUP1 PUSH1 0x1 ADD PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP1 PUSH1 0x2 ADD SLOAD SWAP1 POP DUP5 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 PUSH2 0xA1A PUSH2 0x726 JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0xA51 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 ADD SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xA77 DUP2 PUSH2 0x102A JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xA8C DUP2 PUSH2 0x1041 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xAA4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xAB2 DUP5 DUP3 DUP6 ADD PUSH2 0xA68 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xACD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xADB DUP5 DUP3 DUP6 ADD PUSH2 0xA7D JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xAED DUP2 PUSH2 0xE1B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0xAFC DUP2 PUSH2 0xE2D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0xB0B DUP2 PUSH2 0xE39 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB1E PUSH1 0x14 DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xB29 DUP3 PUSH2 0xEE5 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB41 PUSH1 0xE DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xB4C DUP3 PUSH2 0xF0E JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB64 PUSH1 0x12 DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xB6F DUP3 PUSH2 0xF37 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB87 PUSH1 0x28 DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xB92 DUP3 PUSH2 0xF60 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xBAA PUSH1 0x19 DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xBB5 DUP3 PUSH2 0xFAF JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xBCD PUSH1 0x18 DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xBD8 DUP3 PUSH2 0xFD8 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xBF0 PUSH1 0x1E DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xBFB DUP3 PUSH2 0x1001 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xC0F DUP2 PUSH2 0xE63 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xC2A PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xAE4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xC45 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xB02 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0xC60 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0xB02 JUMP JUMPDEST PUSH2 0xC6D PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xC06 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xC8D DUP2 PUSH2 0xB11 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xCAD DUP2 PUSH2 0xB34 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xCCD DUP2 PUSH2 0xB57 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xCED DUP2 PUSH2 0xB7A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xD0D DUP2 PUSH2 0xB9D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xD2D DUP2 PUSH2 0xBC0 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xD4D DUP2 PUSH2 0xBE3 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xD69 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xC06 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 ADD SWAP1 POP PUSH2 0xD84 PUSH1 0x0 DUP4 ADD DUP8 PUSH2 0xC06 JUMP JUMPDEST PUSH2 0xD91 PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0xAF3 JUMP JUMPDEST PUSH2 0xD9E PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0xAE4 JUMP JUMPDEST PUSH2 0xDAB PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0xC06 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xDD0 DUP3 PUSH2 0xE63 JUMP JUMPDEST SWAP2 POP PUSH2 0xDDB DUP4 PUSH2 0xE63 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0xE10 JUMPI PUSH2 0xE0F PUSH2 0xEB6 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE26 DUP3 PUSH2 0xE43 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE78 DUP3 PUSH2 0xE63 JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0xEAB JUMPI PUSH2 0xEAA PUSH2 0xEB6 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x486173206E6F20726967687420746F20766F7465000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x416C726561647920766F7465642E000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x596F7520616C726561647920766F7465642E0000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x4F6E6C79206368616972706572736F6E2063616E206769766520726967687420 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x746F20766F74652E000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x466F756E64206C6F6F7020696E2064656C65676174696F6E2E00000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x54686520766F74657220616C726561647920766F7465642E0000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x53656C662D64656C65676174696F6E20697320646973616C6C6F7765642E0000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0x1033 DUP2 PUSH2 0xE1B JUMP JUMPDEST DUP2 EQ PUSH2 0x103E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x104A DUP2 PUSH2 0xE63 JUMP JUMPDEST DUP2 EQ PUSH2 0x1055 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE 0xCB SELFBALANCE PUSH23 0xF761774C29BECD7727FD8079B6EE3CBFBC3A05888E9B98 0xE4 0x23 PUSH22 0x172664736F6C63430008040033000000000000000000 ", | |
"sourceMap": "157:4362:0:-:0;;;958:481;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1026:10;1012:11;;:24;;;;;;;;;;;;;;;;;;1075:1;1046:6;:19;1053:11;;;;;;;;;;;1046:19;;;;;;;;;;;;;;;:26;;:30;;;;1092:6;1087:346;1108:13;:20;1104:1;:24;1087:346;;;1312:9;1327:94;;;;;;;;1360:13;1374:1;1360:16;;;;;;;;;;;;;;;;;;;;;;1327:94;;;;1405:1;1327:94;;;1312:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1130:3;;;;;:::i;:::-;;;;1087:346;;;;958:481;157:4362;;24:677:1;131:5;156:81;172:64;229:6;172:64;:::i;:::-;156:81;:::i;:::-;147:90;;257:5;286:6;279:5;272:21;320:4;313:5;309:16;302:23;;346:6;396:3;388:4;380:6;376:17;371:3;367:27;364:36;361:2;;;425:1;422;415:12;361:2;461:1;446:249;471:6;468:1;465:13;446:249;;;539:3;568:48;612:3;600:10;568:48;:::i;:::-;563:3;556:61;646:4;641:3;637:14;630:21;;680:4;675:3;671:14;664:21;;506:189;493:1;490;486:9;481:14;;446:249;;;450:14;137:564;;;;;;;:::o;724:318::-;806:5;855:3;848:4;840:6;836:17;832:27;822:2;;873:1;870;863:12;822:2;906:6;900:13;931:105;1032:3;1024:6;1017:4;1009:6;1005:17;931:105;:::i;:::-;922:114;;812:230;;;;;:::o;1048:143::-;1105:5;1136:6;1130:13;1121:22;;1152:33;1179:5;1152:33;:::i;:::-;1111:80;;;;:::o;1197:420::-;1292:6;1341:2;1329:9;1320:7;1316:23;1312:32;1309:2;;;1357:1;1354;1347:12;1309:2;1421:1;1410:9;1406:17;1400:24;1451:18;1443:6;1440:30;1437:2;;;1483:1;1480;1473:12;1437:2;1511:89;1592:7;1583:6;1572:9;1568:22;1511:89;:::i;:::-;1501:99;;1371:239;1299:318;;;;:::o;1623:129::-;1657:6;1684:20;;:::i;:::-;1674:30;;1713:33;1741:4;1733:6;1713:33;:::i;:::-;1664:88;;;:::o;1758:75::-;1791:6;1824:2;1818:9;1808:19;;1798:35;:::o;1839:311::-;1916:4;2006:18;1998:6;1995:30;1992:2;;;2028:18;;:::i;:::-;1992:2;2078:4;2070:6;2066:17;2058:25;;2138:4;2132;2128:15;2120:23;;1921:229;;;:::o;2156:77::-;2193:7;2222:5;2211:16;;2201:32;;;:::o;2239:77::-;2276:7;2305:5;2294:16;;2284:32;;;:::o;2322:281::-;2405:27;2427:4;2405:27;:::i;:::-;2397:6;2393:40;2535:6;2523:10;2520:22;2499:18;2487:10;2484:34;2481:62;2478:2;;;2546:18;;:::i;:::-;2478:2;2586:10;2582:2;2575:22;2365:238;;;:::o;2609:233::-;2648:3;2671:24;2689:5;2671:24;:::i;:::-;2662:33;;2717:66;2710:5;2707:77;2704:2;;;2787:18;;:::i;:::-;2704:2;2834:1;2827:5;2823:13;2816:20;;2652:190;;;:::o;2848:180::-;2896:77;2893:1;2886:88;2993:4;2990:1;2983:15;3017:4;3014:1;3007:15;3034:180;3082:77;3079:1;3072:88;3179:4;3176:1;3169:15;3203:4;3200:1;3193:15;3220:102;3261:6;3312:2;3308:7;3303:2;3296:5;3292:14;3288:28;3278:38;;3268:54;;;:::o;3328:122::-;3401:24;3419:5;3401:24;:::i;:::-;3394:5;3391:35;3381:2;;3440:1;3437;3430:12;3381:2;3371:79;:::o;157:4362:0:-;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:11428:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "59:87:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "69:29:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "91:6:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "78:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "78:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "69:5:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "134:5:1" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "107:26:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "107:33:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "107:33:1" | |
} | |
] | |
}, | |
"name": "abi_decode_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "37:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "45:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "53:5:1", | |
"type": "" | |
} | |
], | |
"src": "7:139:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "204:87:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "214:29:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "236:6:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "223:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "223:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "214:5:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "279:5:1" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "252:26:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "252:33:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "252:33:1" | |
} | |
] | |
}, | |
"name": "abi_decode_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "182:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "190:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "198:5:1", | |
"type": "" | |
} | |
], | |
"src": "152:139:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "363:196:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "409:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "418:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "421:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "411:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "411:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "411:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "384:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "393:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "380:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "380:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "405:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "376:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "376:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "373:2:1" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "435:117:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "450:15:1", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "464:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "454:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "479:63:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "514:9:1" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "525:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "510:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "510:22:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "534:7:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "489:20:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "489:53:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "479:6:1" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "333:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "344:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "356:6:1", | |
"type": "" | |
} | |
], | |
"src": "297:262:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "631:196:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "677:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "686:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "689:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "679:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "679:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "679:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "652:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "661:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "648:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "648:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "673:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "644:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "644:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "641:2:1" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "703:117:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "718:15:1", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "732:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "722:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "747:63:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "782:9:1" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "793:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "778:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "778:22:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "802:7:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "757:20:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "757:53:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "747:6:1" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "601:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "612:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "624:6:1", | |
"type": "" | |
} | |
], | |
"src": "565:262:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "898:53:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "915:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "938:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "920:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "920:24:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "908:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "908:37:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "908:37:1" | |
} | |
] | |
}, | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "886:5:1", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "893:3:1", | |
"type": "" | |
} | |
], | |
"src": "833:118:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1016:50:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1033:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1053:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_bool", | |
"nodeType": "YulIdentifier", | |
"src": "1038:14:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1038:21:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1026:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1026:34:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1026:34:1" | |
} | |
] | |
}, | |
"name": "abi_encode_t_bool_to_t_bool_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1004:5:1", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1011:3:1", | |
"type": "" | |
} | |
], | |
"src": "957:109:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1137:53:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1154:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1177:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_bytes32", | |
"nodeType": "YulIdentifier", | |
"src": "1159:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1159:24:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1147:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1147:37:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1147:37:1" | |
} | |
] | |
}, | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1125:5:1", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1132:3:1", | |
"type": "" | |
} | |
], | |
"src": "1072:118:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1342:220:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1352:74:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1418:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1423:2:1", | |
"type": "", | |
"value": "20" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "1359:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1359:67:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1352:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1524:3:1" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e", | |
"nodeType": "YulIdentifier", | |
"src": "1435:88:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1435:93:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1435:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1537:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1548:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1553:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1544:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1544:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "1537:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1330:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "1338:3:1", | |
"type": "" | |
} | |
], | |
"src": "1196:366:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1714:220:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1724:74:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1790:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1795:2:1", | |
"type": "", | |
"value": "14" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "1731:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1731:67:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1724:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1896:3:1" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84", | |
"nodeType": "YulIdentifier", | |
"src": "1807:88:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1807:93:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1807:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1909:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1920:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1925:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1916:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1916:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "1909:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1702:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "1710:3:1", | |
"type": "" | |
} | |
], | |
"src": "1568:366:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2086:220:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2096:74:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2162:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2167:2:1", | |
"type": "", | |
"value": "18" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "2103:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2103:67:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2096:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2268:3:1" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f", | |
"nodeType": "YulIdentifier", | |
"src": "2179:88:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2179:93:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2179:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2281:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2292:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2297:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2288:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2288:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "2281:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "2074:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "2082:3:1", | |
"type": "" | |
} | |
], | |
"src": "1940:366:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2458:220:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2468:74:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2534:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2539:2:1", | |
"type": "", | |
"value": "40" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "2475:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2475:67:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2468:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2640:3:1" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95", | |
"nodeType": "YulIdentifier", | |
"src": "2551:88:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2551:93:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2551:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2653:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2664:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2669:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2660:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2660:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "2653:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "2446:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "2454:3:1", | |
"type": "" | |
} | |
], | |
"src": "2312:366:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2830:220:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "2840:74:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2906:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2911:2:1", | |
"type": "", | |
"value": "25" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "2847:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2847:67:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "2840:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3012:3:1" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c", | |
"nodeType": "YulIdentifier", | |
"src": "2923:88:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2923:93:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2923:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3025:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3036:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3041:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3032:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3032:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "3025:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "2818:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "2826:3:1", | |
"type": "" | |
} | |
], | |
"src": "2684:366:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3202:220:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3212:74:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3278:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3283:2:1", | |
"type": "", | |
"value": "24" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "3219:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3219:67:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3212:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3384:3:1" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d", | |
"nodeType": "YulIdentifier", | |
"src": "3295:88:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3295:93:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3295:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3397:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3408:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3413:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3404:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3404:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "3397:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "3190:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "3198:3:1", | |
"type": "" | |
} | |
], | |
"src": "3056:366:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3574:220:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3584:74:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3650:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3655:2:1", | |
"type": "", | |
"value": "30" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "3591:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3591:67:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3584:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3756:3:1" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947", | |
"nodeType": "YulIdentifier", | |
"src": "3667:88:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3667:93:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3667:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "3769:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3780:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "3785:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "3776:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3776:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "3769:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "3562:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "3570:3:1", | |
"type": "" | |
} | |
], | |
"src": "3428:366:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "3865:53:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "3882:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "3905:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "3887:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3887:24:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "3875:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "3875:37:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "3875:37:1" | |
} | |
] | |
}, | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "3853:5:1", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "3860:3:1", | |
"type": "" | |
} | |
], | |
"src": "3800:118:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4022:124:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4032:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4044:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4055:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4040:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4040:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4032:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "4112:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4125:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4136:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4121:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4121:17:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "4068:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4068:71:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4068:71:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "3994:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "4006:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "4017:4:1", | |
"type": "" | |
} | |
], | |
"src": "3924:222:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4250:124:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4260:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4272:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4283:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4268:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4268:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4260:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "4340:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4353:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4364:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4349:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4349:17:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "4296:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4296:71:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4296:71:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4222:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "4234:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "4245:4:1", | |
"type": "" | |
} | |
], | |
"src": "4152:222:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4506:206:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4516:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4528:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4539:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4524:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4524:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4516:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "4596:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4609:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4620:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4605:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4605:17:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bytes32_to_t_bytes32_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "4552:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4552:71:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4552:71:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "4677:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4690:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4701:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4686:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4686:18:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "4633:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4633:72:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4633:72:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4470:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "4482:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "4490:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "4501:4:1", | |
"type": "" | |
} | |
], | |
"src": "4380:332:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "4889:248:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4899:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4911:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4922:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4907:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4907:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4899:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4946:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "4957:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "4942:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4942:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4965:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "4971:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "4961:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4961:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "4935:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4935:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "4935:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "4991:139:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5125:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "4999:124:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "4999:131:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "4991:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "4869:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "4884:4:1", | |
"type": "" | |
} | |
], | |
"src": "4718:419:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5314:248:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5324:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5336:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5347:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5332:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5332:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5324:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5371:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5382:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5367:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5367:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5390:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5396:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "5386:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5386:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5360:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5360:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5360:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5416:139:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5550:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "5424:124:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5424:131:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5416:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "5294:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "5309:4:1", | |
"type": "" | |
} | |
], | |
"src": "5143:419:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "5739:248:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5749:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5761:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5772:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5757:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5757:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5749:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5796:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "5807:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "5792:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5792:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5815:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "5821:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "5811:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5811:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "5785:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5785:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "5785:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "5841:139:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5975:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "5849:124:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "5849:131:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "5841:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "5719:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "5734:4:1", | |
"type": "" | |
} | |
], | |
"src": "5568:419:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6164:248:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6174:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6186:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6197:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6182:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6182:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6174:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6221:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6232:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6217:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6217:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6240:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6246:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "6236:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6236:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6210:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6210:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6210:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6266:139:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6400:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "6274:124:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6274:131:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6266:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "6144:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "6159:4:1", | |
"type": "" | |
} | |
], | |
"src": "5993:419:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "6589:248:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6599:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6611:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6622:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6607:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6607:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6599:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6646:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "6657:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "6642:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6642:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6665:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "6671:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "6661:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6661:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "6635:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6635:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "6635:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "6691:139:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6825:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "6699:124:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "6699:131:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "6691:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "6569:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "6584:4:1", | |
"type": "" | |
} | |
], | |
"src": "6418:419:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7014:248:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7024:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7036:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7047:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7032:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7032:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7024:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7071:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7082:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7067:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7067:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7090:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7096:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "7086:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7086:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "7060:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7060:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7060:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7116:139:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7250:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "7124:124:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7124:131:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7116:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "6994:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "7009:4:1", | |
"type": "" | |
} | |
], | |
"src": "6843:419:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7439:248:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7449:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7461:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7472:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7457:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7457:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7449:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7496:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7507:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7492:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7492:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7515:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7521:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "7511:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7511:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "7485:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7485:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7485:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7541:139:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7675:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "7549:124:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7549:131:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7541:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "7419:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "7434:4:1", | |
"type": "" | |
} | |
], | |
"src": "7268:419:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "7791:124:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "7801:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7813:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7824:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7809:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7809:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "7801:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "7881:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "7894:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "7905:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "7890:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7890:17:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "7837:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "7837:71:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "7837:71:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "7763:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "7775:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "7786:4:1", | |
"type": "" | |
} | |
], | |
"src": "7693:222:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8097:365:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8107:27:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8119:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8130:3:1", | |
"type": "", | |
"value": "128" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8115:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8115:19:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "8107:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "8188:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8201:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8212:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8197:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8197:17:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "8144:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8144:71:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8144:71:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value1", | |
"nodeType": "YulIdentifier", | |
"src": "8263:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8276:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8287:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8272:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8272:18:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_bool_to_t_bool_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "8225:37:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8225:66:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8225:66:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value2", | |
"nodeType": "YulIdentifier", | |
"src": "8345:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8358:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8369:2:1", | |
"type": "", | |
"value": "64" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8354:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8354:18:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "8301:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8301:72:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8301:72:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value3", | |
"nodeType": "YulIdentifier", | |
"src": "8427:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "8440:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8451:2:1", | |
"type": "", | |
"value": "96" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8436:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8436:18:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_uint256_to_t_uint256_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "8383:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8383:72:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8383:72:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_uint256_t_bool_t_address_t_uint256__to_t_uint256_t_bool_t_address_t_uint256__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "8045:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value3", | |
"nodeType": "YulTypedName", | |
"src": "8057:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value2", | |
"nodeType": "YulTypedName", | |
"src": "8065:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value1", | |
"nodeType": "YulTypedName", | |
"src": "8073:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "8081:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "8092:4:1", | |
"type": "" | |
} | |
], | |
"src": "7921:541:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8564:73:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "8581:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "8586:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "8574:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8574:19:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8574:19:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8602:29:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "8621:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8626:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8617:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8617:14:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulIdentifier", | |
"src": "8602:11:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "8536:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "8541:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulTypedName", | |
"src": "8552:11:1", | |
"type": "" | |
} | |
], | |
"src": "8468:169:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8687:261:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8697:25:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "8720:1:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "8702:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8702:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "8697:1:1" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8731:25:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "8754:1:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "8736:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8736:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "8731:1:1" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8894:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "8896:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8896:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "8896:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "8815:1:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "8822:66:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "8890:1:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "8818:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8818:74:1" | |
} | |
], | |
"functionName": { | |
"name": "gt", | |
"nodeType": "YulIdentifier", | |
"src": "8812:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8812:81:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "8809:2:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "8926:16:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "x", | |
"nodeType": "YulIdentifier", | |
"src": "8937:1:1" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulIdentifier", | |
"src": "8940:1:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "8933:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "8933:9:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulIdentifier", | |
"src": "8926:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "checked_add_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "x", | |
"nodeType": "YulTypedName", | |
"src": "8674:1:1", | |
"type": "" | |
}, | |
{ | |
"name": "y", | |
"nodeType": "YulTypedName", | |
"src": "8677:1:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "sum", | |
"nodeType": "YulTypedName", | |
"src": "8683:3:1", | |
"type": "" | |
} | |
], | |
"src": "8643:305:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "8999:51:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9009:35:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9038:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint160", | |
"nodeType": "YulIdentifier", | |
"src": "9020:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9020:24:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "9009:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "8981:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "8991:7:1", | |
"type": "" | |
} | |
], | |
"src": "8954:96:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9098:48:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9108:32:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9133:5:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "9126:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9126:13:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "9119:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9119:21:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "9108:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_bool", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9080:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "9090:7:1", | |
"type": "" | |
} | |
], | |
"src": "9056:90:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9197:32:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9207:16:1", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9218:5:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "9207:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_bytes32", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9179:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "9189:7:1", | |
"type": "" | |
} | |
], | |
"src": "9152:77:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9280:81:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9290:65:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9305:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9312:42:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "9301:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9301:54:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "9290:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint160", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9262:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "9272:7:1", | |
"type": "" | |
} | |
], | |
"src": "9235:126:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9412:32:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9422:16:1", | |
"value": { | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9433:5:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "9422:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9394:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "9404:7:1", | |
"type": "" | |
} | |
], | |
"src": "9367:77:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9493:190:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9503:33:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9530:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "9512:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9512:24:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9503:5:1" | |
} | |
] | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9626:22:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [], | |
"functionName": { | |
"name": "panic_error_0x11", | |
"nodeType": "YulIdentifier", | |
"src": "9628:16:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9628:18:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9628:18:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9551:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9558:66:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "9548:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9548:77:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "9545:2:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "9657:20:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "9668:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9675:1:1", | |
"type": "", | |
"value": "1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "9664:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9664:13:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulIdentifier", | |
"src": "9657:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "increment_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "9479:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "ret", | |
"nodeType": "YulTypedName", | |
"src": "9489:3:1", | |
"type": "" | |
} | |
], | |
"src": "9450:233:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9717:152:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9734:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9737:77:1", | |
"type": "", | |
"value": "35408467139433450592217433187231851964531694900788300625387963629091585785856" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9727:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9727:88:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9727:88:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9831:1:1", | |
"type": "", | |
"value": "4" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9834:4:1", | |
"type": "", | |
"value": "0x11" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9824:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9824:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9824:15:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9855:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "9858:4:1", | |
"type": "", | |
"value": "0x24" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "9848:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9848:15:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9848:15:1" | |
} | |
] | |
}, | |
"name": "panic_error_0x11", | |
"nodeType": "YulFunctionDefinition", | |
"src": "9689:180:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "9981:64:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "10003:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10011:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "9999:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9999:14:1" | |
}, | |
{ | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "10015:22:1", | |
"type": "", | |
"value": "Has no right to vote" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "9992:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "9992:46:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "9992:46:1" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "9973:6:1", | |
"type": "" | |
} | |
], | |
"src": "9875:170:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10157:58:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "10179:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10187:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10175:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10175:14:1" | |
}, | |
{ | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "10191:16:1", | |
"type": "", | |
"value": "Already voted." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "10168:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10168:40:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10168:40:1" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "10149:6:1", | |
"type": "" | |
} | |
], | |
"src": "10051:164:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10327:62:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "10349:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10357:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10345:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10345:14:1" | |
}, | |
{ | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "10361:20:1", | |
"type": "", | |
"value": "You already voted." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "10338:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10338:44:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10338:44:1" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "10319:6:1", | |
"type": "" | |
} | |
], | |
"src": "10221:168:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10501:121:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "10523:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10531:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10519:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10519:14:1" | |
}, | |
{ | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "10535:34:1", | |
"type": "", | |
"value": "Only chairperson can give right " | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "10512:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10512:58:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10512:58:1" | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "10591:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10599:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10587:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10587:15:1" | |
}, | |
{ | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "10604:10:1", | |
"type": "", | |
"value": "to vote." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "10580:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10580:35:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10580:35:1" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "10493:6:1", | |
"type": "" | |
} | |
], | |
"src": "10395:227:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10734:69:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "10756:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10764:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10752:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10752:14:1" | |
}, | |
{ | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "10768:27:1", | |
"type": "", | |
"value": "Found loop in delegation." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "10745:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10745:51:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10745:51:1" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "10726:6:1", | |
"type": "" | |
} | |
], | |
"src": "10628:175:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "10915:68:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "10937:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "10945:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "10933:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10933:14:1" | |
}, | |
{ | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "10949:26:1", | |
"type": "", | |
"value": "The voter already voted." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "10926:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "10926:50:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "10926:50:1" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "10907:6:1", | |
"type": "" | |
} | |
], | |
"src": "10809:174:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11095:74:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "11117:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11125:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "11113:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11113:14:1" | |
}, | |
{ | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "11129:32:1", | |
"type": "", | |
"value": "Self-delegation is disallowed." | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "11106:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11106:56:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11106:56:1" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "11087:6:1", | |
"type": "" | |
} | |
], | |
"src": "10989:180:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11218:79:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11275:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11284:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11287:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "11277:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11277:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11277:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "11241:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "11266:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "11248:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11248:24:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "11238:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11238:35:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "11231:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11231:43:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "11228:2:1" | |
} | |
] | |
}, | |
"name": "validator_revert_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "11211:5:1", | |
"type": "" | |
} | |
], | |
"src": "11175:122:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11346:79:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "11403:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11412:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "11415:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "11405:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11405:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "11405:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "11369:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "11394:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint256", | |
"nodeType": "YulIdentifier", | |
"src": "11376:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11376:24:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "11366:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11366:35:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "11359:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "11359:43:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "11356:2:1" | |
} | |
] | |
}, | |
"name": "validator_revert_t_uint256", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "11339:5:1", | |
"type": "" | |
} | |
], | |
"src": "11303:122:1" | |
} | |
] | |
}, | |
"contents": "{\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\n }\n\n function abi_encode_t_bytes32_to_t_bytes32_fromStack(value, pos) {\n mstore(pos, cleanup_t_bytes32(value))\n }\n\n function abi_encode_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 20)\n store_literal_in_memory_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 14)\n store_literal_in_memory_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 18)\n store_literal_in_memory_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 40)\n store_literal_in_memory_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95(pos)\n end := add(pos, 64)\n }\n\n function abi_encode_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 25)\n store_literal_in_memory_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 24)\n store_literal_in_memory_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 30)\n store_literal_in_memory_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_bytes32__to_t_bytes32__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_bytes32_t_uint256__to_t_bytes32_t_uint256__fromStack_reversed(headStart , value1, value0) -> tail {\n tail := add(headStart, 64)\n\n abi_encode_t_bytes32_to_t_bytes32_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value1, add(headStart, 32))\n\n }\n\n function abi_encode_tuple_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_uint256_t_bool_t_address_t_uint256__to_t_uint256_t_bool_t_address_t_uint256__fromStack_reversed(headStart , value3, value2, value1, value0) -> tail {\n tail := add(headStart, 128)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n abi_encode_t_bool_to_t_bool_fromStack(value1, add(headStart, 32))\n\n abi_encode_t_address_to_t_address_fromStack(value2, add(headStart, 64))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value3, add(headStart, 96))\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function checked_add_t_uint256(x, y) -> sum {\n x := cleanup_t_uint256(x)\n y := cleanup_t_uint256(y)\n\n // overflow, if x > (maxValue - y)\n if gt(x, sub(0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, y)) { panic_error_0x11() }\n\n sum := add(x, y)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function cleanup_t_bytes32(value) -> cleaned {\n cleaned := value\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function increment_t_uint256(value) -> ret {\n value := cleanup_t_uint256(value)\n if eq(value, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) { panic_error_0x11() }\n ret := add(value, 1)\n }\n\n function panic_error_0x11() {\n mstore(0, 35408467139433450592217433187231851964531694900788300625387963629091585785856)\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n\n function store_literal_in_memory_0dc527e8fa9b76c996eb5eda9ddb749b21540f5509781b94e1e37f7027e7f50e(memPtr) {\n\n mstore(add(memPtr, 0), \"Has no right to vote\")\n\n }\n\n function store_literal_in_memory_56aab92b7164a4ea72a098d2d95a5e763b71d07f265e8d46fc7240404017fa84(memPtr) {\n\n mstore(add(memPtr, 0), \"Already voted.\")\n\n }\n\n function store_literal_in_memory_657c6119c4ed567c60278fba62242b17c2fedf38962e651040dabfb3c9e15a5f(memPtr) {\n\n mstore(add(memPtr, 0), \"You already voted.\")\n\n }\n\n function store_literal_in_memory_80126ce3251ab2b6e4ade14fe5b2bc11f593510cbe9e3550c09bff1989e33b95(memPtr) {\n\n mstore(add(memPtr, 0), \"Only chairperson can give right \")\n\n mstore(add(memPtr, 32), \"to vote.\")\n\n }\n\n function store_literal_in_memory_8bd75322489f7ff7ab0b18506f4dcde935a32eca2a506b00f4d21b0becfa093c(memPtr) {\n\n mstore(add(memPtr, 0), \"Found loop in delegation.\")\n\n }\n\n function store_literal_in_memory_d39b1db28626750c546703ffb72f30ea3facdfed1bebd47408e22ef18a76ba2d(memPtr) {\n\n mstore(add(memPtr, 0), \"The voter already voted.\")\n\n }\n\n function store_literal_in_memory_f37bf1aca80f8fa291a40f639db6aeaa1425ceb0e8c61c8648f0e2efa282a947(memPtr) {\n\n mstore(add(memPtr, 0), \"Self-delegation is disallowed.\")\n\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b50600436106100885760003560e01c8063609ff1bd1161005b578063609ff1bd146101145780639e7b8d6114610132578063a3ec138d1461014e578063e2ba53f01461018157610088565b80630121b93f1461008d578063013cf08b146100a95780632e4176cf146100da5780635c19a95c146100f8575b600080fd5b6100a760048036038101906100a29190610abb565b61019f565b005b6100c360048036038101906100be9190610abb565b61030c565b6040516100d1929190610c4b565b60405180910390f35b6100e2610340565b6040516100ef9190610c15565b60405180910390f35b610112600480360381019061010d9190610a92565b610364565b005b61011c610726565b6040516101299190610d54565b60405180910390f35b61014c60048036038101906101479190610a92565b6107fa565b005b61016860048036038101906101639190610a92565b6109b1565b6040516101789493929190610d6f565b60405180910390f35b610189610a0e565b6040516101969190610c30565b60405180910390f35b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008160000154141561022a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161022190610c74565b60405180910390fd5b8060010160009054906101000a900460ff161561027c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161027390610c94565b60405180910390fd5b60018160010160006101000a81548160ff0219169083151502179055508181600201819055508060000154600283815481106102e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160010160008282546103019190610dc5565b925050819055505050565b6002818154811061031c57600080fd5b90600052602060002090600202016000915090508060000154908060010154905082565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060010160009054906101000a900460ff16156103f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f090610cb4565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045f90610d34565b60405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff16600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105d857600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156105d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ca90610cf4565b60405180910390fd5b610469565b60018160010160006101000a81548160ff021916908315150217905550818160010160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060010160009054906101000a900460ff161561070157816000015460028260020154815481106106d5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160010160008282546106f59190610dc5565b92505081905550610721565b81600001548160000160008282546107199190610dc5565b925050819055505b505050565b6000806000905060005b6002805490508110156107f5578160028281548110610778577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016001015411156107e257600281815481106107ca577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600202016001015491508092505b80806107ed90610e6d565b915050610730565b505090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610888576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087f90610cd4565b60405180910390fd5b600160008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010160009054906101000a900460ff1615610918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090f90610d14565b60405180910390fd5b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541461096757600080fd5b60018060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018190555050565b60016020528060005260406000206000915090508060000154908060010160009054906101000a900460ff16908060010160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060020154905084565b60006002610a1a610726565b81548110610a51577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906002020160000154905090565b600081359050610a778161102a565b92915050565b600081359050610a8c81611041565b92915050565b600060208284031215610aa457600080fd5b6000610ab284828501610a68565b91505092915050565b600060208284031215610acd57600080fd5b6000610adb84828501610a7d565b91505092915050565b610aed81610e1b565b82525050565b610afc81610e2d565b82525050565b610b0b81610e39565b82525050565b6000610b1e601483610db4565b9150610b2982610ee5565b602082019050919050565b6000610b41600e83610db4565b9150610b4c82610f0e565b602082019050919050565b6000610b64601283610db4565b9150610b6f82610f37565b602082019050919050565b6000610b87602883610db4565b9150610b9282610f60565b604082019050919050565b6000610baa601983610db4565b9150610bb582610faf565b602082019050919050565b6000610bcd601883610db4565b9150610bd882610fd8565b602082019050919050565b6000610bf0601e83610db4565b9150610bfb82611001565b602082019050919050565b610c0f81610e63565b82525050565b6000602082019050610c2a6000830184610ae4565b92915050565b6000602082019050610c456000830184610b02565b92915050565b6000604082019050610c606000830185610b02565b610c6d6020830184610c06565b9392505050565b60006020820190508181036000830152610c8d81610b11565b9050919050565b60006020820190508181036000830152610cad81610b34565b9050919050565b60006020820190508181036000830152610ccd81610b57565b9050919050565b60006020820190508181036000830152610ced81610b7a565b9050919050565b60006020820190508181036000830152610d0d81610b9d565b9050919050565b60006020820190508181036000830152610d2d81610bc0565b9050919050565b60006020820190508181036000830152610d4d81610be3565b9050919050565b6000602082019050610d696000830184610c06565b92915050565b6000608082019050610d846000830187610c06565b610d916020830186610af3565b610d9e6040830185610ae4565b610dab6060830184610c06565b95945050505050565b600082825260208201905092915050565b6000610dd082610e63565b9150610ddb83610e63565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610e1057610e0f610eb6565b5b828201905092915050565b6000610e2682610e43565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610e7882610e63565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610eab57610eaa610eb6565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f486173206e6f20726967687420746f20766f7465000000000000000000000000600082015250565b7f416c726561647920766f7465642e000000000000000000000000000000000000600082015250565b7f596f7520616c726561647920766f7465642e0000000000000000000000000000600082015250565b7f4f6e6c79206368616972706572736f6e2063616e20676976652072696768742060008201527f746f20766f74652e000000000000000000000000000000000000000000000000602082015250565b7f466f756e64206c6f6f7020696e2064656c65676174696f6e2e00000000000000600082015250565b7f54686520766f74657220616c726561647920766f7465642e0000000000000000600082015250565b7f53656c662d64656c65676174696f6e20697320646973616c6c6f7765642e0000600082015250565b61103381610e1b565b811461103e57600080fd5b50565b61104a81610e63565b811461105557600080fd5b5056fea2646970667358221220becb4776f761774c29becd7727fd8079b6ee3cbfbc3a05888e9b98e42375172664736f6c63430008040033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x88 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x609FF1BD GT PUSH2 0x5B JUMPI DUP1 PUSH4 0x609FF1BD EQ PUSH2 0x114 JUMPI DUP1 PUSH4 0x9E7B8D61 EQ PUSH2 0x132 JUMPI DUP1 PUSH4 0xA3EC138D EQ PUSH2 0x14E JUMPI DUP1 PUSH4 0xE2BA53F0 EQ PUSH2 0x181 JUMPI PUSH2 0x88 JUMP JUMPDEST DUP1 PUSH4 0x121B93F EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x13CF08B EQ PUSH2 0xA9 JUMPI DUP1 PUSH4 0x2E4176CF EQ PUSH2 0xDA JUMPI DUP1 PUSH4 0x5C19A95C EQ PUSH2 0xF8 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xA7 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xA2 SWAP2 SWAP1 PUSH2 0xABB JUMP JUMPDEST PUSH2 0x19F JUMP JUMPDEST STOP JUMPDEST PUSH2 0xC3 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0xBE SWAP2 SWAP1 PUSH2 0xABB JUMP JUMPDEST PUSH2 0x30C JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xD1 SWAP3 SWAP2 SWAP1 PUSH2 0xC4B JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0xE2 PUSH2 0x340 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0xEF SWAP2 SWAP1 PUSH2 0xC15 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x112 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x10D SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x364 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x11C PUSH2 0x726 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x129 SWAP2 SWAP1 PUSH2 0xD54 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x14C PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x147 SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x7FA JUMP JUMPDEST STOP JUMPDEST PUSH2 0x168 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x163 SWAP2 SWAP1 PUSH2 0xA92 JUMP JUMPDEST PUSH2 0x9B1 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x178 SWAP5 SWAP4 SWAP3 SWAP2 SWAP1 PUSH2 0xD6F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x189 PUSH2 0xA0E JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x196 SWAP2 SWAP1 PUSH2 0xC30 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x0 ADD SLOAD EQ ISZERO PUSH2 0x22A JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x221 SWAP1 PUSH2 0xC74 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x27C JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x273 SWAP1 PUSH2 0xC94 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x1 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP DUP2 DUP2 PUSH1 0x2 ADD DUP2 SWAP1 SSTORE POP DUP1 PUSH1 0x0 ADD SLOAD PUSH1 0x2 DUP4 DUP2 SLOAD DUP2 LT PUSH2 0x2E1 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x301 SWAP2 SWAP1 PUSH2 0xDC5 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP POP POP JUMP JUMPDEST PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x31C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD SLOAD SWAP1 POP DUP3 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 POP DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x3F9 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x3F0 SWAP1 PUSH2 0xCB4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x468 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x45F SWAP1 PUSH2 0xD34 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x5D8 JUMPI PUSH1 0x1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP2 POP CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ ISZERO PUSH2 0x5D3 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x5CA SWAP1 PUSH2 0xCF4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x469 JUMP JUMPDEST PUSH1 0x1 DUP2 PUSH1 0x1 ADD PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH1 0xFF MUL NOT AND SWAP1 DUP4 ISZERO ISZERO MUL OR SWAP1 SSTORE POP DUP2 DUP2 PUSH1 0x1 ADD PUSH1 0x1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SWAP1 POP DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x701 JUMPI DUP2 PUSH1 0x0 ADD SLOAD PUSH1 0x2 DUP3 PUSH1 0x2 ADD SLOAD DUP2 SLOAD DUP2 LT PUSH2 0x6D5 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x6F5 SWAP2 SWAP1 PUSH2 0xDC5 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP PUSH2 0x721 JUMP JUMPDEST DUP2 PUSH1 0x0 ADD SLOAD DUP2 PUSH1 0x0 ADD PUSH1 0x0 DUP3 DUP3 SLOAD PUSH2 0x719 SWAP2 SWAP1 PUSH2 0xDC5 JUMP JUMPDEST SWAP3 POP POP DUP2 SWAP1 SSTORE POP JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 POP PUSH1 0x0 JUMPDEST PUSH1 0x2 DUP1 SLOAD SWAP1 POP DUP2 LT ISZERO PUSH2 0x7F5 JUMPI DUP2 PUSH1 0x2 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x778 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD SLOAD GT ISZERO PUSH2 0x7E2 JUMPI PUSH1 0x2 DUP2 DUP2 SLOAD DUP2 LT PUSH2 0x7CA JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x1 ADD SLOAD SWAP2 POP DUP1 SWAP3 POP JUMPDEST DUP1 DUP1 PUSH2 0x7ED SWAP1 PUSH2 0xE6D JUMP JUMPDEST SWAP2 POP POP PUSH2 0x730 JUMP JUMPDEST POP POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x888 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x87F SWAP1 PUSH2 0xCD4 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x1 PUSH1 0x0 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND ISZERO PUSH2 0x918 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x90F SWAP1 PUSH2 0xD14 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD SLOAD EQ PUSH2 0x967 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x1 DUP1 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 PUSH1 0x0 ADD DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x1 PUSH1 0x20 MSTORE DUP1 PUSH1 0x0 MSTORE PUSH1 0x40 PUSH1 0x0 KECCAK256 PUSH1 0x0 SWAP2 POP SWAP1 POP DUP1 PUSH1 0x0 ADD SLOAD SWAP1 DUP1 PUSH1 0x1 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH1 0xFF AND SWAP1 DUP1 PUSH1 0x1 ADD PUSH1 0x1 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP1 PUSH1 0x2 ADD SLOAD SWAP1 POP DUP5 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x2 PUSH2 0xA1A PUSH2 0x726 JUMP JUMPDEST DUP2 SLOAD DUP2 LT PUSH2 0xA51 JUMPI PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x32 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 PUSH1 0x2 MUL ADD PUSH1 0x0 ADD SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xA77 DUP2 PUSH2 0x102A JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0xA8C DUP2 PUSH2 0x1041 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xAA4 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xAB2 DUP5 DUP3 DUP6 ADD PUSH2 0xA68 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0xACD JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0xADB DUP5 DUP3 DUP6 ADD PUSH2 0xA7D JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0xAED DUP2 PUSH2 0xE1B JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0xAFC DUP2 PUSH2 0xE2D JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH2 0xB0B DUP2 PUSH2 0xE39 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB1E PUSH1 0x14 DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xB29 DUP3 PUSH2 0xEE5 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB41 PUSH1 0xE DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xB4C DUP3 PUSH2 0xF0E JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB64 PUSH1 0x12 DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xB6F DUP3 PUSH2 0xF37 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xB87 PUSH1 0x28 DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xB92 DUP3 PUSH2 0xF60 JUMP JUMPDEST PUSH1 0x40 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xBAA PUSH1 0x19 DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xBB5 DUP3 PUSH2 0xFAF JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xBCD PUSH1 0x18 DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xBD8 DUP3 PUSH2 0xFD8 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xBF0 PUSH1 0x1E DUP4 PUSH2 0xDB4 JUMP JUMPDEST SWAP2 POP PUSH2 0xBFB DUP3 PUSH2 0x1001 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH2 0xC0F DUP2 PUSH2 0xE63 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xC2A PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xAE4 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xC45 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xB02 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x40 DUP3 ADD SWAP1 POP PUSH2 0xC60 PUSH1 0x0 DUP4 ADD DUP6 PUSH2 0xB02 JUMP JUMPDEST PUSH2 0xC6D PUSH1 0x20 DUP4 ADD DUP5 PUSH2 0xC06 JUMP JUMPDEST SWAP4 SWAP3 POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xC8D DUP2 PUSH2 0xB11 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xCAD DUP2 PUSH2 0xB34 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xCCD DUP2 PUSH2 0xB57 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xCED DUP2 PUSH2 0xB7A JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xD0D DUP2 PUSH2 0xB9D JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xD2D DUP2 PUSH2 0xBC0 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0xD4D DUP2 PUSH2 0xBE3 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0xD69 PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0xC06 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x80 DUP3 ADD SWAP1 POP PUSH2 0xD84 PUSH1 0x0 DUP4 ADD DUP8 PUSH2 0xC06 JUMP JUMPDEST PUSH2 0xD91 PUSH1 0x20 DUP4 ADD DUP7 PUSH2 0xAF3 JUMP JUMPDEST PUSH2 0xD9E PUSH1 0x40 DUP4 ADD DUP6 PUSH2 0xAE4 JUMP JUMPDEST PUSH2 0xDAB PUSH1 0x60 DUP4 ADD DUP5 PUSH2 0xC06 JUMP JUMPDEST SWAP6 SWAP5 POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xDD0 DUP3 PUSH2 0xE63 JUMP JUMPDEST SWAP2 POP PUSH2 0xDDB DUP4 PUSH2 0xE63 JUMP JUMPDEST SWAP3 POP DUP3 PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF SUB DUP3 GT ISZERO PUSH2 0xE10 JUMPI PUSH2 0xE0F PUSH2 0xEB6 JUMP JUMPDEST JUMPDEST DUP3 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE26 DUP3 PUSH2 0xE43 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 ISZERO ISZERO SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP2 SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xE78 DUP3 PUSH2 0xE63 JUMP JUMPDEST SWAP2 POP PUSH32 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 EQ ISZERO PUSH2 0xEAB JUMPI PUSH2 0xEAA PUSH2 0xEB6 JUMP JUMPDEST JUMPDEST PUSH1 0x1 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x4E487B7100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 MSTORE PUSH1 0x11 PUSH1 0x4 MSTORE PUSH1 0x24 PUSH1 0x0 REVERT JUMPDEST PUSH32 0x486173206E6F20726967687420746F20766F7465000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x416C726561647920766F7465642E000000000000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x596F7520616C726561647920766F7465642E0000000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x4F6E6C79206368616972706572736F6E2063616E206769766520726967687420 PUSH1 0x0 DUP3 ADD MSTORE PUSH32 0x746F20766F74652E000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x466F756E64206C6F6F7020696E2064656C65676174696F6E2E00000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x54686520766F74657220616C726561647920766F7465642E0000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH32 0x53656C662D64656C65676174696F6E20697320646973616C6C6F7765642E0000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0x1033 DUP2 PUSH2 0xE1B JUMP JUMPDEST DUP2 EQ PUSH2 0x103E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP JUMPDEST PUSH2 0x104A DUP2 PUSH2 0xE63 JUMP JUMPDEST DUP2 EQ PUSH2 0x1055 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xBE 0xCB SELFBALANCE PUSH23 0xF761774C29BECD7727FD8079B6EE3CBFBC3A05888E9B98 0xE4 0x23 PUSH22 0x172664736F6C63430008040033000000000000000000 ", | |
"sourceMap": "157:4362:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3173:458;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;794:27;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;715:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2078:907;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3817:365;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1599:355;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;748:39;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;4373:144;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3173:458;3219:20;3242:6;:18;3249:10;3242:18;;;;;;;;;;;;;;;3219:41;;3295:1;3278:6;:13;;;:18;;3270:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;3340:6;:12;;;;;;;;;;;;3339:13;3331:40;;;;;;;;;;;;:::i;:::-;;;;;;;;;3396:4;3381:6;:12;;;:19;;;;;;;;;;;;;;;;;;3424:8;3410:6;:11;;:22;;;;3611:6;:13;;;3578:9;3588:8;3578:19;;;;;;;;;;;;;;;;;;;;;;;;;;:29;;;:46;;;;;;;:::i;:::-;;;;;;;;3173:458;;:::o;794:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;715:26::-;;;;;;;;;;;;:::o;2078:907::-;2125:20;2148:6;:18;2155:10;2148:18;;;;;;;;;;;;;;;2125:41;;2185:6;:12;;;;;;;;;;;;2184:13;2176:44;;;;;;;;;;;;:::i;:::-;;;;;;;;;2244:10;2238:16;;:2;:16;;;;2230:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;2300:223;2338:1;2307:33;;:6;:10;2314:2;2307:10;;;;;;;;;;;;;;;:19;;;;;;;;;;;;:33;;;2300:223;;2361:6;:10;2368:2;2361:10;;;;;;;;;;;;;;;:19;;;;;;;;;;;;2356:24;;2472:10;2466:16;;:2;:16;;;;2458:54;;;;;;;;;;;;:::i;:::-;;;;;;;;;2300:223;;;2547:4;2532:6;:12;;;:19;;;;;;;;;;;;;;;;;;2579:2;2561:6;:15;;;:20;;;;;;;;;;;;;;;;;;2591:23;2617:6;:10;2624:2;2617:10;;;;;;;;;;;;;;;2591:36;;2641:9;:15;;;;;;;;;;;;2637:342;;;2808:6;:13;;;2769:9;2779;:14;;;2769:25;;;;;;;;;;;;;;;;;;;;;;;;;;:35;;;:52;;;;;;;:::i;:::-;;;;;;;;2637:342;;;2955:6;:13;;;2935:9;:16;;;:33;;;;;;;:::i;:::-;;;;;;;;2637:342;2078:907;;;:::o;3817:365::-;3877:21;3914;3938:1;3914:25;;3954:6;3949:227;3970:9;:16;;;;3966:1;:20;3949:227;;;4036:16;4011:9;4021:1;4011:12;;;;;;;;;;;;;;;;;;;;;;;;;;:22;;;:41;4007:159;;;4091:9;4101:1;4091:12;;;;;;;;;;;;;;;;;;;;;;;;;;:22;;;4072:41;;4150:1;4131:20;;4007:159;3988:3;;;;;:::i;:::-;;;;3949:227;;;;3817:365;;:::o;1599:355::-;1691:11;;;;;;;;;;1677:25;;:10;:25;;;1656:112;;;;;;;;;;;;:::i;:::-;;;;;;;;;1800:6;:13;1807:5;1800:13;;;;;;;;;;;;;;;:19;;;;;;;;;;;;1799:20;1778:91;;;;;;;;;;;;:::i;:::-;;;;;;;;;1911:1;1887:6;:13;1894:5;1887:13;;;;;;;;;;;;;;;:20;;;:25;1879:34;;;;;;1946:1;1923:6;:13;1930:5;1923:13;;;;;;;;;;;;;;;:20;;:24;;;;1599:355;:::o;748:39::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4373:144::-;4428:19;4477:9;4487:17;:15;:17::i;:::-;4477:28;;;;;;;;;;;;;;;;;;;;;;;;;;:33;;;4463:47;;4373:144;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:139::-;198:5;236:6;223:20;214:29;;252:33;279:5;252:33;:::i;:::-;204:87;;;;:::o;297:262::-;356:6;405:2;393:9;384:7;380:23;376:32;373:2;;;421:1;418;411:12;373:2;464:1;489:53;534:7;525:6;514:9;510:22;489:53;:::i;:::-;479:63;;435:117;363:196;;;;:::o;565:262::-;624:6;673:2;661:9;652:7;648:23;644:32;641:2;;;689:1;686;679:12;641:2;732:1;757:53;802:7;793:6;782:9;778:22;757:53;:::i;:::-;747:63;;703:117;631:196;;;;:::o;833:118::-;920:24;938:5;920:24;:::i;:::-;915:3;908:37;898:53;;:::o;957:109::-;1038:21;1053:5;1038:21;:::i;:::-;1033:3;1026:34;1016:50;;:::o;1072:118::-;1159:24;1177:5;1159:24;:::i;:::-;1154:3;1147:37;1137:53;;:::o;1196:366::-;1338:3;1359:67;1423:2;1418:3;1359:67;:::i;:::-;1352:74;;1435:93;1524:3;1435:93;:::i;:::-;1553:2;1548:3;1544:12;1537:19;;1342:220;;;:::o;1568:366::-;1710:3;1731:67;1795:2;1790:3;1731:67;:::i;:::-;1724:74;;1807:93;1896:3;1807:93;:::i;:::-;1925:2;1920:3;1916:12;1909:19;;1714:220;;;:::o;1940:366::-;2082:3;2103:67;2167:2;2162:3;2103:67;:::i;:::-;2096:74;;2179:93;2268:3;2179:93;:::i;:::-;2297:2;2292:3;2288:12;2281:19;;2086:220;;;:::o;2312:366::-;2454:3;2475:67;2539:2;2534:3;2475:67;:::i;:::-;2468:74;;2551:93;2640:3;2551:93;:::i;:::-;2669:2;2664:3;2660:12;2653:19;;2458:220;;;:::o;2684:366::-;2826:3;2847:67;2911:2;2906:3;2847:67;:::i;:::-;2840:74;;2923:93;3012:3;2923:93;:::i;:::-;3041:2;3036:3;3032:12;3025:19;;2830:220;;;:::o;3056:366::-;3198:3;3219:67;3283:2;3278:3;3219:67;:::i;:::-;3212:74;;3295:93;3384:3;3295:93;:::i;:::-;3413:2;3408:3;3404:12;3397:19;;3202:220;;;:::o;3428:366::-;3570:3;3591:67;3655:2;3650:3;3591:67;:::i;:::-;3584:74;;3667:93;3756:3;3667:93;:::i;:::-;3785:2;3780:3;3776:12;3769:19;;3574:220;;;:::o;3800:118::-;3887:24;3905:5;3887:24;:::i;:::-;3882:3;3875:37;3865:53;;:::o;3924:222::-;4017:4;4055:2;4044:9;4040:18;4032:26;;4068:71;4136:1;4125:9;4121:17;4112:6;4068:71;:::i;:::-;4022:124;;;;:::o;4152:222::-;4245:4;4283:2;4272:9;4268:18;4260:26;;4296:71;4364:1;4353:9;4349:17;4340:6;4296:71;:::i;:::-;4250:124;;;;:::o;4380:332::-;4501:4;4539:2;4528:9;4524:18;4516:26;;4552:71;4620:1;4609:9;4605:17;4596:6;4552:71;:::i;:::-;4633:72;4701:2;4690:9;4686:18;4677:6;4633:72;:::i;:::-;4506:206;;;;;:::o;4718:419::-;4884:4;4922:2;4911:9;4907:18;4899:26;;4971:9;4965:4;4961:20;4957:1;4946:9;4942:17;4935:47;4999:131;5125:4;4999:131;:::i;:::-;4991:139;;4889:248;;;:::o;5143:419::-;5309:4;5347:2;5336:9;5332:18;5324:26;;5396:9;5390:4;5386:20;5382:1;5371:9;5367:17;5360:47;5424:131;5550:4;5424:131;:::i;:::-;5416:139;;5314:248;;;:::o;5568:419::-;5734:4;5772:2;5761:9;5757:18;5749:26;;5821:9;5815:4;5811:20;5807:1;5796:9;5792:17;5785:47;5849:131;5975:4;5849:131;:::i;:::-;5841:139;;5739:248;;;:::o;5993:419::-;6159:4;6197:2;6186:9;6182:18;6174:26;;6246:9;6240:4;6236:20;6232:1;6221:9;6217:17;6210:47;6274:131;6400:4;6274:131;:::i;:::-;6266:139;;6164:248;;;:::o;6418:419::-;6584:4;6622:2;6611:9;6607:18;6599:26;;6671:9;6665:4;6661:20;6657:1;6646:9;6642:17;6635:47;6699:131;6825:4;6699:131;:::i;:::-;6691:139;;6589:248;;;:::o;6843:419::-;7009:4;7047:2;7036:9;7032:18;7024:26;;7096:9;7090:4;7086:20;7082:1;7071:9;7067:17;7060:47;7124:131;7250:4;7124:131;:::i;:::-;7116:139;;7014:248;;;:::o;7268:419::-;7434:4;7472:2;7461:9;7457:18;7449:26;;7521:9;7515:4;7511:20;7507:1;7496:9;7492:17;7485:47;7549:131;7675:4;7549:131;:::i;:::-;7541:139;;7439:248;;;:::o;7693:222::-;7786:4;7824:2;7813:9;7809:18;7801:26;;7837:71;7905:1;7894:9;7890:17;7881:6;7837:71;:::i;:::-;7791:124;;;;:::o;7921:541::-;8092:4;8130:3;8119:9;8115:19;8107:27;;8144:71;8212:1;8201:9;8197:17;8188:6;8144:71;:::i;:::-;8225:66;8287:2;8276:9;8272:18;8263:6;8225:66;:::i;:::-;8301:72;8369:2;8358:9;8354:18;8345:6;8301:72;:::i;:::-;8383;8451:2;8440:9;8436:18;8427:6;8383:72;:::i;:::-;8097:365;;;;;;;:::o;8468:169::-;8552:11;8586:6;8581:3;8574:19;8626:4;8621:3;8617:14;8602:29;;8564:73;;;;:::o;8643:305::-;8683:3;8702:20;8720:1;8702:20;:::i;:::-;8697:25;;8736:20;8754:1;8736:20;:::i;:::-;8731:25;;8890:1;8822:66;8818:74;8815:1;8812:81;8809:2;;;8896:18;;:::i;:::-;8809:2;8940:1;8937;8933:9;8926:16;;8687:261;;;;:::o;8954:96::-;8991:7;9020:24;9038:5;9020:24;:::i;:::-;9009:35;;8999:51;;;:::o;9056:90::-;9090:7;9133:5;9126:13;9119:21;9108:32;;9098:48;;;:::o;9152:77::-;9189:7;9218:5;9207:16;;9197:32;;;:::o;9235:126::-;9272:7;9312:42;9305:5;9301:54;9290:65;;9280:81;;;:::o;9367:77::-;9404:7;9433:5;9422:16;;9412:32;;;:::o;9450:233::-;9489:3;9512:24;9530:5;9512:24;:::i;:::-;9503:33;;9558:66;9551:5;9548:77;9545:2;;;9628:18;;:::i;:::-;9545:2;9675:1;9668:5;9664:13;9657:20;;9493:190;;;:::o;9689:180::-;9737:77;9734:1;9727:88;9834:4;9831:1;9824:15;9858:4;9855:1;9848:15;9875:170;10015:22;10011:1;10003:6;9999:14;9992:46;9981:64;:::o;10051:164::-;10191:16;10187:1;10179:6;10175:14;10168:40;10157:58;:::o;10221:168::-;10361:20;10357:1;10349:6;10345:14;10338:44;10327:62;:::o;10395:227::-;10535:34;10531:1;10523:6;10519:14;10512:58;10604:10;10599:2;10591:6;10587:15;10580:35;10501:121;:::o;10628:175::-;10768:27;10764:1;10756:6;10752:14;10745:51;10734:69;:::o;10809:174::-;10949:26;10945:1;10937:6;10933:14;10926:50;10915:68;:::o;10989:180::-;11129:32;11125:1;11117:6;11113:14;11106:56;11095:74;:::o;11175:122::-;11248:24;11266:5;11248:24;:::i;:::-;11241:5;11238:35;11228:2;;11287:1;11284;11277:12;11228:2;11218:79;:::o;11303:122::-;11376:24;11394:5;11376:24;:::i;:::-;11369:5;11366:35;11356:2;;11415:1;11412;11405:12;11356:2;11346:79;:::o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "847600", | |
"executionCost": "infinite", | |
"totalCost": "infinite" | |
}, | |
"external": { | |
"chairperson()": "1256", | |
"delegate(address)": "infinite", | |
"giveRightToVote(address)": "23325", | |
"proposals(uint256)": "infinite", | |
"vote(uint256)": "infinite", | |
"voters(address)": "infinite", | |
"winnerName()": "infinite", | |
"winningProposal()": "infinite" | |
} | |
}, | |
"methodIdentifiers": { | |
"chairperson()": "2e4176cf", | |
"delegate(address)": "5c19a95c", | |
"giveRightToVote(address)": "9e7b8d61", | |
"proposals(uint256)": "013cf08b", | |
"vote(uint256)": "0121b93f", | |
"voters(address)": "a3ec138d", | |
"winnerName()": "e2ba53f0", | |
"winningProposal()": "609ff1bd" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32[]", | |
"name": "proposalNames", | |
"type": "bytes32[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "chairperson", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
} | |
], | |
"name": "delegate", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "voter", | |
"type": "address" | |
} | |
], | |
"name": "giveRightToVote", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "proposals", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "name", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "voteCount", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "proposal", | |
"type": "uint256" | |
} | |
], | |
"name": "vote", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "voters", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "weight", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "voted", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "address", | |
"name": "delegate", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "vote", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "winnerName", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "winnerName_", | |
"type": "bytes32" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "winningProposal", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "winningProposal_", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.8.4+commit.c7e474f2" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "bytes32[]", | |
"name": "proposalNames", | |
"type": "bytes32[]" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "chairperson", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
} | |
], | |
"name": "delegate", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "voter", | |
"type": "address" | |
} | |
], | |
"name": "giveRightToVote", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "proposals", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "name", | |
"type": "bytes32" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "voteCount", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "proposal", | |
"type": "uint256" | |
} | |
], | |
"name": "vote", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"name": "voters", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "weight", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "voted", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "address", | |
"name": "delegate", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "vote", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "winnerName", | |
"outputs": [ | |
{ | |
"internalType": "bytes32", | |
"name": "winnerName_", | |
"type": "bytes32" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "winningProposal", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "winningProposal_", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"details": "Implements voting process along with vote delegation", | |
"kind": "dev", | |
"methods": { | |
"constructor": { | |
"details": "Create a new ballot to choose one of 'proposalNames'.", | |
"params": { | |
"proposalNames": "names of proposals" | |
} | |
}, | |
"delegate(address)": { | |
"details": "Delegate your vote to the voter 'to'.", | |
"params": { | |
"to": "address to which vote is delegated" | |
} | |
}, | |
"giveRightToVote(address)": { | |
"details": "Give 'voter' the right to vote on this ballot. May only be called by 'chairperson'.", | |
"params": { | |
"voter": "address of voter" | |
} | |
}, | |
"vote(uint256)": { | |
"details": "Give your vote (including votes delegated to you) to proposal 'proposals[proposal].name'.", | |
"params": { | |
"proposal": "index of proposal in the proposals array" | |
} | |
}, | |
"winnerName()": { | |
"details": "Calls winningProposal() function to get the index of the winner contained in the proposals array and then", | |
"returns": { | |
"winnerName_": "the name of the winner" | |
} | |
}, | |
"winningProposal()": { | |
"details": "Computes the winning proposal taking all previous votes into account.", | |
"returns": { | |
"winningProposal_": "index of winning proposal in the proposals array" | |
} | |
} | |
}, | |
"title": "Ballot", | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/3_Ballot.sol": "Ballot" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/3_Ballot.sol": { | |
"keccak256": "0xdd897b48a563d1d32369fdb327187dfcd2660159cfcd3787196bb6be6a312c8d", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://551d7a6d3e2abc66a7b37fbd8b0e4c07b43c72c3b55958e66ac421348311fed4", | |
"dweb:/ipfs/Qmd4XV9j79GPfv5cgVsg62vKzaLuf6igx7VSW2BKaUyF3w" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206de8cf66aa2c5a47657c4a55061046127d49d7962a626e028c8d80970a2151f064736f6c634300060c0033", | |
"opcodes": "PUSH1 0x56 PUSH1 0x23 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x16 JUMPI INVALID JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH14 0xE8CF66AA2C5A47657C4A55061046 SLT PUSH30 0x49D7962A626E028C8D80970A2151F064736F6C634300060C003300000000 ", | |
"sourceMap": "67:61980:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206de8cf66aa2c5a47657c4a55061046127d49d7962a626e028c8d80970a2151f064736f6c634300060c0033", | |
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH14 0xE8CF66AA2C5A47657C4A55061046 SLT PUSH30 0x49D7962A626E028C8D80970A2151F064736F6C634300060C003300000000 ", | |
"sourceMap": "67:61980:0:-:0;;;;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "17200", | |
"executionCost": "97", | |
"totalCost": "17297" | |
}, | |
"internal": { | |
"_sendLogPayload(bytes memory)": "infinite", | |
"log()": "infinite", | |
"log(address)": "infinite", | |
"log(address,address)": "infinite", | |
"log(address,address,address)": "infinite", | |
"log(address,address,address,address)": "infinite", | |
"log(address,address,address,bool)": "infinite", | |
"log(address,address,address,string memory)": "infinite", | |
"log(address,address,address,uint256)": "infinite", | |
"log(address,address,bool)": "infinite", | |
"log(address,address,bool,address)": "infinite", | |
"log(address,address,bool,bool)": "infinite", | |
"log(address,address,bool,string memory)": "infinite", | |
"log(address,address,bool,uint256)": "infinite", | |
"log(address,address,string memory)": "infinite", | |
"log(address,address,string memory,address)": "infinite", | |
"log(address,address,string memory,bool)": "infinite", | |
"log(address,address,string memory,string memory)": "infinite", | |
"log(address,address,string memory,uint256)": "infinite", | |
"log(address,address,uint256)": "infinite", | |
"log(address,address,uint256,address)": "infinite", | |
"log(address,address,uint256,bool)": "infinite", | |
"log(address,address,uint256,string memory)": "infinite", | |
"log(address,address,uint256,uint256)": "infinite", | |
"log(address,bool)": "infinite", | |
"log(address,bool,address)": "infinite", | |
"log(address,bool,address,address)": "infinite", | |
"log(address,bool,address,bool)": "infinite", | |
"log(address,bool,address,string memory)": "infinite", | |
"log(address,bool,address,uint256)": "infinite", | |
"log(address,bool,bool)": "infinite", | |
"log(address,bool,bool,address)": "infinite", | |
"log(address,bool,bool,bool)": "infinite", | |
"log(address,bool,bool,string memory)": "infinite", | |
"log(address,bool,bool,uint256)": "infinite", | |
"log(address,bool,string memory)": "infinite", | |
"log(address,bool,string memory,address)": "infinite", | |
"log(address,bool,string memory,bool)": "infinite", | |
"log(address,bool,string memory,string memory)": "infinite", | |
"log(address,bool,string memory,uint256)": "infinite", | |
"log(address,bool,uint256)": "infinite", | |
"log(address,bool,uint256,address)": "infinite", | |
"log(address,bool,uint256,bool)": "infinite", | |
"log(address,bool,uint256,string memory)": "infinite", | |
"log(address,bool,uint256,uint256)": "infinite", | |
"log(address,string memory)": "infinite", | |
"log(address,string memory,address)": "infinite", | |
"log(address,string memory,address,address)": "infinite", | |
"log(address,string memory,address,bool)": "infinite", | |
"log(address,string memory,address,string memory)": "infinite", | |
"log(address,string memory,address,uint256)": "infinite", | |
"log(address,string memory,bool)": "infinite", | |
"log(address,string memory,bool,address)": "infinite", | |
"log(address,string memory,bool,bool)": "infinite", | |
"log(address,string memory,bool,string memory)": "infinite", | |
"log(address,string memory,bool,uint256)": "infinite", | |
"log(address,string memory,string memory)": "infinite", | |
"log(address,string memory,string memory,address)": "infinite", | |
"log(address,string memory,string memory,bool)": "infinite", | |
"log(address,string memory,string memory,string memory)": "infinite", | |
"log(address,string memory,string memory,uint256)": "infinite", | |
"log(address,string memory,uint256)": "infinite", | |
"log(address,string memory,uint256,address)": "infinite", | |
"log(address,string memory,uint256,bool)": "infinite", | |
"log(address,string memory,uint256,string memory)": "infinite", | |
"log(address,string memory,uint256,uint256)": "infinite", | |
"log(address,uint256)": "infinite", | |
"log(address,uint256,address)": "infinite", | |
"log(address,uint256,address,address)": "infinite", | |
"log(address,uint256,address,bool)": "infinite", | |
"log(address,uint256,address,string memory)": "infinite", | |
"log(address,uint256,address,uint256)": "infinite", | |
"log(address,uint256,bool)": "infinite", | |
"log(address,uint256,bool,address)": "infinite", | |
"log(address,uint256,bool,bool)": "infinite", | |
"log(address,uint256,bool,string memory)": "infinite", | |
"log(address,uint256,bool,uint256)": "infinite", | |
"log(address,uint256,string memory)": "infinite", | |
"log(address,uint256,string memory,address)": "infinite", | |
"log(address,uint256,string memory,bool)": "infinite", | |
"log(address,uint256,string memory,string memory)": "infinite", | |
"log(address,uint256,string memory,uint256)": "infinite", | |
"log(address,uint256,uint256)": "infinite", | |
"log(address,uint256,uint256,address)": "infinite", | |
"log(address,uint256,uint256,bool)": "infinite", | |
"log(address,uint256,uint256,string memory)": "infinite", | |
"log(address,uint256,uint256,uint256)": "infinite", | |
"log(bool)": "infinite", | |
"log(bool,address)": "infinite", | |
"log(bool,address,address)": "infinite", | |
"log(bool,address,address,address)": "infinite", | |
"log(bool,address,address,bool)": "infinite", | |
"log(bool,address,address,string memory)": "infinite", | |
"log(bool,address,address,uint256)": "infinite", | |
"log(bool,address,bool)": "infinite", | |
"log(bool,address,bool,address)": "infinite", | |
"log(bool,address,bool,bool)": "infinite", | |
"log(bool,address,bool,string memory)": "infinite", | |
"log(bool,address,bool,uint256)": "infinite", | |
"log(bool,address,string memory)": "infinite", | |
"log(bool,address,string memory,address)": "infinite", | |
"log(bool,address,string memory,bool)": "infinite", | |
"log(bool,address,string memory,string memory)": "infinite", | |
"log(bool,address,string memory,uint256)": "infinite", | |
"log(bool,address,uint256)": "infinite", | |
"log(bool,address,uint256,address)": "infinite", | |
"log(bool,address,uint256,bool)": "infinite", | |
"log(bool,address,uint256,string memory)": "infinite", | |
"log(bool,address,uint256,uint256)": "infinite", | |
"log(bool,bool)": "infinite", | |
"log(bool,bool,address)": "infinite", | |
"log(bool,bool,address,address)": "infinite", | |
"log(bool,bool,address,bool)": "infinite", | |
"log(bool,bool,address,string memory)": "infinite", | |
"log(bool,bool,address,uint256)": "infinite", | |
"log(bool,bool,bool)": "infinite", | |
"log(bool,bool,bool,address)": "infinite", | |
"log(bool,bool,bool,bool)": "infinite", | |
"log(bool,bool,bool,string memory)": "infinite", | |
"log(bool,bool,bool,uint256)": "infinite", | |
"log(bool,bool,string memory)": "infinite", | |
"log(bool,bool,string memory,address)": "infinite", | |
"log(bool,bool,string memory,bool)": "infinite", | |
"log(bool,bool,string memory,string memory)": "infinite", | |
"log(bool,bool,string memory,uint256)": "infinite", | |
"log(bool,bool,uint256)": "infinite", | |
"log(bool,bool,uint256,address)": "infinite", | |
"log(bool,bool,uint256,bool)": "infinite", | |
"log(bool,bool,uint256,string memory)": "infinite", | |
"log(bool,bool,uint256,uint256)": "infinite", | |
"log(bool,string memory)": "infinite", | |
"log(bool,string memory,address)": "infinite", | |
"log(bool,string memory,address,address)": "infinite", | |
"log(bool,string memory,address,bool)": "infinite", | |
"log(bool,string memory,address,string memory)": "infinite", | |
"log(bool,string memory,address,uint256)": "infinite", | |
"log(bool,string memory,bool)": "infinite", | |
"log(bool,string memory,bool,address)": "infinite", | |
"log(bool,string memory,bool,bool)": "infinite", | |
"log(bool,string memory,bool,string memory)": "infinite", | |
"log(bool,string memory,bool,uint256)": "infinite", | |
"log(bool,string memory,string memory)": "infinite", | |
"log(bool,string memory,string memory,address)": "infinite", | |
"log(bool,string memory,string memory,bool)": "infinite", | |
"log(bool,string memory,string memory,string memory)": "infinite", | |
"log(bool,string memory,string memory,uint256)": "infinite", | |
"log(bool,string memory,uint256)": "infinite", | |
"log(bool,string memory,uint256,address)": "infinite", | |
"log(bool,string memory,uint256,bool)": "infinite", | |
"log(bool,string memory,uint256,string memory)": "infinite", | |
"log(bool,string memory,uint256,uint256)": "infinite", | |
"log(bool,uint256)": "infinite", | |
"log(bool,uint256,address)": "infinite", | |
"log(bool,uint256,address,address)": "infinite", | |
"log(bool,uint256,address,bool)": "infinite", | |
"log(bool,uint256,address,string memory)": "infinite", | |
"log(bool,uint256,address,uint256)": "infinite", | |
"log(bool,uint256,bool)": "infinite", | |
"log(bool,uint256,bool,address)": "infinite", | |
"log(bool,uint256,bool,bool)": "infinite", | |
"log(bool,uint256,bool,string memory)": "infinite", | |
"log(bool,uint256,bool,uint256)": "infinite", | |
"log(bool,uint256,string memory)": "infinite", | |
"log(bool,uint256,string memory,address)": "infinite", | |
"log(bool,uint256,string memory,bool)": "infinite", | |
"log(bool,uint256,string memory,string memory)": "infinite", | |
"log(bool,uint256,string memory,uint256)": "infinite", | |
"log(bool,uint256,uint256)": "infinite", | |
"log(bool,uint256,uint256,address)": "infinite", | |
"log(bool,uint256,uint256,bool)": "infinite", | |
"log(bool,uint256,uint256,string memory)": "infinite", | |
"log(bool,uint256,uint256,uint256)": "infinite", | |
"log(string memory)": "infinite", | |
"log(string memory,address)": "infinite", | |
"log(string memory,address,address)": "infinite", | |
"log(string memory,address,address,address)": "infinite", | |
"log(string memory,address,address,bool)": "infinite", | |
"log(string memory,address,address,string memory)": "infinite", | |
"log(string memory,address,address,uint256)": "infinite", | |
"log(string memory,address,bool)": "infinite", | |
"log(string memory,address,bool,address)": "infinite", | |
"log(string memory,address,bool,bool)": "infinite", | |
"log(string memory,address,bool,string memory)": "infinite", | |
"log(string memory,address,bool,uint256)": "infinite", | |
"log(string memory,address,string memory)": "infinite", | |
"log(string memory,address,string memory,address)": "infinite", | |
"log(string memory,address,string memory,bool)": "infinite", | |
"log(string memory,address,string memory,string memory)": "infinite", | |
"log(string memory,address,string memory,uint256)": "infinite", | |
"log(string memory,address,uint256)": "infinite", | |
"log(string memory,address,uint256,address)": "infinite", | |
"log(string memory,address,uint256,bool)": "infinite", | |
"log(string memory,address,uint256,string memory)": "infinite", | |
"log(string memory,address,uint256,uint256)": "infinite", | |
"log(string memory,bool)": "infinite", | |
"log(string memory,bool,address)": "infinite", | |
"log(string memory,bool,address,address)": "infinite", | |
"log(string memory,bool,address,bool)": "infinite", | |
"log(string memory,bool,address,string memory)": "infinite", | |
"log(string memory,bool,address,uint256)": "infinite", | |
"log(string memory,bool,bool)": "infinite", | |
"log(string memory,bool,bool,address)": "infinite", | |
"log(string memory,bool,bool,bool)": "infinite", | |
"log(string memory,bool,bool,string memory)": "infinite", | |
"log(string memory,bool,bool,uint256)": "infinite", | |
"log(string memory,bool,string memory)": "infinite", | |
"log(string memory,bool,string memory,address)": "infinite", | |
"log(string memory,bool,string memory,bool)": "infinite", | |
"log(string memory,bool,string memory,string memory)": "infinite", | |
"log(string memory,bool,string memory,uint256)": "infinite", | |
"log(string memory,bool,uint256)": "infinite", | |
"log(string memory,bool,uint256,address)": "infinite", | |
"log(string memory,bool,uint256,bool)": "infinite", | |
"log(string memory,bool,uint256,string memory)": "infinite", | |
"log(string memory,bool,uint256,uint256)": "infinite", | |
"log(string memory,string memory)": "infinite", | |
"log(string memory,string memory,address)": "infinite", | |
"log(string memory,string memory,address,address)": "infinite", | |
"log(string memory,string memory,address,bool)": "infinite", | |
"log(string memory,string memory,address,string memory)": "infinite", | |
"log(string memory,string memory,address,uint256)": "infinite", | |
"log(string memory,string memory,bool)": "infinite", | |
"log(string memory,string memory,bool,address)": "infinite", | |
"log(string memory,string memory,bool,bool)": "infinite", | |
"log(string memory,string memory,bool,string memory)": "infinite", | |
"log(string memory,string memory,bool,uint256)": "infinite", | |
"log(string memory,string memory,string memory)": "infinite", | |
"log(string memory,string memory,string memory,address)": "infinite", | |
"log(string memory,string memory,string memory,bool)": "infinite", | |
"log(string memory,string memory,string memory,string memory)": "infinite", | |
"log(string memory,string memory,string memory,uint256)": "infinite", | |
"log(string memory,string memory,uint256)": "infinite", | |
"log(string memory,string memory,uint256,address)": "infinite", | |
"log(string memory,string memory,uint256,bool)": "infinite", | |
"log(string memory,string memory,uint256,string memory)": "infinite", | |
"log(string memory,string memory,uint256,uint256)": "infinite", | |
"log(string memory,uint256)": "infinite", | |
"log(string memory,uint256,address)": "infinite", | |
"log(string memory,uint256,address,address)": "infinite", | |
"log(string memory,uint256,address,bool)": "infinite", | |
"log(string memory,uint256,address,string memory)": "infinite", | |
"log(string memory,uint256,address,uint256)": "infinite", | |
"log(string memory,uint256,bool)": "infinite", | |
"log(string memory,uint256,bool,address)": "infinite", | |
"log(string memory,uint256,bool,bool)": "infinite", | |
"log(string memory,uint256,bool,string memory)": "infinite", | |
"log(string memory,uint256,bool,uint256)": "infinite", | |
"log(string memory,uint256,string memory)": "infinite", | |
"log(string memory,uint256,string memory,address)": "infinite", | |
"log(string memory,uint256,string memory,bool)": "infinite", | |
"log(string memory,uint256,string memory,string memory)": "infinite", | |
"log(string memory,uint256,string memory,uint256)": "infinite", | |
"log(string memory,uint256,uint256)": "infinite", | |
"log(string memory,uint256,uint256,address)": "infinite", | |
"log(string memory,uint256,uint256,bool)": "infinite", | |
"log(string memory,uint256,uint256,string memory)": "infinite", | |
"log(string memory,uint256,uint256,uint256)": "infinite", | |
"log(uint256)": "infinite", | |
"log(uint256,address)": "infinite", | |
"log(uint256,address,address)": "infinite", | |
"log(uint256,address,address,address)": "infinite", | |
"log(uint256,address,address,bool)": "infinite", | |
"log(uint256,address,address,string memory)": "infinite", | |
"log(uint256,address,address,uint256)": "infinite", | |
"log(uint256,address,bool)": "infinite", | |
"log(uint256,address,bool,address)": "infinite", | |
"log(uint256,address,bool,bool)": "infinite", | |
"log(uint256,address,bool,string memory)": "infinite", | |
"log(uint256,address,bool,uint256)": "infinite", | |
"log(uint256,address,string memory)": "infinite", | |
"log(uint256,address,string memory,address)": "infinite", | |
"log(uint256,address,string memory,bool)": "infinite", | |
"log(uint256,address,string memory,string memory)": "infinite", | |
"log(uint256,address,string memory,uint256)": "infinite", | |
"log(uint256,address,uint256)": "infinite", | |
"log(uint256,address,uint256,address)": "infinite", | |
"log(uint256,address,uint256,bool)": "infinite", | |
"log(uint256,address,uint256,string memory)": "infinite", | |
"log(uint256,address,uint256,uint256)": "infinite", | |
"log(uint256,bool)": "infinite", | |
"log(uint256,bool,address)": "infinite", | |
"log(uint256,bool,address,address)": "infinite", | |
"log(uint256,bool,address,bool)": "infinite", | |
"log(uint256,bool,address,string memory)": "infinite", | |
"log(uint256,bool,address,uint256)": "infinite", | |
"log(uint256,bool,bool)": "infinite", | |
"log(uint256,bool,bool,address)": "infinite", | |
"log(uint256,bool,bool,bool)": "infinite", | |
"log(uint256,bool,bool,string memory)": "infinite", | |
"log(uint256,bool,bool,uint256)": "infinite", | |
"log(uint256,bool,string memory)": "infinite", | |
"log(uint256,bool,string memory,address)": "infinite", | |
"log(uint256,bool,string memory,bool)": "infinite", | |
"log(uint256,bool,string memory,string memory)": "infinite", | |
"log(uint256,bool,string memory,uint256)": "infinite", | |
"log(uint256,bool,uint256)": "infinite", | |
"log(uint256,bool,uint256,address)": "infinite", | |
"log(uint256,bool,uint256,bool)": "infinite", | |
"log(uint256,bool,uint256,string memory)": "infinite", | |
"log(uint256,bool,uint256,uint256)": "infinite", | |
"log(uint256,string memory)": "infinite", | |
"log(uint256,string memory,address)": "infinite", | |
"log(uint256,string memory,address,address)": "infinite", | |
"log(uint256,string memory,address,bool)": "infinite", | |
"log(uint256,string memory,address,string memory)": "infinite", | |
"log(uint256,string memory,address,uint256)": "infinite", | |
"log(uint256,string memory,bool)": "infinite", | |
"log(uint256,string memory,bool,address)": "infinite", | |
"log(uint256,string memory,bool,bool)": "infinite", | |
"log(uint256,string memory,bool,string memory)": "infinite", | |
"log(uint256,string memory,bool,uint256)": "infinite", | |
"log(uint256,string memory,string memory)": "infinite", | |
"log(uint256,string memory,string memory,address)": "infinite", | |
"log(uint256,string memory,string memory,bool)": "infinite", | |
"log(uint256,string memory,string memory,string memory)": "infinite", | |
"log(uint256,string memory,string memory,uint256)": "infinite", | |
"log(uint256,string memory,uint256)": "infinite", | |
"log(uint256,string memory,uint256,address)": "infinite", | |
"log(uint256,string memory,uint256,bool)": "infinite", | |
"log(uint256,string memory,uint256,string memory)": "infinite", | |
"log(uint256,string memory,uint256,uint256)": "infinite", | |
"log(uint256,uint256)": "infinite", | |
"log(uint256,uint256,address)": "infinite", | |
"log(uint256,uint256,address,address)": "infinite", | |
"log(uint256,uint256,address,bool)": "infinite", | |
"log(uint256,uint256,address,string memory)": "infinite", | |
"log(uint256,uint256,address,uint256)": "infinite", | |
"log(uint256,uint256,bool)": "infinite", | |
"log(uint256,uint256,bool,address)": "infinite", | |
"log(uint256,uint256,bool,bool)": "infinite", | |
"log(uint256,uint256,bool,string memory)": "infinite", | |
"log(uint256,uint256,bool,uint256)": "infinite", | |
"log(uint256,uint256,string memory)": "infinite", | |
"log(uint256,uint256,string memory,address)": "infinite", | |
"log(uint256,uint256,string memory,bool)": "infinite", | |
"log(uint256,uint256,string memory,string memory)": "infinite", | |
"log(uint256,uint256,string memory,uint256)": "infinite", | |
"log(uint256,uint256,uint256)": "infinite", | |
"log(uint256,uint256,uint256,address)": "infinite", | |
"log(uint256,uint256,uint256,bool)": "infinite", | |
"log(uint256,uint256,uint256,string memory)": "infinite", | |
"log(uint256,uint256,uint256,uint256)": "infinite", | |
"logAddress(address)": "infinite", | |
"logBool(bool)": "infinite", | |
"logBytes(bytes memory)": "infinite", | |
"logBytes1(bytes1)": "infinite", | |
"logBytes10(bytes10)": "infinite", | |
"logBytes11(bytes11)": "infinite", | |
"logBytes12(bytes12)": "infinite", | |
"logBytes13(bytes13)": "infinite", | |
"logBytes14(bytes14)": "infinite", | |
"logBytes15(bytes15)": "infinite", | |
"logBytes16(bytes16)": "infinite", | |
"logBytes17(bytes17)": "infinite", | |
"logBytes18(bytes18)": "infinite", | |
"logBytes19(bytes19)": "infinite", | |
"logBytes2(bytes2)": "infinite", | |
"logBytes20(bytes20)": "infinite", | |
"logBytes21(bytes21)": "infinite", | |
"logBytes22(bytes22)": "infinite", | |
"logBytes23(bytes23)": "infinite", | |
"logBytes24(bytes24)": "infinite", | |
"logBytes25(bytes25)": "infinite", | |
"logBytes26(bytes26)": "infinite", | |
"logBytes27(bytes27)": "infinite", | |
"logBytes28(bytes28)": "infinite", | |
"logBytes29(bytes29)": "infinite", | |
"logBytes3(bytes3)": "infinite", | |
"logBytes30(bytes30)": "infinite", | |
"logBytes31(bytes31)": "infinite", | |
"logBytes32(bytes32)": "infinite", | |
"logBytes4(bytes4)": "infinite", | |
"logBytes5(bytes5)": "infinite", | |
"logBytes6(bytes6)": "infinite", | |
"logBytes7(bytes7)": "infinite", | |
"logBytes8(bytes8)": "infinite", | |
"logBytes9(bytes9)": "infinite", | |
"logInt(int256)": "infinite", | |
"logString(string memory)": "infinite", | |
"logUint(uint256)": "infinite" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
{ | |
"compiler": { | |
"version": "0.6.12+commit.27d51765" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/console.sol": "console" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/console.sol": { | |
"keccak256": "0x72b6a1d297cd3b033d7c2e4a7e7864934bb767db6453623f1c3082c6534547f4", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://a8cb8681076e765c214e0d51cac989325f6b98e315eaae06ee0cbd5a9f084763", | |
"dweb:/ipfs/QmNWGHi4zmjxQTYN3NMGnJd49jBT5dE4bxTdWEaDuJrC6N" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"allPairs(uint256)": "1e3dd18b", | |
"allPairsLength()": "574f2ba3", | |
"createPair(address,address)": "c9c65396", | |
"feeTo()": "017e7e58", | |
"feeToSetter()": "094b7415", | |
"getPair(address,address)": "e6a43905" | |
} | |
}, | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "token0", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "token1", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "pair", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "PairCreated", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "allPairs", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "pair", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "allPairsLength", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
} | |
], | |
"name": "createPair", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "pair", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "feeTo", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "feeToSetter", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
} | |
], | |
"name": "getPair", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "pair", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.8.3+commit.8d00100c" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "token0", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "token1", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "pair", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "PairCreated", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"name": "allPairs", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "pair", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "allPairsLength", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
} | |
], | |
"name": "createPair", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "pair", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "feeTo", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "feeToSetter", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "tokenA", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "tokenB", | |
"type": "address" | |
} | |
], | |
"name": "getPair", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "pair", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/main.sol": "IUniswapV2Factory" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/main.sol": { | |
"keccak256": "0x052257c283ded3052c5ad213f2c234e9b5ad28271be1ad2ee39a577a136ddf5b", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://909c7dedfab900fb13a71afb4b35a7e5a7be906571f21f5318fe78a060515c1c", | |
"dweb:/ipfs/QmQFvMtKFXMGcV6akqKj6DYLWYqfr3e1ddNeV4csHpcont" | |
] | |
}, | |
"https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/interfaces/IUniswapV2Router01.sol": { | |
"keccak256": "0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2", | |
"urls": [ | |
"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb", | |
"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG" | |
] | |
}, | |
"https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/interfaces/IUniswapV2Router02.sol": { | |
"keccak256": "0x744e30c133bd0f7ca9e7163433cf6d72f45c6bb1508c2c9c02f1a6db796ae59d", | |
"urls": [ | |
"bzz-raw://9bf2f4454ad63d4cff03a0630e787d9e8a9deed80aec89682cd8ad6379d9ef8c", | |
"dweb:/ipfs/Qme51hQNR2wpax7ooUadhtqLtXm8ffeVVYyubLkTT4wMCG" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "608060405273c586bef4a0992c495cf22e1aeee4e446cecdee0e6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200006557600080fd5b507324a42fd28c976a61df5d00d0599c34c4f90748c873ffffffffffffffffffffffffffffffffffffffff16630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b158015620000c157600080fd5b505afa158015620000d6573d6000803e3d6000fd5b505050506040513d6020811015620000ed57600080fd5b8101908080519060200190929190505050600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507324a42fd28c976a61df5d00d0599c34c4f90748c873ffffffffffffffffffffffffffffffffffffffff1663fca513a86040518163ffffffff1660e01b815260040160206040518083038186803b1580156200019957600080fd5b505afa158015620001ae573d6000803e3d6000fd5b505050506040513d6020811015620001c557600080fd5b8101908080519060200190929190505050600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073b53c1a33016b2dc2ff3653530bff1848a515c8c573ffffffffffffffffffffffffffffffffffffffff16630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b1580156200027157600080fd5b505afa15801562000286573d6000803e3d6000fd5b505050506040513d60208110156200029d57600080fd5b8101908080519060200190929190505050600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b815260040160006040518083038186803b1580156200035757600080fd5b505afa1580156200036c573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525060208110156200039757600080fd5b8101908080516040519392919084640100000000821115620003b857600080fd5b83820191506020820185811115620003cf57600080fd5b8251866020820283011164010000000082111715620003ed57600080fd5b8083526020830192505050908051906020019060200280838360005b838110156200042657808201518184015260208101905062000409565b50505050905001604052505050600490805190602001906200044a9291906200071c565b506000600480549050905060005b8181101562000714576000600482815481106200047157fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b3596f07826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156200052857600080fd5b505afa1580156200053d573d6000803e3d6000fd5b505050506040513d60208110156200055457600080fd5b8101908080519060200190929190505050600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16633e150141836040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1681526020019150506101006040518083038186803b1580156200063557600080fd5b505afa1580156200064a573d6000803e3d6000fd5b505050506040513d6101008110156200066257600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505050505050509250505080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505060018101905062000458565b5050620007e8565b82805482825590600052602060002090810192821562000798579160200282015b82811115620007975782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906200073d565b5b509050620007a79190620007ab565b5090565b5b80821115620007e457600081816101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905550600101620007ac565b5090565b611d6180620007f86000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80636f09e7161161005b5780636f09e7161461021e578063920f5c84146102b6578063b4dcfc7714610464578063f586c6d91461049857610088565b806301fe728d1461008d5780630542975c14610116578063616b08af1461014a57806368a4025c146101a2575b600080fd5b6100f9600480360360608110156100a357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104cc565b604051808381526020018281526020019250505060405180910390f35b61011e61068a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61018c6004803603602081101561016057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106a6565b6040518082815260200191505060405180910390f35b6101e4600480360360208110156101b857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107f0565b604051808473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390f35b6102b4600480360360a081101561023457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ab7565b005b61044c600480360360a08110156102cc57600080fd5b81019080803590602001906401000000008111156102e957600080fd5b8201836020820111156102fb57600080fd5b8035906020019184602083028401116401000000008311171561031d57600080fd5b90919293919293908035906020019064010000000081111561033e57600080fd5b82018360208201111561035057600080fd5b8035906020019184602083028401116401000000008311171561037257600080fd5b90919293919293908035906020019064010000000081111561039357600080fd5b8201836020820111156103a557600080fd5b803590602001918460208302840111640100000000831117156103c757600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561040857600080fd5b82018360208201111561041a57600080fd5b8035906020019184600183028401116401000000008311171561043c57600080fd5b9091929391929390505050610ed5565b60405180821515815260200191505060405180910390f35b61046c6118e5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104a061190f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000806000602a905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663085e2c5b888789600160006040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018281526020019550505050505060006040518083038186803b15801561059757600080fd5b505afa1580156105ab573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525060408110156105d557600080fd5b8101908080519060200190929190805160405193929190846401000000008211156105ff57600080fd5b8382019150602082018581111561061557600080fd5b825186602082028301116401000000008211171561063257600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561066957808201518184015260208101905061064e565b50505050905001604052505050509050806000935093505050935093915050565b600073b53c1a33016b2dc2ff3653530bff1848a515c8c5905090565b6000806000806000806000806000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf92857c8b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1681526020019150506101006040518083038186803b15801561073e57600080fd5b505afa158015610752573d6000803e3d6000fd5b505050506040513d61010081101561076957600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505097509750975097509750975097509750662386f26fc1000081816107e057fe5b0498505050505050505050919050565b600080600080600480549050905060008080600090505b83811015610a645760006004828154811061081e57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328dd2d01848d6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001925050506101406040518083038186803b1580156108f657600080fd5b505afa15801561090a573d6000803e3d6000fd5b505050506040513d61014081101561092157600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050509950505050505050505091508015610a565760006109f3600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600285816109ed57fe5b046119ab565b9050606480600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403820281610a4257fe5b04905086811115610a54578096508395505b505b505050600181019050610807565b508082600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549550955095505050509193909250565b600030905060608686868686604051602001808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019550505050505060405160208183030381529060405290506060600167ffffffffffffffff81118015610b5c57600080fd5b50604051908082528060200260200182016040528015610b8b5781602001602082028036833780820191505090505b5090508481600081518110610b9c57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506060600167ffffffffffffffff81118015610bf057600080fd5b50604051908082528060200260200182016040528015610c1f5781602001602082028036833780820191505090505b5090508481600081518110610c3057fe5b6020026020010181815250506060600267ffffffffffffffff81118015610c5657600080fd5b50604051908082528060200260200182016040528015610c855781602001602082028036833780820191505090505b509050600081600081518110610c9757fe5b602002602001018181525050610cad6000611a06565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ab9c4b5d868585858a8a60006040518863ffffffff1660e01b8152600401808873ffffffffffffffffffffffffffffffffffffffff1681526020018060200180602001806020018773ffffffffffffffffffffffffffffffffffffffff1681526020018060200186815260200185810385528b818151815260200191508051906020019060200280838360005b83811015610d8f578082015181840152602081019050610d74565b5050505090500185810384528a818151815260200191508051906020019060200280838360005b83811015610dd1578082015181840152602081019050610db6565b50505050905001858103835289818151815260200191508051906020019060200280838360005b83811015610e13578082015181840152602081019050610df8565b50505050905001858103825287818151815260200191508051906020019080838360005b83811015610e52578082015181840152602081019050610e37565b50505050905090810190601f168015610e7f5780820380516001836020036101000a031916815260200191505b509b505050505050505050505050600060405180830381600087803b158015610ea757600080fd5b505af1158015610ebb573d6000803e3d6000fd5b50505050610ec96001611a06565b50505050505050505050565b6000610ee1600a611a06565b3073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610f82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f7774662069732063616c6c696e6700000000000000000000000000000000000081525060200191505060405180910390fd5b6000806000806000878760a0811015610f9a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050945094509450945094506110296014611a06565b6000606060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663085e2c5b878688600160006040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018281526020019550505050505060006040518083038186803b1580156110ec57600080fd5b505afa158015611100573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250604081101561112a57600080fd5b81019080805190602001909291908051604051939291908464010000000082111561115457600080fd5b8382019150602082018581111561116a57600080fd5b825186602082028301116401000000008211171561118757600080fd5b8083526020830192505050908051906020019060200280838360005b838110156111be5780820151818401526020810190506111a3565b50505050905001604052505050915091506111d9601e611a06565b8282101561123c576111eb6028611a06565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611d086024913960400191505060405180910390fd5b6112466032611a06565b8373ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156112d957600080fd5b505af11580156112ed573d6000803e3d6000fd5b505050506040513d602081101561130357600080fd5b8101908080519060200190929190505050611386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f6c69717569646174696f6e20417070726f76616c206572726f7200000000000081525060200191505060405180910390fd5b611390603c611a06565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662a718a987868a8760006040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001821515815260200195505050505050600060405180830381600087803b15801561146957600080fd5b505af115801561147d573d6000803e3d6000fd5b5050505061148b6046611a06565b8573ffffffffffffffffffffffffffffffffffffffff1663095ea7b360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561151c57600080fd5b505af1158015611530573d6000803e3d6000fd5b505050506040513d602081101561154657600080fd5b81019080805190602001909291905050506115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f31696e636820617070726f76616c206572726f7200000000000000000000000081525060200191505060405180910390fd5b6115d36050611a06565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2a7515e878688878660006040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200180602001838152602001828103825284818151815260200191508051906020019060200280838360005b838110156116b2578082015181840152602081019050611697565b50505050905001975050505050505050602060405180830381600087803b1580156116dc57600080fd5b505af11580156116f0573d6000803e3d6000fd5b505050506040513d602081101561170657600080fd5b810190808051906020019092919050505050611722605a611a06565b505050505050508989600081811061173657fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166117ca898960008181106117a157fe5b905060200201358c8c60008181106117b557fe5b90506020020135611a9f90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561181d57600080fd5b505af1158015611831573d6000803e3d6000fd5b505050506040513d602081101561184757600080fd5b81019080805190602001909291905050506118ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f666c6173686c6f616e20617070726f76616c206572726f72000000000000000081525060200191505060405180910390fd5b6118d46064611a06565b600190509998505050505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007324a42fd28c976a61df5d00d0599c34c4f90748c873ffffffffffffffffffffffffffffffffffffffff16630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561196b57600080fd5b505afa15801561197f573d6000803e3d6000fd5b505050506040513d602081101561199557600080fd5b8101908080519060200190929190505050905090565b60006119fe670de0b6b3a76400006119f06119cf8587611b2790919063ffffffff16565b6002670de0b6b3a7640000816119e157fe5b04611a9f90919063ffffffff16565b611bad90919063ffffffff16565b905092915050565b611a9c81604051602401808281526020019150506040516020818303038152906040527ff5b1bba9000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bf7565b50565b600080828401905083811015611b1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611b3a5760009050611ba7565b6000828402905082848281611b4b57fe5b0414611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611ce76021913960400191505060405180910390fd5b809150505b92915050565b6000611bef83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c20565b905092915050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b60008083118290611ccc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c91578082015181840152602081019050611c76565b50505050905090810190601f168015611cbe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611cd857fe5b04905080915050939250505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f776e6f7420656e6f75676820646562742066726f6d20636f6c6c61746572616c2073616c65a26469706673582212204ed75bb99f07fd98e4343b97687c92854f74b9d45c49c3adbeccbaecf77671f464736f6c634300060c0033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH20 0xC586BEF4A0992C495CF22E1AEEE4E446CECDEE0E PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP CALLVALUE DUP1 ISZERO PUSH3 0x65 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH20 0x24A42FD28C976A61DF5D00D0599C34C4F90748C8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x261BF8B PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0xC1 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH3 0xD6 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH3 0xED JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH20 0x24A42FD28C976A61DF5D00D0599C34C4F90748C8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xFCA513A8 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x199 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH3 0x1AE JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH3 0x1C5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH1 0x2 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x261BF8B PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x271 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH3 0x286 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH3 0x29D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH1 0x3 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x902F1AC PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x357 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH3 0x36C JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH1 0x20 DUP2 LT ISZERO PUSH3 0x397 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD PUSH1 0x40 MLOAD SWAP4 SWAP3 SWAP2 SWAP1 DUP5 PUSH5 0x100000000 DUP3 GT ISZERO PUSH3 0x3B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP3 ADD DUP6 DUP2 GT ISZERO PUSH3 0x3CF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD DUP7 PUSH1 0x20 DUP3 MUL DUP4 ADD GT PUSH5 0x100000000 DUP3 GT OR ISZERO PUSH3 0x3ED JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP3 POP POP POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH3 0x426 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH3 0x409 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD PUSH1 0x40 MSTORE POP POP POP PUSH1 0x4 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH3 0x44A SWAP3 SWAP2 SWAP1 PUSH3 0x71C JUMP JUMPDEST POP PUSH1 0x0 PUSH1 0x4 DUP1 SLOAD SWAP1 POP SWAP1 POP PUSH1 0x0 JUMPDEST DUP2 DUP2 LT ISZERO PUSH3 0x714 JUMPI PUSH1 0x0 PUSH1 0x4 DUP3 DUP2 SLOAD DUP2 LT PUSH3 0x471 JUMPI INVALID JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP PUSH1 0x2 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xB3596F07 DUP3 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x528 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH3 0x53D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH3 0x554 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH1 0x5 PUSH1 0x0 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x3E150141 DUP4 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH2 0x100 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH3 0x635 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH3 0x64A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH2 0x100 DUP2 LT ISZERO PUSH3 0x662 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP POP POP POP POP POP SWAP3 POP POP POP DUP1 PUSH1 0x6 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 DUP2 SWAP1 SSTORE POP POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH3 0x458 JUMP JUMPDEST POP POP PUSH3 0x7E8 JUMP JUMPDEST DUP3 DUP1 SLOAD DUP3 DUP3 SSTORE SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 SWAP1 DUP2 ADD SWAP3 DUP3 ISZERO PUSH3 0x798 JUMPI SWAP2 PUSH1 0x20 MUL DUP3 ADD JUMPDEST DUP3 DUP2 GT ISZERO PUSH3 0x797 JUMPI DUP3 MLOAD DUP3 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP SWAP2 PUSH1 0x20 ADD SWAP2 SWAP1 PUSH1 0x1 ADD SWAP1 PUSH3 0x73D JUMP JUMPDEST JUMPDEST POP SWAP1 POP PUSH3 0x7A7 SWAP2 SWAP1 PUSH3 0x7AB JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST JUMPDEST DUP1 DUP3 GT ISZERO PUSH3 0x7E4 JUMPI PUSH1 0x0 DUP2 DUP2 PUSH2 0x100 EXP DUP2 SLOAD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 SSTORE POP PUSH1 0x1 ADD PUSH3 0x7AC JUMP JUMPDEST POP SWAP1 JUMP JUMPDEST PUSH2 0x1D61 DUP1 PUSH3 0x7F8 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x88 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6F09E716 GT PUSH2 0x5B JUMPI DUP1 PUSH4 0x6F09E716 EQ PUSH2 0x21E JUMPI DUP1 PUSH4 0x920F5C84 EQ PUSH2 0x2B6 JUMPI DUP1 PUSH4 0xB4DCFC77 EQ PUSH2 0x464 JUMPI DUP1 PUSH4 0xF586C6D9 EQ PUSH2 0x498 JUMPI PUSH2 0x88 JUMP JUMPDEST DUP1 PUSH4 0x1FE728D EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x542975C EQ PUSH2 0x116 JUMPI DUP1 PUSH4 0x616B08AF EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0x68A4025C EQ PUSH2 0x1A2 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x60 DUP2 LT ISZERO PUSH2 0xA3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x4CC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x11E PUSH2 0x68A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x18C PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x160 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x6A6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1E4 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x7F0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP4 POP POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2B4 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0x234 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0xAB7 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x44C PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0x2CC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x2E9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x2FB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x20 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x31D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP2 SWAP3 SWAP4 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x33E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x350 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x20 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x372 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP2 SWAP3 SWAP4 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x393 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x3A5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x20 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x3C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP2 SWAP3 SWAP4 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x408 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x41A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x43C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP2 SWAP3 SWAP4 SWAP1 POP POP POP PUSH2 0xED5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x46C PUSH2 0x18E5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x4A0 PUSH2 0x190F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x2A SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x85E2C5B DUP9 DUP8 DUP10 PUSH1 0x1 PUSH1 0x0 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP6 POP POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x597 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5AB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x5D5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD PUSH1 0x40 MLOAD SWAP4 SWAP3 SWAP2 SWAP1 DUP5 PUSH5 0x100000000 DUP3 GT ISZERO PUSH2 0x5FF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP3 ADD DUP6 DUP2 GT ISZERO PUSH2 0x615 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD DUP7 PUSH1 0x20 DUP3 MUL DUP4 ADD GT PUSH5 0x100000000 DUP3 GT OR ISZERO PUSH2 0x632 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP3 POP POP POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x669 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x64E JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD PUSH1 0x40 MSTORE POP POP POP POP SWAP1 POP DUP1 PUSH1 0x0 SWAP4 POP SWAP4 POP POP POP SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xBF92857C DUP12 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH2 0x100 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x73E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x752 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH2 0x100 DUP2 LT ISZERO PUSH2 0x769 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP8 POP SWAP8 POP SWAP8 POP SWAP8 POP SWAP8 POP SWAP8 POP SWAP8 POP SWAP8 POP PUSH7 0x2386F26FC10000 DUP2 DUP2 PUSH2 0x7E0 JUMPI INVALID JUMPDEST DIV SWAP9 POP POP POP POP POP POP POP POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x4 DUP1 SLOAD SWAP1 POP SWAP1 POP PUSH1 0x0 DUP1 DUP1 PUSH1 0x0 SWAP1 POP JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xA64 JUMPI PUSH1 0x0 PUSH1 0x4 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x81E JUMPI INVALID JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x28DD2D01 DUP5 DUP14 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH2 0x140 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x8F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x90A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH2 0x140 DUP2 LT ISZERO PUSH2 0x921 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP10 POP POP POP POP POP POP POP POP POP SWAP2 POP DUP1 ISZERO PUSH2 0xA56 JUMPI PUSH1 0x0 PUSH2 0x9F3 PUSH1 0x5 PUSH1 0x0 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x2 DUP6 DUP2 PUSH2 0x9ED JUMPI INVALID JUMPDEST DIV PUSH2 0x19AB JUMP JUMPDEST SWAP1 POP PUSH1 0x64 DUP1 PUSH1 0x6 PUSH1 0x0 DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SUB DUP3 MUL DUP2 PUSH2 0xA42 JUMPI INVALID JUMPDEST DIV SWAP1 POP DUP7 DUP2 GT ISZERO PUSH2 0xA54 JUMPI DUP1 SWAP7 POP DUP4 SWAP6 POP JUMPDEST POP JUMPDEST POP POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x807 JUMP JUMPDEST POP DUP1 DUP3 PUSH1 0x6 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP6 POP SWAP6 POP SWAP6 POP POP POP POP SWAP2 SWAP4 SWAP1 SWAP3 POP JUMP JUMPDEST PUSH1 0x0 ADDRESS SWAP1 POP PUSH1 0x60 DUP7 DUP7 DUP7 DUP7 DUP7 PUSH1 0x40 MLOAD PUSH1 0x20 ADD DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP6 POP POP POP POP POP POP PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP1 POP PUSH1 0x60 PUSH1 0x1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0xB5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xB8B JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP DUP5 DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0xB9C JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP PUSH1 0x60 PUSH1 0x1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0xBF0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xC1F JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP DUP5 DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0xC30 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 DUP2 MSTORE POP POP PUSH1 0x60 PUSH1 0x2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0xC56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xC85 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0xC97 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 DUP2 MSTORE POP POP PUSH2 0xCAD PUSH1 0x0 PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAB9C4B5D DUP7 DUP6 DUP6 DUP6 DUP11 DUP11 PUSH1 0x0 PUSH1 0x40 MLOAD DUP9 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP9 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP7 DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 SUB DUP6 MSTORE DUP12 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xD8F JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xD74 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD DUP6 DUP2 SUB DUP5 MSTORE DUP11 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xDD1 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xDB6 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD DUP6 DUP2 SUB DUP4 MSTORE DUP10 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xE13 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xDF8 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD DUP6 DUP2 SUB DUP3 MSTORE DUP8 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xE52 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xE37 JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0xE7F JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP12 POP POP POP POP POP POP POP POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEA7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xEBB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH2 0xEC9 PUSH1 0x1 PUSH2 0x1A06 JUMP JUMPDEST POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xEE1 PUSH1 0xA PUSH2 0x1A06 JUMP JUMPDEST ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xF82 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0xE DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x7774662069732063616C6C696E67000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP8 DUP8 PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0xF9A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP5 POP SWAP5 POP SWAP5 POP SWAP5 POP SWAP5 POP PUSH2 0x1029 PUSH1 0x14 PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x85E2C5B DUP8 DUP7 DUP9 PUSH1 0x1 PUSH1 0x0 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP6 POP POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x10EC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1100 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x112A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD PUSH1 0x40 MLOAD SWAP4 SWAP3 SWAP2 SWAP1 DUP5 PUSH5 0x100000000 DUP3 GT ISZERO PUSH2 0x1154 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP3 ADD DUP6 DUP2 GT ISZERO PUSH2 0x116A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD DUP7 PUSH1 0x20 DUP3 MUL DUP4 ADD GT PUSH5 0x100000000 DUP3 GT OR ISZERO PUSH2 0x1187 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP3 POP POP POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x11BE JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x11A3 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD PUSH1 0x40 MSTORE POP POP POP SWAP2 POP SWAP2 POP PUSH2 0x11D9 PUSH1 0x1E PUSH2 0x1A06 JUMP JUMPDEST DUP3 DUP3 LT ISZERO PUSH2 0x123C JUMPI PUSH2 0x11EB PUSH1 0x28 PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x1D08 PUSH1 0x24 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1246 PUSH1 0x32 PUSH2 0x1A06 JUMP JUMPDEST DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP6 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x12D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x12ED JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1303 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x1386 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x1A DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x6C69717569646174696F6E20417070726F76616C206572726F72000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1390 PUSH1 0x3C PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH3 0xA718A9 DUP8 DUP7 DUP11 DUP8 PUSH1 0x0 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP6 POP POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1469 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x147D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH2 0x148B PUSH1 0x46 PUSH2 0x1A06 JUMP JUMPDEST DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP8 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x151C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1530 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1546 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x15C9 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x14 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x31696E636820617070726F76616C206572726F72000000000000000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x15D3 PUSH1 0x50 PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xE2A7515E DUP8 DUP7 DUP9 DUP8 DUP7 PUSH1 0x0 PUSH1 0x40 MLOAD DUP8 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP5 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x16B2 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x1697 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD SWAP8 POP POP POP POP POP POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x16DC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x16F0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1706 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP POP PUSH2 0x1722 PUSH1 0x5A PUSH2 0x1A06 JUMP JUMPDEST POP POP POP POP POP POP POP DUP10 DUP10 PUSH1 0x0 DUP2 DUP2 LT PUSH2 0x1736 JUMPI INVALID JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x17CA DUP10 DUP10 PUSH1 0x0 DUP2 DUP2 LT PUSH2 0x17A1 JUMPI INVALID JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD DUP13 DUP13 PUSH1 0x0 DUP2 DUP2 LT PUSH2 0x17B5 JUMPI INVALID JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD PUSH2 0x1A9F SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x181D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1831 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1847 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x18CA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x18 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x666C6173686C6F616E20617070726F76616C206572726F720000000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x18D4 PUSH1 0x64 PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x1 SWAP1 POP SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0x24A42FD28C976A61DF5D00D0599C34C4F90748C8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x261BF8B PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x196B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x197F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1995 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19FE PUSH8 0xDE0B6B3A7640000 PUSH2 0x19F0 PUSH2 0x19CF DUP6 DUP8 PUSH2 0x1B27 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH1 0x2 PUSH8 0xDE0B6B3A7640000 DUP2 PUSH2 0x19E1 JUMPI INVALID JUMPDEST DIV PUSH2 0x1A9F SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH2 0x1BAD SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1A9C DUP2 PUSH1 0x40 MLOAD PUSH1 0x24 ADD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE PUSH32 0xF5B1BBA900000000000000000000000000000000000000000000000000000000 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 DUP4 AND OR DUP4 MSTORE POP POP POP POP PUSH2 0x1BF7 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 DUP5 ADD SWAP1 POP DUP4 DUP2 LT ISZERO PUSH2 0x1B1D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x1B DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x536166654D6174683A206164646974696F6E206F766572666C6F770000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 EQ ISZERO PUSH2 0x1B3A JUMPI PUSH1 0x0 SWAP1 POP PUSH2 0x1BA7 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP5 MUL SWAP1 POP DUP3 DUP5 DUP3 DUP2 PUSH2 0x1B4B JUMPI INVALID JUMPDEST DIV EQ PUSH2 0x1BA2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x21 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x1CE7 PUSH1 0x21 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 SWAP2 POP POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1BEF DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1A DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x536166654D6174683A206469766973696F6E206279207A65726F000000000000 DUP2 MSTORE POP PUSH2 0x1C20 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH1 0x0 PUSH11 0x636F6E736F6C652E6C6F67 SWAP1 POP PUSH1 0x20 DUP4 ADD PUSH1 0x0 DUP1 DUP5 DUP4 DUP6 GAS STATICCALL POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 GT DUP3 SWAP1 PUSH2 0x1CCC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP4 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1C91 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x1C76 JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0x1CBE JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP PUSH1 0x0 DUP4 DUP6 DUP2 PUSH2 0x1CD8 JUMPI INVALID JUMPDEST DIV SWAP1 POP DUP1 SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP INVALID MSTORE8 PUSH2 0x6665 0x4D PUSH2 0x7468 GASPRICE KECCAK256 PUSH14 0x756C7469706C69636174696F6E20 PUSH16 0x766572666C6F776E6F7420656E6F7567 PUSH9 0x20646562742066726F PUSH14 0x20636F6C6C61746572616C207361 PUSH13 0x65A26469706673582212204ED7 JUMPDEST 0xB9 SWAP16 SMOD REVERT SWAP9 0xE4 CALLVALUE EXTCODESIZE SWAP8 PUSH9 0x7C92854F74B9D45C49 0xC3 0xAD 0xBE 0xCC 0xBA 0xEC 0xF7 PUSH23 0x71F464736F6C634300060C003300000000000000000000 ", | |
"sourceMap": "604:7709:1:-:0;;;783:42;831:43;;;;;;;;;;;;;;;;;;;;1574:729;;;;;;;;;;932:42;1628:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1605:5;;:61;;;;;;;;;;;;;;;;;;932:42;1699:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1676:5;;:61;;;;;;;;;;;;;;;;;;1162:42;1779:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1756:5;;:61;;;;;;;;;;;;;;;;;;1847:5;;;;;;;;;;;:17;;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1836:8;:30;;;;;;;;;;;;:::i;:::-;;1876:18;1897:8;:15;;;;1876:36;;1928:6;1923:374;1944:13;1940:1;:17;1923:374;;;1980:24;2007:8;2016:1;2007:11;;;;;;;;;;;;;;;;;;;;;;;;;1980:38;;2068:5;;;;;;;;;;;:19;;;2088:16;2068:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2032:15;:33;2048:16;2032:33;;;;;;;;;;;;;;;:73;;;;2124:24;2162:5;;;;;;;;;;;:33;;;2196:16;2162:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2119:94;;;;;;;;;2270:16;2227:22;:40;2250:16;2227:40;;;;;;;;;;;;;;;:59;;;;1923:374;;1963:1;1959:5;;;;1923:374;;;;1574:729;604:7709;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b50600436106100885760003560e01c80636f09e7161161005b5780636f09e7161461021e578063920f5c84146102b6578063b4dcfc7714610464578063f586c6d91461049857610088565b806301fe728d1461008d5780630542975c14610116578063616b08af1461014a57806368a4025c146101a2575b600080fd5b6100f9600480360360608110156100a357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104cc565b604051808381526020018281526020019250505060405180910390f35b61011e61068a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61018c6004803603602081101561016057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106a6565b6040518082815260200191505060405180910390f35b6101e4600480360360208110156101b857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107f0565b604051808473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390f35b6102b4600480360360a081101561023457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ab7565b005b61044c600480360360a08110156102cc57600080fd5b81019080803590602001906401000000008111156102e957600080fd5b8201836020820111156102fb57600080fd5b8035906020019184602083028401116401000000008311171561031d57600080fd5b90919293919293908035906020019064010000000081111561033e57600080fd5b82018360208201111561035057600080fd5b8035906020019184602083028401116401000000008311171561037257600080fd5b90919293919293908035906020019064010000000081111561039357600080fd5b8201836020820111156103a557600080fd5b803590602001918460208302840111640100000000831117156103c757600080fd5b9091929391929390803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561040857600080fd5b82018360208201111561041a57600080fd5b8035906020019184600183028401116401000000008311171561043c57600080fd5b9091929391929390505050610ed5565b60405180821515815260200191505060405180910390f35b61046c6118e5565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104a061190f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6000806000602a905060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663085e2c5b888789600160006040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018281526020019550505050505060006040518083038186803b15801561059757600080fd5b505afa1580156105ab573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525060408110156105d557600080fd5b8101908080519060200190929190805160405193929190846401000000008211156105ff57600080fd5b8382019150602082018581111561061557600080fd5b825186602082028301116401000000008211171561063257600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561066957808201518184015260208101905061064e565b50505050905001604052505050509050806000935093505050935093915050565b600073b53c1a33016b2dc2ff3653530bff1848a515c8c5905090565b6000806000806000806000806000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bf92857c8b6040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1681526020019150506101006040518083038186803b15801561073e57600080fd5b505afa158015610752573d6000803e3d6000fd5b505050506040513d61010081101561076957600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919050505097509750975097509750975097509750662386f26fc1000081816107e057fe5b0498505050505050505050919050565b600080600080600480549050905060008080600090505b83811015610a645760006004828154811061081e57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166328dd2d01848d6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff168152602001925050506101406040518083038186803b1580156108f657600080fd5b505afa15801561090a573d6000803e3d6000fd5b505050506040513d61014081101561092157600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291905050509950505050505050505091508015610a565760006109f3600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600285816109ed57fe5b046119ab565b9050606480600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403820281610a4257fe5b04905086811115610a54578096508395505b505b505050600181019050610807565b508082600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549550955095505050509193909250565b600030905060608686868686604051602001808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019550505050505060405160208183030381529060405290506060600167ffffffffffffffff81118015610b5c57600080fd5b50604051908082528060200260200182016040528015610b8b5781602001602082028036833780820191505090505b5090508481600081518110610b9c57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506060600167ffffffffffffffff81118015610bf057600080fd5b50604051908082528060200260200182016040528015610c1f5781602001602082028036833780820191505090505b5090508481600081518110610c3057fe5b6020026020010181815250506060600267ffffffffffffffff81118015610c5657600080fd5b50604051908082528060200260200182016040528015610c855781602001602082028036833780820191505090505b509050600081600081518110610c9757fe5b602002602001018181525050610cad6000611a06565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ab9c4b5d868585858a8a60006040518863ffffffff1660e01b8152600401808873ffffffffffffffffffffffffffffffffffffffff1681526020018060200180602001806020018773ffffffffffffffffffffffffffffffffffffffff1681526020018060200186815260200185810385528b818151815260200191508051906020019060200280838360005b83811015610d8f578082015181840152602081019050610d74565b5050505090500185810384528a818151815260200191508051906020019060200280838360005b83811015610dd1578082015181840152602081019050610db6565b50505050905001858103835289818151815260200191508051906020019060200280838360005b83811015610e13578082015181840152602081019050610df8565b50505050905001858103825287818151815260200191508051906020019080838360005b83811015610e52578082015181840152602081019050610e37565b50505050905090810190601f168015610e7f5780820380516001836020036101000a031916815260200191505b509b505050505050505050505050600060405180830381600087803b158015610ea757600080fd5b505af1158015610ebb573d6000803e3d6000fd5b50505050610ec96001611a06565b50505050505050505050565b6000610ee1600a611a06565b3073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610f82576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f7774662069732063616c6c696e6700000000000000000000000000000000000081525060200191505060405180910390fd5b6000806000806000878760a0811015610f9a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050945094509450945094506110296014611a06565b6000606060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663085e2c5b878688600160006040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018281526020019550505050505060006040518083038186803b1580156110ec57600080fd5b505afa158015611100573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250604081101561112a57600080fd5b81019080805190602001909291908051604051939291908464010000000082111561115457600080fd5b8382019150602082018581111561116a57600080fd5b825186602082028301116401000000008211171561118757600080fd5b8083526020830192505050908051906020019060200280838360005b838110156111be5780820151818401526020810190506111a3565b50505050905001604052505050915091506111d9601e611a06565b8282101561123c576111eb6028611a06565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180611d086024913960400191505060405180910390fd5b6112466032611a06565b8373ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16856040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156112d957600080fd5b505af11580156112ed573d6000803e3d6000fd5b505050506040513d602081101561130357600080fd5b8101908080519060200190929190505050611386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f6c69717569646174696f6e20417070726f76616c206572726f7200000000000081525060200191505060405180910390fd5b611390603c611a06565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1662a718a987868a8760006040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001821515815260200195505050505050600060405180830381600087803b15801561146957600080fd5b505af115801561147d573d6000803e3d6000fd5b5050505061148b6046611a06565b8573ffffffffffffffffffffffffffffffffffffffff1663095ea7b360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561151c57600080fd5b505af1158015611530573d6000803e3d6000fd5b505050506040513d602081101561154657600080fd5b81019080805190602001909291905050506115c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f31696e636820617070726f76616c206572726f7200000000000000000000000081525060200191505060405180910390fd5b6115d36050611a06565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e2a7515e878688878660006040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200180602001838152602001828103825284818151815260200191508051906020019060200280838360005b838110156116b2578082015181840152602081019050611697565b50505050905001975050505050505050602060405180830381600087803b1580156116dc57600080fd5b505af11580156116f0573d6000803e3d6000fd5b505050506040513d602081101561170657600080fd5b810190808051906020019092919050505050611722605a611a06565b505050505050508989600081811061173657fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166117ca898960008181106117a157fe5b905060200201358c8c60008181106117b557fe5b90506020020135611a9f90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561181d57600080fd5b505af1158015611831573d6000803e3d6000fd5b505050506040513d602081101561184757600080fd5b81019080805190602001909291905050506118ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f666c6173686c6f616e20617070726f76616c206572726f72000000000000000081525060200191505060405180910390fd5b6118d46064611a06565b600190509998505050505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60007324a42fd28c976a61df5d00d0599c34c4f90748c873ffffffffffffffffffffffffffffffffffffffff16630261bf8b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561196b57600080fd5b505afa15801561197f573d6000803e3d6000fd5b505050506040513d602081101561199557600080fd5b8101908080519060200190929190505050905090565b60006119fe670de0b6b3a76400006119f06119cf8587611b2790919063ffffffff16565b6002670de0b6b3a7640000816119e157fe5b04611a9f90919063ffffffff16565b611bad90919063ffffffff16565b905092915050565b611a9c81604051602401808281526020019150506040516020818303038152906040527ff5b1bba9000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611bf7565b50565b600080828401905083811015611b1d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611b3a5760009050611ba7565b6000828402905082848281611b4b57fe5b0414611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180611ce76021913960400191505060405180910390fd5b809150505b92915050565b6000611bef83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611c20565b905092915050565b60008151905060006a636f6e736f6c652e6c6f679050602083016000808483855afa5050505050565b60008083118290611ccc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c91578082015181840152602081019050611c76565b50505050905090810190601f168015611cbe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611cd857fe5b04905080915050939250505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f776e6f7420656e6f75676820646562742066726f6d20636f6c6c61746572616c2073616c65a26469706673582212204ed75bb99f07fd98e4343b97687c92854f74b9d45c49c3adbeccbaecf77671f464736f6c634300060c0033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x88 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x6F09E716 GT PUSH2 0x5B JUMPI DUP1 PUSH4 0x6F09E716 EQ PUSH2 0x21E JUMPI DUP1 PUSH4 0x920F5C84 EQ PUSH2 0x2B6 JUMPI DUP1 PUSH4 0xB4DCFC77 EQ PUSH2 0x464 JUMPI DUP1 PUSH4 0xF586C6D9 EQ PUSH2 0x498 JUMPI PUSH2 0x88 JUMP JUMPDEST DUP1 PUSH4 0x1FE728D EQ PUSH2 0x8D JUMPI DUP1 PUSH4 0x542975C EQ PUSH2 0x116 JUMPI DUP1 PUSH4 0x616B08AF EQ PUSH2 0x14A JUMPI DUP1 PUSH4 0x68A4025C EQ PUSH2 0x1A2 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0xF9 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x60 DUP2 LT ISZERO PUSH2 0xA3 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x4CC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x11E PUSH2 0x68A JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x18C PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x160 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x6A6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x1E4 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1B8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x7F0 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP4 POP POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x2B4 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0x234 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0xAB7 JUMP JUMPDEST STOP JUMPDEST PUSH2 0x44C PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0x2CC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x2E9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x2FB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x20 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x31D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP2 SWAP3 SWAP4 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x33E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x350 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x20 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x372 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP2 SWAP3 SWAP4 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x393 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x3A5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x20 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x3C7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP2 SWAP3 SWAP4 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH5 0x100000000 DUP2 GT ISZERO PUSH2 0x408 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 ADD DUP4 PUSH1 0x20 DUP3 ADD GT ISZERO PUSH2 0x41A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP2 DUP5 PUSH1 0x1 DUP4 MUL DUP5 ADD GT PUSH5 0x100000000 DUP4 GT OR ISZERO PUSH2 0x43C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST SWAP1 SWAP2 SWAP3 SWAP4 SWAP2 SWAP3 SWAP4 SWAP1 POP POP POP PUSH2 0xED5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x46C PUSH2 0x18E5 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x4A0 PUSH2 0x190F JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x2A SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x85E2C5B DUP9 DUP8 DUP10 PUSH1 0x1 PUSH1 0x0 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP6 POP POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x597 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x5AB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x5D5 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD PUSH1 0x40 MLOAD SWAP4 SWAP3 SWAP2 SWAP1 DUP5 PUSH5 0x100000000 DUP3 GT ISZERO PUSH2 0x5FF JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP3 ADD DUP6 DUP2 GT ISZERO PUSH2 0x615 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD DUP7 PUSH1 0x20 DUP3 MUL DUP4 ADD GT PUSH5 0x100000000 DUP3 GT OR ISZERO PUSH2 0x632 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP3 POP POP POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x669 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x64E JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD PUSH1 0x40 MSTORE POP POP POP POP SWAP1 POP DUP1 PUSH1 0x0 SWAP4 POP SWAP4 POP POP POP SWAP4 POP SWAP4 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xB53C1A33016B2DC2FF3653530BFF1848A515C8C5 SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xBF92857C DUP12 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH2 0x100 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x73E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x752 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH2 0x100 DUP2 LT ISZERO PUSH2 0x769 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP8 POP SWAP8 POP SWAP8 POP SWAP8 POP SWAP8 POP SWAP8 POP SWAP8 POP SWAP8 POP PUSH7 0x2386F26FC10000 DUP2 DUP2 PUSH2 0x7E0 JUMPI INVALID JUMPDEST DIV SWAP9 POP POP POP POP POP POP POP POP POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x4 DUP1 SLOAD SWAP1 POP SWAP1 POP PUSH1 0x0 DUP1 DUP1 PUSH1 0x0 SWAP1 POP JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xA64 JUMPI PUSH1 0x0 PUSH1 0x4 DUP3 DUP2 SLOAD DUP2 LT PUSH2 0x81E JUMPI INVALID JUMPDEST SWAP1 PUSH1 0x0 MSTORE PUSH1 0x20 PUSH1 0x0 KECCAK256 ADD PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP PUSH1 0x0 DUP1 PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x28DD2D01 DUP5 DUP14 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH2 0x140 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x8F6 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x90A JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH2 0x140 DUP2 LT ISZERO PUSH2 0x921 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP10 POP POP POP POP POP POP POP POP POP SWAP2 POP DUP1 ISZERO PUSH2 0xA56 JUMPI PUSH1 0x0 PUSH2 0x9F3 PUSH1 0x5 PUSH1 0x0 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD PUSH1 0x2 DUP6 DUP2 PUSH2 0x9ED JUMPI INVALID JUMPDEST DIV PUSH2 0x19AB JUMP JUMPDEST SWAP1 POP PUSH1 0x64 DUP1 PUSH1 0x6 PUSH1 0x0 DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SUB DUP3 MUL DUP2 PUSH2 0xA42 JUMPI INVALID JUMPDEST DIV SWAP1 POP DUP7 DUP2 GT ISZERO PUSH2 0xA54 JUMPI DUP1 SWAP7 POP DUP4 SWAP6 POP JUMPDEST POP JUMPDEST POP POP POP PUSH1 0x1 DUP2 ADD SWAP1 POP PUSH2 0x807 JUMP JUMPDEST POP DUP1 DUP3 PUSH1 0x6 PUSH1 0x0 DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP1 DUP2 MSTORE PUSH1 0x20 ADD PUSH1 0x0 KECCAK256 SLOAD SWAP6 POP SWAP6 POP SWAP6 POP POP POP POP SWAP2 SWAP4 SWAP1 SWAP3 POP JUMP JUMPDEST PUSH1 0x0 ADDRESS SWAP1 POP PUSH1 0x60 DUP7 DUP7 DUP7 DUP7 DUP7 PUSH1 0x40 MLOAD PUSH1 0x20 ADD DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP6 POP POP POP POP POP POP PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE SWAP1 POP PUSH1 0x60 PUSH1 0x1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0xB5C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xB8B JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP DUP5 DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0xB9C JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP PUSH1 0x60 PUSH1 0x1 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0xBF0 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xC1F JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP DUP5 DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0xC30 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 DUP2 MSTORE POP POP PUSH1 0x60 PUSH1 0x2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0xC56 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0xC85 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0xC97 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD DUP2 DUP2 MSTORE POP POP PUSH2 0xCAD PUSH1 0x0 PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAB9C4B5D DUP7 DUP6 DUP6 DUP6 DUP11 DUP11 PUSH1 0x0 PUSH1 0x40 MLOAD DUP9 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP9 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP7 DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 SUB DUP6 MSTORE DUP12 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xD8F JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xD74 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD DUP6 DUP2 SUB DUP5 MSTORE DUP11 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xDD1 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xDB6 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD DUP6 DUP2 SUB DUP4 MSTORE DUP10 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xE13 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xDF8 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD DUP6 DUP2 SUB DUP3 MSTORE DUP8 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0xE52 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xE37 JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0xE7F JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP12 POP POP POP POP POP POP POP POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0xEA7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0xEBB JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH2 0xEC9 PUSH1 0x1 PUSH2 0x1A06 JUMP JUMPDEST POP POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0xEE1 PUSH1 0xA PUSH2 0x1A06 JUMP JUMPDEST ADDRESS PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0xF82 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0xE DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x7774662069732063616C6C696E67000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 DUP1 PUSH1 0x0 DUP8 DUP8 PUSH1 0xA0 DUP2 LT ISZERO PUSH2 0xF9A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP5 POP SWAP5 POP SWAP5 POP SWAP5 POP SWAP5 POP PUSH2 0x1029 PUSH1 0x14 PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x0 PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x85E2C5B DUP8 DUP7 DUP9 PUSH1 0x1 PUSH1 0x0 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP6 POP POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x10EC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x1100 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH1 0x40 DUP2 LT ISZERO PUSH2 0x112A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 DUP1 MLOAD PUSH1 0x40 MLOAD SWAP4 SWAP3 SWAP2 SWAP1 DUP5 PUSH5 0x100000000 DUP3 GT ISZERO PUSH2 0x1154 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP3 ADD DUP6 DUP2 GT ISZERO PUSH2 0x116A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD DUP7 PUSH1 0x20 DUP3 MUL DUP4 ADD GT PUSH5 0x100000000 DUP3 GT OR ISZERO PUSH2 0x1187 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP3 POP POP POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x11BE JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x11A3 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD PUSH1 0x40 MSTORE POP POP POP SWAP2 POP SWAP2 POP PUSH2 0x11D9 PUSH1 0x1E PUSH2 0x1A06 JUMP JUMPDEST DUP3 DUP3 LT ISZERO PUSH2 0x123C JUMPI PUSH2 0x11EB PUSH1 0x28 PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x24 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x1D08 PUSH1 0x24 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1246 PUSH1 0x32 PUSH2 0x1A06 JUMP JUMPDEST DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP6 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x12D9 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x12ED JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1303 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x1386 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x1A DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x6C69717569646174696F6E20417070726F76616C206572726F72000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x1390 PUSH1 0x3C PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH3 0xA718A9 DUP8 DUP7 DUP11 DUP8 PUSH1 0x0 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 ISZERO ISZERO DUP2 MSTORE PUSH1 0x20 ADD SWAP6 POP POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x1469 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x147D JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH2 0x148B PUSH1 0x46 PUSH2 0x1A06 JUMP JUMPDEST DUP6 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP8 PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x151C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1530 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1546 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x15C9 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x14 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x31696E636820617070726F76616C206572726F72000000000000000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x15D3 PUSH1 0x50 PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xE2A7515E DUP8 DUP7 DUP9 DUP8 DUP7 PUSH1 0x0 PUSH1 0x40 MLOAD DUP8 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP7 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP6 DUP2 MSTORE PUSH1 0x20 ADD DUP5 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP5 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x16B2 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x1697 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD SWAP8 POP POP POP POP POP POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x16DC JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x16F0 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1706 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP POP PUSH2 0x1722 PUSH1 0x5A PUSH2 0x1A06 JUMP JUMPDEST POP POP POP POP POP POP POP DUP10 DUP10 PUSH1 0x0 DUP2 DUP2 LT PUSH2 0x1736 JUMPI INVALID JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x95EA7B3 PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH2 0x17CA DUP10 DUP10 PUSH1 0x0 DUP2 DUP2 LT PUSH2 0x17A1 JUMPI INVALID JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD DUP13 DUP13 PUSH1 0x0 DUP2 DUP2 LT PUSH2 0x17B5 JUMPI INVALID JUMPDEST SWAP1 POP PUSH1 0x20 MUL ADD CALLDATALOAD PUSH2 0x1A9F SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP3 POP POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 PUSH1 0x0 DUP8 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x181D JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x1831 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1847 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x18CA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x18 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x666C6173686C6F616E20617070726F76616C206572726F720000000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST PUSH2 0x18D4 PUSH1 0x64 PUSH2 0x1A06 JUMP JUMPDEST PUSH1 0x1 SWAP1 POP SWAP10 SWAP9 POP POP POP POP POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x3 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH20 0x24A42FD28C976A61DF5D00D0599C34C4F90748C8 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x261BF8B PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x196B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x197F JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x1995 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 PUSH2 0x19FE PUSH8 0xDE0B6B3A7640000 PUSH2 0x19F0 PUSH2 0x19CF DUP6 DUP8 PUSH2 0x1B27 SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH1 0x2 PUSH8 0xDE0B6B3A7640000 DUP2 PUSH2 0x19E1 JUMPI INVALID JUMPDEST DIV PUSH2 0x1A9F SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST PUSH2 0x1BAD SWAP1 SWAP2 SWAP1 PUSH4 0xFFFFFFFF AND JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x1A9C DUP2 PUSH1 0x40 MLOAD PUSH1 0x24 ADD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD PUSH1 0x20 DUP2 DUP4 SUB SUB DUP2 MSTORE SWAP1 PUSH1 0x40 MSTORE PUSH32 0xF5B1BBA900000000000000000000000000000000000000000000000000000000 PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF NOT AND PUSH1 0x20 DUP3 ADD DUP1 MLOAD PUSH28 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP4 DUP2 DUP4 AND OR DUP4 MSTORE POP POP POP POP PUSH2 0x1BF7 JUMP JUMPDEST POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP3 DUP5 ADD SWAP1 POP DUP4 DUP2 LT ISZERO PUSH2 0x1B1D JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x1B DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x536166654D6174683A206164646974696F6E206F766572666C6F770000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 EQ ISZERO PUSH2 0x1B3A JUMPI PUSH1 0x0 SWAP1 POP PUSH2 0x1BA7 JUMP JUMPDEST PUSH1 0x0 DUP3 DUP5 MUL SWAP1 POP DUP3 DUP5 DUP3 DUP2 PUSH2 0x1B4B JUMPI INVALID JUMPDEST DIV EQ PUSH2 0x1BA2 JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0x21 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH2 0x1CE7 PUSH1 0x21 SWAP2 CODECOPY PUSH1 0x40 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 SWAP2 POP POP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x1BEF DUP4 DUP4 PUSH1 0x40 MLOAD DUP1 PUSH1 0x40 ADD PUSH1 0x40 MSTORE DUP1 PUSH1 0x1A DUP2 MSTORE PUSH1 0x20 ADD PUSH32 0x536166654D6174683A206469766973696F6E206279207A65726F000000000000 DUP2 MSTORE POP PUSH2 0x1C20 JUMP JUMPDEST SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 MLOAD SWAP1 POP PUSH1 0x0 PUSH11 0x636F6E736F6C652E6C6F67 SWAP1 POP PUSH1 0x20 DUP4 ADD PUSH1 0x0 DUP1 DUP5 DUP4 DUP6 GAS STATICCALL POP POP POP POP POP JUMP JUMPDEST PUSH1 0x0 DUP1 DUP4 GT DUP3 SWAP1 PUSH2 0x1CCC JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP4 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x1C91 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x1C76 JUMP JUMPDEST POP POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0x1CBE JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP PUSH1 0x0 DUP4 DUP6 DUP2 PUSH2 0x1CD8 JUMPI INVALID JUMPDEST DIV SWAP1 POP DUP1 SWAP2 POP POP SWAP4 SWAP3 POP POP POP JUMP INVALID MSTORE8 PUSH2 0x6665 0x4D PUSH2 0x7468 GASPRICE KECCAK256 PUSH14 0x756C7469706C69636174696F6E20 PUSH16 0x766572666C6F776E6F7420656E6F7567 PUSH9 0x20646562742066726F PUSH14 0x20636F6C6C61746572616C207361 PUSH13 0x65A26469706673582212204ED7 JUMPDEST 0xB9 SWAP16 SMOD REVERT SWAP9 0xE4 CALLVALUE EXTCODESIZE SWAP8 PUSH9 0x7C92854F74B9D45C49 0xC3 0xAD 0xBE 0xCC 0xBA 0xEC 0xF7 PUSH23 0x71F464736F6C634300060C003300000000000000000000 ", | |
"sourceMap": "604:7709:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4542:1054;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;2311:135;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2685:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3171:1361;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5606:724;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;6340:1967;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2450:97;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2558:117;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;4542:1054;4659:7;4668;5138:17;5158:2;5138:22;;5171:20;5197:7;;;;;;;;;;;:25;;;5230:10;5250:12;5265:17;5284:1;5287;5197:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5170:119;;;5307:12;5321:1;5299:24;;;;;;4542:1054;;;;;;:::o;2311:135::-;2373:31;1162:42;2414:27;;2311:135;:::o;2685:480::-;2747:7;2779:25;2818:26;2858:23;2895:20;2929:27;2970:35;3019:11;3044:20;3077:5;;;;;;;;;;;:24;;;3102:12;3077:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2766:349;;;;;;;;;;;;;;;;3148:8;3132:12;:25;;;;;;3125:32;;;;;;;;;;2685:480;;;:::o;3171:1361::-;3244:7;3253;3262;3281:18;3302:8;:15;;;;3281:36;;3336:18;3368:27;3419:6;3428:1;3419:10;;3414:692;3435:13;3431:1;:17;3414:692;;;3471:23;3497:8;3506:1;3497:11;;;;;;;;;;;;;;;;;;;;;;;;;3471:37;;3523:28;3569:29;3619:5;;;;;;;;;;;:24;;;3645:15;3662:12;3619:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3522:153;;;;;;;;;;;;3693:24;3689:407;;;3737:14;3754:77;3772:15;:32;3788:15;3772:32;;;;;;;;;;;;;;;;3829:1;3806:20;:24;;;;;;3754:17;:77::i;:::-;3737:94;;3917:3;3910;3868:22;:39;3891:15;3868:39;;;;;;;;;;;;;;;;:45;3858:6;:56;:62;;;;;;3849:71;;3951:10;3942:6;:19;3938:144;;;3998:6;3985:19;;4048:15;4026:37;;3938:144;3689:407;;3414:692;;;3454:1;3450:5;;;;3414:692;;;;4448:19;4469:10;4481:22;:43;4504:19;4481:43;;;;;;;;;;;;;;;;4440:85;;;;;;;;;3171:1361;;;;;:::o;5606:724::-;5758:23;5792:4;5758:39;;5807:19;5840:4;5846:10;5858:17;5877:4;5883:11;5829:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5807:88;;5914:23;5954:1;5940:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5914:42;;5986:4;5966:6;5973:1;5966:9;;;;;;;;;;;;;:25;;;;;;;;;;;6002:24;6043:1;6029:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6002:43;;6068:11;6055:7;6063:1;6055:10;;;;;;;;;;;;;:24;;;;;6098:22;6137:1;6123:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6098:41;;6160:1;6149:5;6155:1;6149:8;;;;;;;;;;;;;:12;;;;;6191:14;6203:1;6191:11;:14::i;:::-;6215:5;;;;;;;;;;;:15;;;6231;6248:6;6256:7;6265:5;6272:15;6289:6;6297:1;6215:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6309:14;6321:1;6309:11;:14::i;:::-;5606:724;;;;;;;;;;:::o;6340:1967::-;6589:4;6609:15;6621:2;6609:11;:15::i;:::-;6663:4;6642:26;;:9;:26;;;6634:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6712:12;6739:18;6759:25;6786:12;6800:19;6834:6;;6823:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6711:177;;;;;;;;;;6907:15;6919:2;6907:11;:15::i;:::-;6937:20;6959:29;6992:7;;;;;;;;;;:25;;;7025:10;7045:4;7052:17;7071:1;7074;6992:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6936:140;;;;7090:15;7102:2;7090:11;:15::i;:::-;7138:11;7123:12;:26;7119:144;;;7169:15;7181:2;7169:11;:15::i;:::-;7202:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7119:144;7281:15;7293:2;7281:11;:15::i;:::-;7325:4;7318:20;;;7347:5;;;;;;;;;;;7355:11;7318:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7310:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7412:15;7424:2;7412:11;:15::i;:::-;7441:5;;;;;;;;;;;:21;;;7463:10;7475:4;7481;7487:11;7500:5;7441:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7520:15;7532:2;7520:11;:15::i;:::-;7577:10;7570:26;;;7605:7;;;;;;;;;;7615:17;7570:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7562:96;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7672:15;7684:2;7672:11;:15::i;:::-;7701:7;;;;;;;;;;:12;;;7721:10;7741:4;7748:17;7767:11;7780:12;7794:1;7701:95;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7810:15;7822:2;7810:11;:15::i;:::-;6340:1967;;;;;;;7868:6;;7875:1;7868:9;;;;;;;;;;;;;;;7861:25;;;7895:5;;;;;;;;;;;7903:27;7918:8;;7927:1;7918:11;;;;;;;;;;;;;7903:7;;7911:1;7903:10;;;;;;;;;;;;;:14;;:27;;;;:::i;:::-;7861:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7853:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7970:16;7982:3;7970:11;:16::i;:::-;8296:4;8289:11;;6340:1967;;;;;;;;;;;:::o;2450:97::-;2506:14;2537:5;;;;;;;;;;;2530:12;;2450:97;:::o;2558:117::-;2605:7;932:42;2631:35;;;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2624:44;;2558:117;:::o;914:124:0:-;975:7;1001:30;375:4;1001:21;1013:8;1019:1;1013;:5;;:8;;;;:::i;:::-;427:1;375:4;421:7;;;;;;1001:11;;:21;;;;:::i;:::-;:25;;:30;;;;:::i;:::-;994:37;;914:124;;;;:::o;4950:101:2:-;4990:57;5043:2;5006:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4990:15;:57::i;:::-;4950:101;:::o;851:162:14:-;909:7;924:9;940:1;936;:5;924:17;;960:1;955;:6;;947:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1007:1;1000:8;;;851:162;;;;:::o;2058:419::-;2116:7;2346:1;2341;:6;2337:35;;;2364:1;2357:8;;;;2337:35;2378:9;2394:1;2390;:5;2378:17;;2418:1;2413;2409;:5;;;;;;:10;2401:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2471:1;2464:8;;;2058:419;;;;;:::o;2908:124::-;2966:7;2988:39;2992:1;2995;2988:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;2981:46;;2908:124;;;;:::o;176:288:2:-;240:21;264:7;:14;240:38;;282:22;129:42;282:40;;373:2;364:7;360:16;455:1;452;437:13;423:12;407:14;400:5;389:68;335:126;;;;;:::o;3483:332:14:-;3585:7;3674:1;3670;:5;3677:12;3662:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3696:9;3712:1;3708;:5;;;;;;3696:17;;3809:1;3802:8;;;3483:332;;;;;:::o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "1504200", | |
"executionCost": "infinite", | |
"totalCost": "infinite" | |
}, | |
"external": { | |
"ADDRESSES_PROVIDER()": "242", | |
"LENDING_POOL()": "1099", | |
"entryPoint(address,address,uint256,address,uint256)": "infinite", | |
"executeOperation(address[],uint256[],uint256[],address,bytes)": "infinite", | |
"getDebtInReturn(address,uint256,address)": "infinite", | |
"getHealth(address)": "infinite", | |
"getPoolAddress()": "infinite", | |
"getReserveToLiquidate(address)": "infinite" | |
} | |
}, | |
"methodIdentifiers": { | |
"ADDRESSES_PROVIDER()": "0542975c", | |
"LENDING_POOL()": "b4dcfc77", | |
"entryPoint(address,address,uint256,address,uint256)": "6f09e716", | |
"executeOperation(address[],uint256[],uint256[],address,bytes)": "920f5c84", | |
"getDebtInReturn(address,uint256,address)": "01fe728d", | |
"getHealth(address)": "616b08af", | |
"getPoolAddress()": "f586c6d9", | |
"getReserveToLiquidate(address)": "68a4025c" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "step", | |
"type": "uint256" | |
} | |
], | |
"name": "Log", | |
"type": "event" | |
}, | |
{ | |
"inputs": [], | |
"name": "ADDRESSES_PROVIDER", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolAddressesProviderV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "LENDING_POOL", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "collateral", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "collateral_amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "debt", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "debt_amount", | |
"type": "uint256" | |
} | |
], | |
"name": "entryPoint", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "assets", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "premiums", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "initiator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "params", | |
"type": "bytes" | |
} | |
], | |
"name": "executeOperation", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "collateral", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "collateral_amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "debt_address", | |
"type": "address" | |
} | |
], | |
"name": "getDebtInReturn", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user_address", | |
"type": "address" | |
} | |
], | |
"name": "getHealth", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getPoolAddress", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user_address", | |
"type": "address" | |
} | |
], | |
"name": "getReserveToLiquidate", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.6.12+commit.27d51765" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "step", | |
"type": "uint256" | |
} | |
], | |
"name": "Log", | |
"type": "event" | |
}, | |
{ | |
"inputs": [], | |
"name": "ADDRESSES_PROVIDER", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolAddressesProviderV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "LENDING_POOL", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "collateral", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "collateral_amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "debt", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "debt_amount", | |
"type": "uint256" | |
} | |
], | |
"name": "entryPoint", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "assets", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "premiums", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "initiator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "params", | |
"type": "bytes" | |
} | |
], | |
"name": "executeOperation", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "collateral", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "collateral_amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "debt_address", | |
"type": "address" | |
} | |
], | |
"name": "getDebtInReturn", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user_address", | |
"type": "address" | |
} | |
], | |
"name": "getHealth", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getPoolAddress", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "user_address", | |
"type": "address" | |
} | |
], | |
"name": "getReserveToLiquidate", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/aave.sol": "MainTest" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/WadRayMath.sol": { | |
"keccak256": "0x179318c7c49aeae77f9c2b584ea3b5f77448f4d3ed5462514ae41c723adfcfa7", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://02bd32e50008d292b5ef9e5a6958b102678bec644a758407f28af2a489424faa", | |
"dweb:/ipfs/QmQmDb1WBb5CTxFaFSD2sJMkVSrdYcZRYXo95ri3NM5PYR" | |
] | |
}, | |
"contracts/aave.sol": { | |
"keccak256": "0x68eb805713ac2ca4a67232ce143be443f154a656542aca6462fdd27b2a2927aa", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://c72787171af469c6e0996108a45eae4068173d85d055f41e40c0b1bba262257a", | |
"dweb:/ipfs/QmeNFR1CZTA6jMerbU7EAtHS5rPK6RujxeT6VKuKcVDNug" | |
] | |
}, | |
"contracts/console.sol": { | |
"keccak256": "0x72b6a1d297cd3b033d7c2e4a7e7864934bb767db6453623f1c3082c6534547f4", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://a8cb8681076e765c214e0d51cac989325f6b98e315eaae06ee0cbd5a9f084763", | |
"dweb:/ipfs/QmNWGHi4zmjxQTYN3NMGnJd49jBT5dE4bxTdWEaDuJrC6N" | |
] | |
}, | |
"contracts/interfaces/Address.sol": { | |
"keccak256": "0xae9b8afc6cd142453ed5560eca20d36f1c3fa6075c37ed142c2bee7736ba4da0", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://d0245c2424102543c1d3d084f288321643ef7b0d145b97d9236699bdfc76ebf7", | |
"dweb:/ipfs/QmZgfoVKiWda2k1tsS82bxAfis4rxfQcj9Cr66o7tra4sC" | |
] | |
}, | |
"contracts/interfaces/DataTypesV2.sol": { | |
"keccak256": "0x1b41fcfe8e376be15df0572c252ad82e0d07b30f60e60764ce0bebf2fc783dbc", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://36dbb464c791c95f72097e6cd299ce39408d3c3f93021d6b8e60f5acec1456d7", | |
"dweb:/ipfs/QmWAPrBfLAVqLeSFJ3M1UW8UtjNfz1RPzyhiAEzpMKJSa7" | |
] | |
}, | |
"contracts/interfaces/IERC20.sol": { | |
"keccak256": "0x30b0b76aa4a51e17ff1256e54d59a2035173607b13edd42ddcfd14344f72e057", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://5343701ac99cbe6903a7105fee41b87e1efa468cfac6af23497d3b5ecc6987ea", | |
"dweb:/ipfs/QmXkPD1G2mk21b79bD7LDqQxT3EYAy6wxkvULLNWXWKrYJ" | |
] | |
}, | |
"contracts/interfaces/IFlashLoanReceiverV2.sol": { | |
"keccak256": "0x9de5546cd7196997e29d9d4ef8a6d8b014663ce76f38dc73442176950f5ee5c7", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://dedcb2bfc8feedcc25c0eb9d002b3c3f1a3b4de1f8807aba0f6f398bffb93a34", | |
"dweb:/ipfs/QmXdQcvsiqbNT2AHFUnMHtJo2Rjvunc2uChyPGxERHLJ9f" | |
] | |
}, | |
"contracts/interfaces/ILendingPoolAddressesProviderV1.sol": { | |
"keccak256": "0x8d8c7775a348d186b16d31deace60d06b473678439a2f934993de8a2d8072e47", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://04a349d2735c486c663e2a5e01634806155fea4c3a378abf160ee2f0b3ff41bc", | |
"dweb:/ipfs/QmYump4NU53CrHK8M2wxb8r67FdBwPzB9HxjiW4bxEx5Ph" | |
] | |
}, | |
"contracts/interfaces/ILendingPoolAddressesProviderV2.sol": { | |
"keccak256": "0xff537ce33accee78095bbd6145991b539f9b78a24fedd1c1920365d216315569", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://764cde82c7ce482a31378e5763eb2876a8fe04e041e66f2175c40001e78bc03c", | |
"dweb:/ipfs/QmcxPRMGAADncXHCv2qKQ5wPSiCiBRput9QhsLHxSTZ8qd" | |
] | |
}, | |
"contracts/interfaces/ILendingPoolV1.sol": { | |
"keccak256": "0xaeb0969125e06d645b959f49aa2f10e8576dbf983656adf930c837a1b8a5f4cc", | |
"license": "UNLICENSED", | |
"urls": [ | |
"bzz-raw://cb69bfc8cf3b676e13faffe3ee2231a66d6b57f7e4b05ebd8fef3eac99d1b5f4", | |
"dweb:/ipfs/QmQGdne4m4qf9r16wWN9Uypov4xrL5Hs3PAZp53CgcWZKv" | |
] | |
}, | |
"contracts/interfaces/ILendingPoolV2.sol": { | |
"keccak256": "0xb738592c01e69d9eafcde72a6592599f3dd09159d531bd38f019d6bb9c60f863", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://9e6164f02adc1c7e40f5cb712fc55dfbe7cc114044eb7b42e5467bdbf8c46c22", | |
"dweb:/ipfs/QmSQKjB8pJu1EBErFTKpmmxLZqts8itG518CjfeetGBdZS" | |
] | |
}, | |
"contracts/interfaces/IOneSplit.sol": { | |
"keccak256": "0xcc642ac025e47e39c68805efc360ecb630baec3cb4f1751089eba281f66ac23e", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://c9ffbd28f0dee171a0008f5ddc69979c67de46ede69219716aeb9e2093e6e37a", | |
"dweb:/ipfs/QmPH8V86VnkhkQ3V9QJeWi9j64yj4d4swiyZ6EsqxYjQRm" | |
] | |
}, | |
"contracts/interfaces/IPriceOracleV1.sol": { | |
"keccak256": "0xea3cf7af354ff8dd2fc7def5c52c8b544c1dae4a0e1fc8e59bffac10ff93a1b6", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://719db006a816ac5ba2cb9c3c356ce561993d272d4e4d5ce7abe888bb5bc1a92a", | |
"dweb:/ipfs/QmWUWUxAP8n2hFn4nZRMhAhvbjSD21Dx3Mo4T7GG5JWJqi" | |
] | |
}, | |
"contracts/interfaces/SafeERC20.sol": { | |
"keccak256": "0x5ef0600eeae5b925af910744f79f1b83e4c834b846fb674b7e7010c55f2af016", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://796413db8b7696ea2555960e682cf15a09b86df9ad334b56cdd197b2dfcf07c4", | |
"dweb:/ipfs/QmZqsdV6jL99KewMnuUr4jSzLfMxDyUZ9vWjWLjgbHfpgJ" | |
] | |
}, | |
"contracts/interfaces/SafeMath.sol": { | |
"keccak256": "0x07750459bd7c8e169c015316c1eb9df8429452f6ce9e00a6aec048214a31df75", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://75c2748aa0e703e040c3383be831c8e083ea2e0c363eb4b50b79c863efd163f3", | |
"dweb:/ipfs/QmWAqwucCxkEFqbtXEJHrQPG4oDE745fiTomr2nLgnfz2i" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73560405160405180910390a361034d806100db6000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063893d20e81461003b578063a6f9dae114610059575b600080fd5b610043610075565b6040516100509190610259565b60405180910390f35b610073600480360381019061006e91906101fe565b61009e565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461012c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161012390610274565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73560405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000813590506101f881610300565b92915050565b60006020828403121561021057600080fd5b600061021e848285016101e9565b91505092915050565b610230816102a5565b82525050565b6000610243601383610294565b915061024e826102d7565b602082019050919050565b600060208201905061026e6000830184610227565b92915050565b6000602082019050818103600083015261028d81610236565b9050919050565b600082825260208201905092915050565b60006102b0826102b7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f43616c6c6572206973206e6f74206f776e657200000000000000000000000000600082015250565b610309816102a5565b811461031457600080fd5b5056fea2646970667358221220f5f41ca96243f6ecd862511c1aeeeb5f8b3a6171b642c1683755777d0bd062e864736f6c63430008040033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP CALLER PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x342827C97908E5E2F71151C08502A66D44B6F758E3AC2F1DE95F02EB95F0A735 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 PUSH2 0x34D DUP1 PUSH2 0xDB PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x893D20E8 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xA6F9DAE1 EQ PUSH2 0x59 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x75 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x259 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x73 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6E SWAP2 SWAP1 PUSH2 0x1FE JUMP JUMPDEST PUSH2 0x9E JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x12C JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x123 SWAP1 PUSH2 0x274 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x342827C97908E5E2F71151C08502A66D44B6F758E3AC2F1DE95F02EB95F0A735 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 DUP1 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1F8 DUP2 PUSH2 0x300 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x210 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x21E DUP5 DUP3 DUP6 ADD PUSH2 0x1E9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x230 DUP2 PUSH2 0x2A5 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x243 PUSH1 0x13 DUP4 PUSH2 0x294 JUMP JUMPDEST SWAP2 POP PUSH2 0x24E DUP3 PUSH2 0x2D7 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x26E PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x227 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x28D DUP2 PUSH2 0x236 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2B0 DUP3 PUSH2 0x2B7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x43616C6C6572206973206E6F74206F776E657200000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0x309 DUP2 PUSH2 0x2A5 JUMP JUMPDEST DUP2 EQ PUSH2 0x314 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CREATE2 DELEGATECALL SHR 0xA9 PUSH3 0x43F6EC 0xD8 PUSH3 0x511C1A 0xEE 0xEB 0x5F DUP12 GASPRICE PUSH2 0x71B6 TIMESTAMP 0xC1 PUSH9 0x3755777D0BD062E864 PUSH20 0x6F6C634300080400330000000000000000000000 ", | |
"sourceMap": "121:1361:0:-:0;;;923:170;;;;;;;;;;955:10;947:5;;:18;;;;;;;;;;;;;;;;;;1080:5;;;;;;;;;;1059:27;;1076:1;1059:27;;;;;;;;;;;;121:1361;;;;;;" | |
}, | |
"deployedBytecode": { | |
"generatedSources": [ | |
{ | |
"ast": { | |
"nodeType": "YulBlock", | |
"src": "0:2278:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "59:87:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "69:29:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "91:6:1" | |
} | |
], | |
"functionName": { | |
"name": "calldataload", | |
"nodeType": "YulIdentifier", | |
"src": "78:12:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "78:20:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "69:5:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "134:5:1" | |
} | |
], | |
"functionName": { | |
"name": "validator_revert_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "107:26:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "107:33:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "107:33:1" | |
} | |
] | |
}, | |
"name": "abi_decode_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "37:6:1", | |
"type": "" | |
}, | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "45:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "53:5:1", | |
"type": "" | |
} | |
], | |
"src": "7:139:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "218:196:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "264:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "273:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "276:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "266:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "266:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "266:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "239:7:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "248:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "235:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "235:23:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "260:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "slt", | |
"nodeType": "YulIdentifier", | |
"src": "231:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "231:32:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "228:2:1" | |
}, | |
{ | |
"nodeType": "YulBlock", | |
"src": "290:117:1", | |
"statements": [ | |
{ | |
"nodeType": "YulVariableDeclaration", | |
"src": "305:15:1", | |
"value": { | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "319:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
"variables": [ | |
{ | |
"name": "offset", | |
"nodeType": "YulTypedName", | |
"src": "309:6:1", | |
"type": "" | |
} | |
] | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "334:63:1", | |
"value": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "369:9:1" | |
}, | |
{ | |
"name": "offset", | |
"nodeType": "YulIdentifier", | |
"src": "380:6:1" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "365:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "365:22:1" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulIdentifier", | |
"src": "389:7:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_decode_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "344:20:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "344:53:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "334:6:1" | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_decode_tuple_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "188:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "dataEnd", | |
"nodeType": "YulTypedName", | |
"src": "199:7:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "211:6:1", | |
"type": "" | |
} | |
], | |
"src": "152:262:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "485:53:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "502:3:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "525:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "507:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "507:24:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "495:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "495:37:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "495:37:1" | |
} | |
] | |
}, | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "473:5:1", | |
"type": "" | |
}, | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "480:3:1", | |
"type": "" | |
} | |
], | |
"src": "420:118:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "690:220:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "700:74:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "766:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "771:2:1", | |
"type": "", | |
"value": "19" | |
} | |
], | |
"functionName": { | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "707:58:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "707:67:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "700:3:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "872:3:1" | |
} | |
], | |
"functionName": { | |
"name": "store_literal_in_memory_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d", | |
"nodeType": "YulIdentifier", | |
"src": "783:88:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "783:93:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "783:93:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "885:19:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "896:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "901:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "892:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "892:12:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "end", | |
"nodeType": "YulIdentifier", | |
"src": "885:3:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_t_stringliteral_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "678:3:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "end", | |
"nodeType": "YulTypedName", | |
"src": "686:3:1", | |
"type": "" | |
} | |
], | |
"src": "544:366:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1014:124:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1024:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1036:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1047:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1032:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1032:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1024:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "value0", | |
"nodeType": "YulIdentifier", | |
"src": "1104:6:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1117:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1128:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1113:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1113:17:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_address_to_t_address_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "1060:43:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1060:71:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1060:71:1" | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "986:9:1", | |
"type": "" | |
}, | |
{ | |
"name": "value0", | |
"nodeType": "YulTypedName", | |
"src": "998:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1009:4:1", | |
"type": "" | |
} | |
], | |
"src": "916:222:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1315:248:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1325:26:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1337:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1348:2:1", | |
"type": "", | |
"value": "32" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1333:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1333:18:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1325:4:1" | |
} | |
] | |
}, | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1372:9:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1383:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1368:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1368:17:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1391:4:1" | |
}, | |
{ | |
"name": "headStart", | |
"nodeType": "YulIdentifier", | |
"src": "1397:9:1" | |
} | |
], | |
"functionName": { | |
"name": "sub", | |
"nodeType": "YulIdentifier", | |
"src": "1387:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1387:20:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1361:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1361:47:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1361:47:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1417:139:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1551:4:1" | |
} | |
], | |
"functionName": { | |
"name": "abi_encode_t_stringliteral_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d_to_t_string_memory_ptr_fromStack", | |
"nodeType": "YulIdentifier", | |
"src": "1425:124:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1425:131:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulIdentifier", | |
"src": "1417:4:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "abi_encode_tuple_t_stringliteral_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d__to_t_string_memory_ptr__fromStack_reversed", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "headStart", | |
"nodeType": "YulTypedName", | |
"src": "1295:9:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "tail", | |
"nodeType": "YulTypedName", | |
"src": "1310:4:1", | |
"type": "" | |
} | |
], | |
"src": "1144:419:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1665:73:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1682:3:1" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulIdentifier", | |
"src": "1687:6:1" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "1675:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1675:19:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "1675:19:1" | |
}, | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1703:29:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulIdentifier", | |
"src": "1722:3:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1727:4:1", | |
"type": "", | |
"value": "0x20" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "1718:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1718:14:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulIdentifier", | |
"src": "1703:11:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "pos", | |
"nodeType": "YulTypedName", | |
"src": "1637:3:1", | |
"type": "" | |
}, | |
{ | |
"name": "length", | |
"nodeType": "YulTypedName", | |
"src": "1642:6:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "updated_pos", | |
"nodeType": "YulTypedName", | |
"src": "1653:11:1", | |
"type": "" | |
} | |
], | |
"src": "1569:169:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1789:51:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1799:35:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1828:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_uint160", | |
"nodeType": "YulIdentifier", | |
"src": "1810:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1810:24:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "1799:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1771:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "1781:7:1", | |
"type": "" | |
} | |
], | |
"src": "1744:96:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "1891:81:1", | |
"statements": [ | |
{ | |
"nodeType": "YulAssignment", | |
"src": "1901:65:1", | |
"value": { | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "1916:5:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "1923:42:1", | |
"type": "", | |
"value": "0xffffffffffffffffffffffffffffffffffffffff" | |
} | |
], | |
"functionName": { | |
"name": "and", | |
"nodeType": "YulIdentifier", | |
"src": "1912:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "1912:54:1" | |
}, | |
"variableNames": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulIdentifier", | |
"src": "1901:7:1" | |
} | |
] | |
} | |
] | |
}, | |
"name": "cleanup_t_uint160", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "1873:5:1", | |
"type": "" | |
} | |
], | |
"returnVariables": [ | |
{ | |
"name": "cleaned", | |
"nodeType": "YulTypedName", | |
"src": "1883:7:1", | |
"type": "" | |
} | |
], | |
"src": "1846:126:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2084:63:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulIdentifier", | |
"src": "2106:6:1" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2114:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "add", | |
"nodeType": "YulIdentifier", | |
"src": "2102:3:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2102:14:1" | |
}, | |
{ | |
"kind": "string", | |
"nodeType": "YulLiteral", | |
"src": "2118:21:1", | |
"type": "", | |
"value": "Caller is not owner" | |
} | |
], | |
"functionName": { | |
"name": "mstore", | |
"nodeType": "YulIdentifier", | |
"src": "2095:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2095:45:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2095:45:1" | |
} | |
] | |
}, | |
"name": "store_literal_in_memory_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "memPtr", | |
"nodeType": "YulTypedName", | |
"src": "2076:6:1", | |
"type": "" | |
} | |
], | |
"src": "1978:169:1" | |
}, | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2196:79:1", | |
"statements": [ | |
{ | |
"body": { | |
"nodeType": "YulBlock", | |
"src": "2253:16:1", | |
"statements": [ | |
{ | |
"expression": { | |
"arguments": [ | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2262:1:1", | |
"type": "", | |
"value": "0" | |
}, | |
{ | |
"kind": "number", | |
"nodeType": "YulLiteral", | |
"src": "2265:1:1", | |
"type": "", | |
"value": "0" | |
} | |
], | |
"functionName": { | |
"name": "revert", | |
"nodeType": "YulIdentifier", | |
"src": "2255:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2255:12:1" | |
}, | |
"nodeType": "YulExpressionStatement", | |
"src": "2255:12:1" | |
} | |
] | |
}, | |
"condition": { | |
"arguments": [ | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2219:5:1" | |
}, | |
{ | |
"arguments": [ | |
{ | |
"name": "value", | |
"nodeType": "YulIdentifier", | |
"src": "2244:5:1" | |
} | |
], | |
"functionName": { | |
"name": "cleanup_t_address", | |
"nodeType": "YulIdentifier", | |
"src": "2226:17:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2226:24:1" | |
} | |
], | |
"functionName": { | |
"name": "eq", | |
"nodeType": "YulIdentifier", | |
"src": "2216:2:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2216:35:1" | |
} | |
], | |
"functionName": { | |
"name": "iszero", | |
"nodeType": "YulIdentifier", | |
"src": "2209:6:1" | |
}, | |
"nodeType": "YulFunctionCall", | |
"src": "2209:43:1" | |
}, | |
"nodeType": "YulIf", | |
"src": "2206:2:1" | |
} | |
] | |
}, | |
"name": "validator_revert_t_address", | |
"nodeType": "YulFunctionDefinition", | |
"parameters": [ | |
{ | |
"name": "value", | |
"nodeType": "YulTypedName", | |
"src": "2189:5:1", | |
"type": "" | |
} | |
], | |
"src": "2153:122:1" | |
} | |
] | |
}, | |
"contents": "{\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_stringliteral_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d_to_t_string_memory_ptr_fromStack(pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, 19)\n store_literal_in_memory_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d(pos)\n end := add(pos, 32)\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_stringliteral_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d__to_t_string_memory_ptr__fromStack_reversed(headStart ) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_stringliteral_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d_to_t_string_memory_ptr_fromStack( tail)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function store_literal_in_memory_2d10247a65709fdb3c0696b0ed760a0c246e12f8c496efb56291dd2fe3b0275d(memPtr) {\n\n mstore(add(memPtr, 0), \"Caller is not owner\")\n\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n}\n", | |
"id": 1, | |
"language": "Yul", | |
"name": "#utility.yul" | |
} | |
], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b50600436106100365760003560e01c8063893d20e81461003b578063a6f9dae114610059575b600080fd5b610043610075565b6040516100509190610259565b60405180910390f35b610073600480360381019061006e91906101fe565b61009e565b005b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461012c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161012390610274565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f342827c97908e5e2f71151c08502a66d44b6f758e3ac2f1de95f02eb95f0a73560405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000813590506101f881610300565b92915050565b60006020828403121561021057600080fd5b600061021e848285016101e9565b91505092915050565b610230816102a5565b82525050565b6000610243601383610294565b915061024e826102d7565b602082019050919050565b600060208201905061026e6000830184610227565b92915050565b6000602082019050818103600083015261028d81610236565b9050919050565b600082825260208201905092915050565b60006102b0826102b7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f43616c6c6572206973206e6f74206f776e657200000000000000000000000000600082015250565b610309816102a5565b811461031457600080fd5b5056fea2646970667358221220f5f41ca96243f6ecd862511c1aeeeb5f8b3a6171b642c1683755777d0bd062e864736f6c63430008040033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x36 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x893D20E8 EQ PUSH2 0x3B JUMPI DUP1 PUSH4 0xA6F9DAE1 EQ PUSH2 0x59 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x43 PUSH2 0x75 JUMP JUMPDEST PUSH1 0x40 MLOAD PUSH2 0x50 SWAP2 SWAP1 PUSH2 0x259 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x73 PUSH1 0x4 DUP1 CALLDATASIZE SUB DUP2 ADD SWAP1 PUSH2 0x6E SWAP2 SWAP1 PUSH2 0x1FE JUMP JUMPDEST PUSH2 0x9E JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND EQ PUSH2 0x12C JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD PUSH2 0x123 SWAP1 PUSH2 0x274 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST DUP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH32 0x342827C97908E5E2F71151C08502A66D44B6F758E3AC2F1DE95F02EB95F0A735 PUSH1 0x40 MLOAD PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 LOG3 DUP1 PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 DUP2 CALLDATALOAD SWAP1 POP PUSH2 0x1F8 DUP2 PUSH2 0x300 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 DUP5 SUB SLT ISZERO PUSH2 0x210 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH1 0x0 PUSH2 0x21E DUP5 DUP3 DUP6 ADD PUSH2 0x1E9 JUMP JUMPDEST SWAP2 POP POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH2 0x230 DUP2 PUSH2 0x2A5 JUMP JUMPDEST DUP3 MSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x243 PUSH1 0x13 DUP4 PUSH2 0x294 JUMP JUMPDEST SWAP2 POP PUSH2 0x24E DUP3 PUSH2 0x2D7 JUMP JUMPDEST PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP PUSH2 0x26E PUSH1 0x0 DUP4 ADD DUP5 PUSH2 0x227 JUMP JUMPDEST SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0x20 DUP3 ADD SWAP1 POP DUP2 DUP2 SUB PUSH1 0x0 DUP4 ADD MSTORE PUSH2 0x28D DUP2 PUSH2 0x236 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 DUP3 DUP3 MSTORE PUSH1 0x20 DUP3 ADD SWAP1 POP SWAP3 SWAP2 POP POP JUMP JUMPDEST PUSH1 0x0 PUSH2 0x2B0 DUP3 PUSH2 0x2B7 JUMP JUMPDEST SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DUP3 AND SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH32 0x43616C6C6572206973206E6F74206F776E657200000000000000000000000000 PUSH1 0x0 DUP3 ADD MSTORE POP JUMP JUMPDEST PUSH2 0x309 DUP2 PUSH2 0x2A5 JUMP JUMPDEST DUP2 EQ PUSH2 0x314 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 CREATE2 DELEGATECALL SHR 0xA9 PUSH3 0x43F6EC 0xD8 PUSH3 0x511C1A 0xEE 0xEB 0x5F DUP12 GASPRICE PUSH2 0x71B6 TIMESTAMP 0xC1 PUSH9 0x3755777D0BD062E864 PUSH20 0x6F6C634300080400330000000000000000000000 ", | |
"sourceMap": "121:1361:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1399:81;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1184:127;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1399:81;1442:7;1468:5;;;;;;;;;;;1461:12;;1399:81;:::o;1184:127::-;807:5;;;;;;;;;;793:19;;:10;:19;;;785:51;;;;;;;;;;;;:::i;:::-;;;;;;;;;1269:8:::1;1253:25;;1262:5;::::0;::::1;;;;;;;;1253:25;;;;;;;;;;;;1296:8;1288:5;::::0;:16:::1;;;;;;;;;;;;;;;;;;1184:127:::0;:::o;7:139:1:-;53:5;91:6;78:20;69:29;;107:33;134:5;107:33;:::i;:::-;59:87;;;;:::o;152:262::-;211:6;260:2;248:9;239:7;235:23;231:32;228:2;;;276:1;273;266:12;228:2;319:1;344:53;389:7;380:6;369:9;365:22;344:53;:::i;:::-;334:63;;290:117;218:196;;;;:::o;420:118::-;507:24;525:5;507:24;:::i;:::-;502:3;495:37;485:53;;:::o;544:366::-;686:3;707:67;771:2;766:3;707:67;:::i;:::-;700:74;;783:93;872:3;783:93;:::i;:::-;901:2;896:3;892:12;885:19;;690:220;;;:::o;916:222::-;1009:4;1047:2;1036:9;1032:18;1024:26;;1060:71;1128:1;1117:9;1113:17;1104:6;1060:71;:::i;:::-;1014:124;;;;:::o;1144:419::-;1310:4;1348:2;1337:9;1333:18;1325:26;;1397:9;1391:4;1387:20;1383:1;1372:9;1368:17;1361:47;1425:131;1551:4;1425:131;:::i;:::-;1417:139;;1315:248;;;:::o;1569:169::-;1653:11;1687:6;1682:3;1675:19;1727:4;1722:3;1718:14;1703:29;;1665:73;;;;:::o;1744:96::-;1781:7;1810:24;1828:5;1810:24;:::i;:::-;1799:35;;1789:51;;;:::o;1846:126::-;1883:7;1923:42;1916:5;1912:54;1901:65;;1891:81;;;:::o;1978:169::-;2118:21;2114:1;2106:6;2102:14;2095:45;2084:63;:::o;2153:122::-;2226:24;2244:5;2226:24;:::i;:::-;2219:5;2216:35;2206:2;;2265:1;2262;2255:12;2206:2;2196:79;:::o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "169000", | |
"executionCost": "23458", | |
"totalCost": "192458" | |
}, | |
"external": { | |
"changeOwner(address)": "24567", | |
"getOwner()": "1200" | |
} | |
}, | |
"methodIdentifiers": { | |
"changeOwner(address)": "a6f9dae1", | |
"getOwner()": "893d20e8" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "oldOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnerSet", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "changeOwner", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getOwner", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.8.4+commit.c7e474f2" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "oldOwner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "OwnerSet", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "newOwner", | |
"type": "address" | |
} | |
], | |
"name": "changeOwner", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getOwner", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"details": "Set & change owner", | |
"kind": "dev", | |
"methods": { | |
"changeOwner(address)": { | |
"details": "Change owner", | |
"params": { | |
"newOwner": "address of new owner" | |
} | |
}, | |
"constructor": { | |
"details": "Set contract deployer as owner" | |
}, | |
"getOwner()": { | |
"details": "Return owner address ", | |
"returns": { | |
"_0": "address of owner" | |
} | |
} | |
}, | |
"title": "Owner", | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/2_Owner.sol": "Owner" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/2_Owner.sol": { | |
"keccak256": "0x1e624ada939528fff73575187024d951aa6d33d4cbaad97ecf1f3e2a7d717583", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://e3f3c6ab93acd1a8bd389f852149d59b6d713efc51458ff95bba42c3329fb0d1", | |
"dweb:/ipfs/QmP7NEPrSbYRM4DzpJ31YUC2KNXUX4USuQk3jMNRUdzVyV" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b506101ba806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80632e64cec1146100465780636057361d14610064578063767eb5ef14610092575b600080fd5b61004e6100c6565b6040518082815260200191505060405180910390f35b6100906004803603602081101561007a57600080fd5b81019080803590602001909291905050506100cf565b005b61009a6100dc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60008054905090565b6002810260008190555050565b6000735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f73ffffffffffffffffffffffffffffffffffffffff16631e3dd18b60006040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561014457600080fd5b505afa158015610158573d6000803e3d6000fd5b505050506040513d602081101561016e57600080fd5b810190808051906020019092919050505090509056fea2646970667358221220cb62b99a4b634b5e52e94605f33e21ac080462556a77fd872f08cfbcada5dfaf64736f6c63430007010033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x1BA DUP1 PUSH2 0x20 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0x767EB5EF EQ PUSH2 0x92 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0xC6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x90 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0xCF JUMP JUMPDEST STOP JUMPDEST PUSH2 0x9A PUSH2 0xDC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 MUL PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0x5C69BEE701EF814A2B6A3EDD4B1652CB9CC5AA6F PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x1E3DD18B PUSH1 0x0 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x144 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x158 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x16E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP1 POP SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCB PUSH3 0xB99A4B PUSH4 0x4B5E52E9 CHAINID SDIV RETURN RETURNDATACOPY 0x21 0xAC ADDMOD DIV PUSH3 0x556A77 REVERT DUP8 0x2F ADDMOD 0xCF 0xBC 0xAD 0xA5 0xDF 0xAF PUSH5 0x736F6C6343 STOP SMOD ADD STOP CALLER ", | |
"sourceMap": "1177:697:0:-:0;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "608060405234801561001057600080fd5b50600436106100415760003560e01c80632e64cec1146100465780636057361d14610064578063767eb5ef14610092575b600080fd5b61004e6100c6565b6040518082815260200191505060405180910390f35b6100906004803603602081101561007a57600080fd5b81019080803590602001909291905050506100cf565b005b61009a6100dc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60008054905090565b6002810260008190555050565b6000735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f73ffffffffffffffffffffffffffffffffffffffff16631e3dd18b60006040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561014457600080fd5b505afa158015610158573d6000803e3d6000fd5b505050506040513d602081101561016e57600080fd5b810190808051906020019092919050505090509056fea2646970667358221220cb62b99a4b634b5e52e94605f33e21ac080462556a77fd872f08cfbcada5dfaf64736f6c63430007010033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE CALLVALUE DUP1 ISZERO PUSH2 0x10 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x4 CALLDATASIZE LT PUSH2 0x41 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x2E64CEC1 EQ PUSH2 0x46 JUMPI DUP1 PUSH4 0x6057361D EQ PUSH2 0x64 JUMPI DUP1 PUSH4 0x767EB5EF EQ PUSH2 0x92 JUMPI JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST PUSH2 0x4E PUSH2 0xC6 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x90 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x7A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0xCF JUMP JUMPDEST STOP JUMPDEST PUSH2 0x9A PUSH2 0xDC JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 POP SWAP1 JUMP JUMPDEST PUSH1 0x2 DUP2 MUL PUSH1 0x0 DUP2 SWAP1 SSTORE POP POP JUMP JUMPDEST PUSH1 0x0 PUSH20 0x5C69BEE701EF814A2B6A3EDD4B1652CB9CC5AA6F PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x1E3DD18B PUSH1 0x0 PUSH1 0x40 MLOAD DUP3 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP3 DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x144 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x158 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x16E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP SWAP1 POP SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCB PUSH3 0xB99A4B PUSH4 0x4B5E52E9 CHAINID SDIV RETURN RETURNDATACOPY 0x21 0xAC ADDMOD DIV PUSH3 0x556A77 REVERT DUP8 0x2F ADDMOD 0xCF 0xBC 0xAD 0xA5 0xDF 0xAF PUSH5 0x736F6C6343 STOP SMOD ADD STOP CALLER ", | |
"sourceMap": "1177:697:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1793:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1644:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1448:105;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;1793:79;1834:7;1859:6;;1852:13;;1793:79;:::o;1644:68::-;1704:1;1698:3;:7;1689:6;:16;;;;1644:68;:::o;1448:105::-;1489:12;1263:42;1519:24;;;1544:1;1519:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1512:34;;1448:105;:::o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "88400", | |
"executionCost": "135", | |
"totalCost": "88535" | |
}, | |
"external": { | |
"getPairs()": "infinite", | |
"retrieve()": "991", | |
"store(uint256)": "20250" | |
} | |
}, | |
"methodIdentifiers": { | |
"getPairs()": "767eb5ef", | |
"retrieve()": "2e64cec1", | |
"store(uint256)": "6057361d" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "getPairs", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "pair", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "retrieve", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "num", | |
"type": "uint256" | |
} | |
], | |
"name": "store", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.7.1+commit.f4a555be" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "getPairs", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "pair", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "retrieve", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "num", | |
"type": "uint256" | |
} | |
], | |
"name": "store", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"details": "Store & retrieve value in a variable", | |
"kind": "dev", | |
"methods": { | |
"retrieve()": { | |
"details": "Return value ", | |
"returns": { | |
"_0": "value of 'number'" | |
} | |
}, | |
"store(uint256)": { | |
"details": "Store value in variable", | |
"params": { | |
"num": "value to store" | |
} | |
} | |
}, | |
"title": "Storage", | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/main.sol": "Storage" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/main.sol": { | |
"keccak256": "0xe80ff0ced4d3a7b8a739cf3a4033ce50d5476fe714cdfe5cbf492ee9bef9a01f", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://e5167871e4d70f04afdcd33d1a5e886b8d134e163f9c209cb82ad0932d4eeb00", | |
"dweb:/ipfs/QmYgm6z3AosfYqN4BjWTrmabAnZk6YhsRKnZSRa1XZUFMp" | |
] | |
}, | |
"https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/interfaces/IUniswapV2Router01.sol": { | |
"keccak256": "0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2", | |
"urls": [ | |
"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb", | |
"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG" | |
] | |
}, | |
"https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/interfaces/IUniswapV2Router02.sol": { | |
"keccak256": "0x744e30c133bd0f7ca9e7163433cf6d72f45c6bb1508c2c9c02f1a6db796ae59d", | |
"urls": [ | |
"bzz-raw://9bf2f4454ad63d4cff03a0630e787d9e8a9deed80aec89682cd8ad6379d9ef8c", | |
"dweb:/ipfs/Qme51hQNR2wpax7ooUadhtqLtXm8ffeVVYyubLkTT4wMCG" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "6080604052734f96fe3b7a6cf9725f59d353f723c1bdb64ca6aa600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561006557600080fd5b50737a250d5630b4cf539739df2c5dacb4c659f2488d6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061078b806100c96000396000f3fe6080604052600436106100385760003560e01c8063735de9f714610044578063ada8b83d14610085578063ff22723a146101155761003f565b3661003f57005b600080fd5b34801561005057600080fd5b50610059610143565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561009157600080fd5b506100be600480360360208110156100a857600080fd5b8101908080359060200190929190505050610167565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156101015780820151818401526020810190506100e6565b505050509050019250505060405180910390f35b6101416004803603602081101561012b57600080fd5b8101908080359060200190929190505050610306565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631f00ca74836101ae6105af565b6040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156102065780820151818401526020810190506101eb565b50505050905001935050505060006040518083038186803b15801561022a57600080fd5b505afa15801561023e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561026857600080fd5b810190808051604051939291908464010000000082111561028857600080fd5b8382019150602082018581111561029e57600080fd5b82518660208202830111640100000000821117156102bb57600080fd5b8083526020830192505050908051906020019060200280838360005b838110156102f25780820151818401526020810190506102d7565b505050509050016040525050509050919050565b6000600f4201905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fb3bdb4134846103546105af565b30866040518663ffffffff1660e01b815260040180858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156103d05780820151818401526020810190506103b5565b50505050905001955050505050506000604051808303818588803b1580156103f757600080fd5b505af115801561040b573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f82011682018060405250602081101561043657600080fd5b810190808051604051939291908464010000000082111561045657600080fd5b8382019150602082018581111561046c57600080fd5b825186602082028301116401000000008211171561048957600080fd5b8083526020830192505050908051906020019060200280838360005b838110156104c05780820151818401526020810190506104a5565b505050509050016040525050505060003373ffffffffffffffffffffffffffffffffffffffff164760405180600001905060006040518083038185875af1925050503d806000811461052e576040519150601f19603f3d011682016040523d82523d6000602084013e610533565b606091505b50509050806105aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f726566756e64206661696c65640000000000000000000000000000000000000081525060200191505060405180910390fd5b505050565b606080600267ffffffffffffffff811180156105ca57600080fd5b506040519080825280602002602001820160405280156105f95781602001602082028036833780820191505090505b50905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561066257600080fd5b505afa158015610676573d6000803e3d6000fd5b505050506040513d602081101561068c57600080fd5b8101908080519060200190929190505050816000815181106106aa57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160018151811061071457fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050809150509056fea26469706673582212207c9a647b7f8b3f8c1f53395608bc69cce825b64377704deb7b89d35568a2607864736f6c63430007010033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH20 0x4F96FE3B7A6CF9725F59D353F723C1BDB64CA6AA PUSH1 0x1 PUSH1 0x0 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP CALLVALUE DUP1 ISZERO PUSH2 0x65 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH20 0x7A250D5630B4CF539739DF2C5DACB4C659F2488D PUSH1 0x0 DUP1 PUSH2 0x100 EXP DUP2 SLOAD DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF MUL NOT AND SWAP1 DUP4 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND MUL OR SWAP1 SSTORE POP PUSH2 0x78B DUP1 PUSH2 0xC9 PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN INVALID PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x38 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x735DE9F7 EQ PUSH2 0x44 JUMPI DUP1 PUSH4 0xADA8B83D EQ PUSH2 0x85 JUMPI DUP1 PUSH4 0xFF22723A EQ PUSH2 0x115 JUMPI PUSH2 0x3F JUMP JUMPDEST CALLDATASIZE PUSH2 0x3F JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x50 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x59 PUSH2 0x143 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x91 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xBE PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xA8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x167 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP4 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x101 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xE6 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x141 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x12B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x306 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x1F00CA74 DUP4 PUSH2 0x1AE PUSH2 0x5AF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP4 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x206 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x1EB JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD SWAP4 POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x22A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x23E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x268 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD PUSH1 0x40 MLOAD SWAP4 SWAP3 SWAP2 SWAP1 DUP5 PUSH5 0x100000000 DUP3 GT ISZERO PUSH2 0x288 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP3 ADD DUP6 DUP2 GT ISZERO PUSH2 0x29E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD DUP7 PUSH1 0x20 DUP3 MUL DUP4 ADD GT PUSH5 0x100000000 DUP3 GT OR ISZERO PUSH2 0x2BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP3 POP POP POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2F2 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x2D7 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD PUSH1 0x40 MSTORE POP POP POP SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xF TIMESTAMP ADD SWAP1 POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xFB3BDB41 CALLVALUE DUP5 PUSH2 0x354 PUSH2 0x5AF JUMP JUMPDEST ADDRESS DUP7 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP6 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP6 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x3D0 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x3B5 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD SWAP6 POP POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x40B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x436 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD PUSH1 0x40 MLOAD SWAP4 SWAP3 SWAP2 SWAP1 DUP5 PUSH5 0x100000000 DUP3 GT ISZERO PUSH2 0x456 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP3 ADD DUP6 DUP2 GT ISZERO PUSH2 0x46C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD DUP7 PUSH1 0x20 DUP3 MUL DUP4 ADD GT PUSH5 0x100000000 DUP3 GT OR ISZERO PUSH2 0x489 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP3 POP POP POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x4C0 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x4A5 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD PUSH1 0x40 MSTORE POP POP POP POP PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SELFBALANCE PUSH1 0x40 MLOAD DUP1 PUSH1 0x0 ADD SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x52E JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x533 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP POP SWAP1 POP DUP1 PUSH2 0x5AA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x726566756E64206661696C656400000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 PUSH1 0x2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x5CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x5F9 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAD5C4648 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x662 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x676 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x68C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x6AA JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x714 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP DUP1 SWAP2 POP POP SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH29 0x9A647B7F8B3F8C1F53395608BC69CCE825B64377704DEB7B89D35568A2 PUSH1 0x78 PUSH5 0x736F6C6343 STOP SMOD ADD STOP CALLER ", | |
"sourceMap": "1469:1230:0:-:0;;;1671:42;1639:74;;;;;;;;;;;;;;;;;;;;1718:83;;;;;;;;;;1548:42;1738:13;;:58;;;;;;;;;;;;;;;;;;1469:1230;;;;;;" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "6080604052600436106100385760003560e01c8063735de9f714610044578063ada8b83d14610085578063ff22723a146101155761003f565b3661003f57005b600080fd5b34801561005057600080fd5b50610059610143565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561009157600080fd5b506100be600480360360208110156100a857600080fd5b8101908080359060200190929190505050610167565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156101015780820151818401526020810190506100e6565b505050509050019250505060405180910390f35b6101416004803603602081101561012b57600080fd5b8101908080359060200190929190505050610306565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16631f00ca74836101ae6105af565b6040518363ffffffff1660e01b81526004018083815260200180602001828103825283818151815260200191508051906020019060200280838360005b838110156102065780820151818401526020810190506101eb565b50505050905001935050505060006040518083038186803b15801561022a57600080fd5b505afa15801561023e573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561026857600080fd5b810190808051604051939291908464010000000082111561028857600080fd5b8382019150602082018581111561029e57600080fd5b82518660208202830111640100000000821117156102bb57600080fd5b8083526020830192505050908051906020019060200280838360005b838110156102f25780820151818401526020810190506102d7565b505050509050016040525050509050919050565b6000600f4201905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fb3bdb4134846103546105af565b30866040518663ffffffff1660e01b815260040180858152602001806020018473ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828103825285818151815260200191508051906020019060200280838360005b838110156103d05780820151818401526020810190506103b5565b50505050905001955050505050506000604051808303818588803b1580156103f757600080fd5b505af115801561040b573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f82011682018060405250602081101561043657600080fd5b810190808051604051939291908464010000000082111561045657600080fd5b8382019150602082018581111561046c57600080fd5b825186602082028301116401000000008211171561048957600080fd5b8083526020830192505050908051906020019060200280838360005b838110156104c05780820151818401526020810190506104a5565b505050509050016040525050505060003373ffffffffffffffffffffffffffffffffffffffff164760405180600001905060006040518083038185875af1925050503d806000811461052e576040519150601f19603f3d011682016040523d82523d6000602084013e610533565b606091505b50509050806105aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f726566756e64206661696c65640000000000000000000000000000000000000081525060200191505060405180910390fd5b505050565b606080600267ffffffffffffffff811180156105ca57600080fd5b506040519080825280602002602001820160405280156105f95781602001602082028036833780820191505090505b50905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561066257600080fd5b505afa158015610676573d6000803e3d6000fd5b505050506040513d602081101561068c57600080fd5b8101908080519060200190929190505050816000815181106106aa57fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168160018151811061071457fe5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff1681525050809150509056fea26469706673582212207c9a647b7f8b3f8c1f53395608bc69cce825b64377704deb7b89d35568a2607864736f6c63430007010033", | |
"opcodes": "PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x4 CALLDATASIZE LT PUSH2 0x38 JUMPI PUSH1 0x0 CALLDATALOAD PUSH1 0xE0 SHR DUP1 PUSH4 0x735DE9F7 EQ PUSH2 0x44 JUMPI DUP1 PUSH4 0xADA8B83D EQ PUSH2 0x85 JUMPI DUP1 PUSH4 0xFF22723A EQ PUSH2 0x115 JUMPI PUSH2 0x3F JUMP JUMPDEST CALLDATASIZE PUSH2 0x3F JUMPI STOP JUMPDEST PUSH1 0x0 DUP1 REVERT JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x50 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0x59 PUSH2 0x143 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP3 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE DUP1 ISZERO PUSH2 0x91 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH2 0xBE PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0xA8 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x167 JUMP JUMPDEST PUSH1 0x40 MLOAD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP4 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x101 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0xE6 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST PUSH2 0x141 PUSH1 0x4 DUP1 CALLDATASIZE SUB PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x12B JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 CALLDATALOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP PUSH2 0x306 JUMP JUMPDEST STOP JUMPDEST PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 JUMP JUMPDEST PUSH1 0x60 PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0x1F00CA74 DUP4 PUSH2 0x1AE PUSH2 0x5AF JUMP JUMPDEST PUSH1 0x40 MLOAD DUP4 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP4 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x206 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x1EB JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD SWAP4 POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x22A JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x23E JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x268 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD PUSH1 0x40 MLOAD SWAP4 SWAP3 SWAP2 SWAP1 DUP5 PUSH5 0x100000000 DUP3 GT ISZERO PUSH2 0x288 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP3 ADD DUP6 DUP2 GT ISZERO PUSH2 0x29E JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD DUP7 PUSH1 0x20 DUP3 MUL DUP4 ADD GT PUSH5 0x100000000 DUP3 GT OR ISZERO PUSH2 0x2BB JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP3 POP POP POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x2F2 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x2D7 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD PUSH1 0x40 MSTORE POP POP POP SWAP1 POP SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x0 PUSH1 0xF TIMESTAMP ADD SWAP1 POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xFB3BDB41 CALLVALUE DUP5 PUSH2 0x354 PUSH2 0x5AF JUMP JUMPDEST ADDRESS DUP7 PUSH1 0x40 MLOAD DUP7 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP6 DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH1 0x20 ADD DUP5 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE PUSH1 0x20 ADD DUP4 DUP2 MSTORE PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE DUP6 DUP2 DUP2 MLOAD DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x3D0 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x3B5 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD SWAP6 POP POP POP POP POP POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP9 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x3F7 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS CALL ISZERO DUP1 ISZERO PUSH2 0x40B JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x0 DUP3 RETURNDATACOPY RETURNDATASIZE PUSH1 0x1F NOT PUSH1 0x1F DUP3 ADD AND DUP3 ADD DUP1 PUSH1 0x40 MSTORE POP PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x436 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD PUSH1 0x40 MLOAD SWAP4 SWAP3 SWAP2 SWAP1 DUP5 PUSH5 0x100000000 DUP3 GT ISZERO PUSH2 0x456 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP4 DUP3 ADD SWAP2 POP PUSH1 0x20 DUP3 ADD DUP6 DUP2 GT ISZERO PUSH2 0x46C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP3 MLOAD DUP7 PUSH1 0x20 DUP3 MUL DUP4 ADD GT PUSH5 0x100000000 DUP3 GT OR ISZERO PUSH2 0x489 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP1 DUP4 MSTORE PUSH1 0x20 DUP4 ADD SWAP3 POP POP POP SWAP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 PUSH1 0x20 MUL DUP1 DUP4 DUP4 PUSH1 0x0 JUMPDEST DUP4 DUP2 LT ISZERO PUSH2 0x4C0 JUMPI DUP1 DUP3 ADD MLOAD DUP2 DUP5 ADD MSTORE PUSH1 0x20 DUP2 ADD SWAP1 POP PUSH2 0x4A5 JUMP JUMPDEST POP POP POP POP SWAP1 POP ADD PUSH1 0x40 MSTORE POP POP POP POP PUSH1 0x0 CALLER PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SELFBALANCE PUSH1 0x40 MLOAD DUP1 PUSH1 0x0 ADD SWAP1 POP PUSH1 0x0 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP6 DUP8 GAS CALL SWAP3 POP POP POP RETURNDATASIZE DUP1 PUSH1 0x0 DUP2 EQ PUSH2 0x52E JUMPI PUSH1 0x40 MLOAD SWAP2 POP PUSH1 0x1F NOT PUSH1 0x3F RETURNDATASIZE ADD AND DUP3 ADD PUSH1 0x40 MSTORE RETURNDATASIZE DUP3 MSTORE RETURNDATASIZE PUSH1 0x0 PUSH1 0x20 DUP5 ADD RETURNDATACOPY PUSH2 0x533 JUMP JUMPDEST PUSH1 0x60 SWAP2 POP JUMPDEST POP POP SWAP1 POP DUP1 PUSH2 0x5AA JUMPI PUSH1 0x40 MLOAD PUSH32 0x8C379A000000000000000000000000000000000000000000000000000000000 DUP2 MSTORE PUSH1 0x4 ADD DUP1 DUP1 PUSH1 0x20 ADD DUP3 DUP2 SUB DUP3 MSTORE PUSH1 0xD DUP2 MSTORE PUSH1 0x20 ADD DUP1 PUSH32 0x726566756E64206661696C656400000000000000000000000000000000000000 DUP2 MSTORE POP PUSH1 0x20 ADD SWAP2 POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 REVERT JUMPDEST POP POP POP JUMP JUMPDEST PUSH1 0x60 DUP1 PUSH1 0x2 PUSH8 0xFFFFFFFFFFFFFFFF DUP2 GT DUP1 ISZERO PUSH2 0x5CA JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP PUSH1 0x40 MLOAD SWAP1 DUP1 DUP3 MSTORE DUP1 PUSH1 0x20 MUL PUSH1 0x20 ADD DUP3 ADD PUSH1 0x40 MSTORE DUP1 ISZERO PUSH2 0x5F9 JUMPI DUP2 PUSH1 0x20 ADD PUSH1 0x20 DUP3 MUL DUP1 CALLDATASIZE DUP4 CALLDATACOPY DUP1 DUP3 ADD SWAP2 POP POP SWAP1 POP JUMPDEST POP SWAP1 POP PUSH1 0x0 DUP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND PUSH4 0xAD5C4648 PUSH1 0x40 MLOAD DUP2 PUSH4 0xFFFFFFFF AND PUSH1 0xE0 SHL DUP2 MSTORE PUSH1 0x4 ADD PUSH1 0x20 PUSH1 0x40 MLOAD DUP1 DUP4 SUB DUP2 DUP7 DUP1 EXTCODESIZE ISZERO DUP1 ISZERO PUSH2 0x662 JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST POP GAS STATICCALL ISZERO DUP1 ISZERO PUSH2 0x676 JUMPI RETURNDATASIZE PUSH1 0x0 DUP1 RETURNDATACOPY RETURNDATASIZE PUSH1 0x0 REVERT JUMPDEST POP POP POP POP PUSH1 0x40 MLOAD RETURNDATASIZE PUSH1 0x20 DUP2 LT ISZERO PUSH2 0x68C JUMPI PUSH1 0x0 DUP1 REVERT JUMPDEST DUP2 ADD SWAP1 DUP1 DUP1 MLOAD SWAP1 PUSH1 0x20 ADD SWAP1 SWAP3 SWAP2 SWAP1 POP POP POP DUP2 PUSH1 0x0 DUP2 MLOAD DUP2 LT PUSH2 0x6AA JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP PUSH1 0x1 PUSH1 0x0 SWAP1 SLOAD SWAP1 PUSH2 0x100 EXP SWAP1 DIV PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 PUSH1 0x1 DUP2 MLOAD DUP2 LT PUSH2 0x714 JUMPI INVALID JUMPDEST PUSH1 0x20 MUL PUSH1 0x20 ADD ADD SWAP1 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND SWAP1 DUP2 PUSH20 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF AND DUP2 MSTORE POP POP DUP1 SWAP2 POP POP SWAP1 JUMP INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 PUSH29 0x9A647B7F8B3F8C1F53395608BC69CCE825B64377704DEB7B89D35568A2 PUSH1 0x78 PUSH5 0x736F6C6343 STOP SMOD ADD STOP CALLER ", | |
"sourceMap": "1469:1230:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1596:39;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2260:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1805:449;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;1596:39;;;;;;;;;;;;:::o;2260:160::-;2328:13;2356;;;;;;;;;;:26;;;2383:9;2394:20;:18;:20::i;:::-;2356:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2349:66;;2260:160;;;:::o;1805:449::-;1867:13;1901:2;1883:15;:20;1867:36;;1982:13;;;;;;;;;;:35;;;2026:9;2038;2049:20;:18;:20::i;:::-;2079:4;2086:8;1982:113;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2142:12;2159:10;:15;;2183:21;2159:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2141:69;;;2224:7;2216:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1805:449;;;:::o;2424:208::-;2476:16;2500:21;2538:1;2524:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2500:40;;2556:13;;;;;;;;;;:18;;;:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2546:4;2551:1;2546:7;;;;;;;;;;;;;:30;;;;;;;;;;;2592:13;;;;;;;;;;;2582:4;2587:1;2582:7;;;;;;;;;;;;;:23;;;;;;;;;;;2623:4;2616:11;;;2424:208;:::o" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "386200", | |
"executionCost": "42158", | |
"totalCost": "428358" | |
}, | |
"external": { | |
"convertEthToDai(uint256)": "infinite", | |
"getEstimatedETHforDAI(uint256)": "infinite", | |
"uniswapRouter()": "1022" | |
}, | |
"internal": { | |
"getPathForETHtoDAI()": "infinite" | |
} | |
}, | |
"methodIdentifiers": { | |
"convertEthToDai(uint256)": "ff22723a", | |
"getEstimatedETHforDAI(uint256)": "ada8b83d", | |
"uniswapRouter()": "735de9f7" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "daiAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "convertEthToDai", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "daiAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "getEstimatedETHforDAI", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "uniswapRouter", | |
"outputs": [ | |
{ | |
"internalType": "contract IUniswapV2Router02", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"stateMutability": "payable", | |
"type": "receive" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.7.1+commit.f4a555be" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "daiAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "convertEthToDai", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "daiAmount", | |
"type": "uint256" | |
} | |
], | |
"name": "getEstimatedETHforDAI", | |
"outputs": [ | |
{ | |
"internalType": "uint256[]", | |
"name": "", | |
"type": "uint256[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "uniswapRouter", | |
"outputs": [ | |
{ | |
"internalType": "contract IUniswapV2Router02", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"stateMutability": "payable", | |
"type": "receive" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/main.sol": "UniswapExample" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/main.sol": { | |
"keccak256": "0x61c7204f5388c85fc7e53615f803e35151219909a04e089aeecd4ad5f223a83e", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://ea0b70b0d801a0904bdc0cda0ebf33504266049cd9b4e334eee0be2d4e18c536", | |
"dweb:/ipfs/Qmb3TEE9pCk7JJULZxhzWRAb4k2pYhTPYi1PQcN25fwGzU" | |
] | |
}, | |
"https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/interfaces/IUniswapV2Router01.sol": { | |
"keccak256": "0x8a3c5c449d4b7cd76513ed6995f4b86e4a86f222c770f8442f5fc128ce29b4d2", | |
"urls": [ | |
"bzz-raw://1df63ca373dafae3bd0ee7fe70f890a1dc7c45ed869c01de68413e0e97ff9deb", | |
"dweb:/ipfs/QmefJgEYGUL8KX7kQKYTrDweF8GB7yjy3nw5Bmqzryg7PG" | |
] | |
}, | |
"https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/interfaces/IUniswapV2Router02.sol": { | |
"keccak256": "0x744e30c133bd0f7ca9e7163433cf6d72f45c6bb1508c2c9c02f1a6db796ae59d", | |
"urls": [ | |
"bzz-raw://9bf2f4454ad63d4cff03a0630e787d9e8a9deed80aec89682cd8ad6379d9ef8c", | |
"dweb:/ipfs/Qme51hQNR2wpax7ooUadhtqLtXm8ffeVVYyubLkTT4wMCG" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dfe1bd309cbd13b3803dd7672ed950666d4e31cd29ea3b5079184e437eb3426264736f6c634300060c0033", | |
"opcodes": "PUSH1 0x56 PUSH1 0x23 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x16 JUMPI INVALID JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDF 0xE1 0xBD ADDRESS SWAP13 0xBD SGT 0xB3 DUP1 RETURNDATASIZE 0xD7 PUSH8 0x2ED950666D4E31CD 0x29 0xEA EXTCODESIZE POP PUSH26 0x184E437EB3426264736F6C634300060C00330000000000000000 ", | |
"sourceMap": "285:1902:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dfe1bd309cbd13b3803dd7672ed950666d4e31cd29ea3b5079184e437eb3426264736f6c634300060c0033", | |
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xDF 0xE1 0xBD ADDRESS SWAP13 0xBD SGT 0xB3 DUP1 RETURNDATASIZE 0xD7 PUSH8 0x2ED950666D4E31CD 0x29 0xEA EXTCODESIZE POP PUSH26 0x184E437EB3426264736F6C634300060C00330000000000000000 ", | |
"sourceMap": "285:1902:0:-:0;;;;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "17200", | |
"executionCost": "97", | |
"totalCost": "17297" | |
}, | |
"internal": { | |
"halfRay()": "infinite", | |
"halfWad()": "infinite", | |
"ray()": "infinite", | |
"rayDiv(uint256,uint256)": "infinite", | |
"rayMul(uint256,uint256)": "infinite", | |
"rayPow(uint256,uint256)": "infinite", | |
"rayToWad(uint256)": "infinite", | |
"wad()": "infinite", | |
"wadDiv(uint256,uint256)": "infinite", | |
"wadMul(uint256,uint256)": "infinite", | |
"wadToRay(uint256)": "infinite" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
{ | |
"compiler": { | |
"version": "0.6.12+commit.27d51765" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/WadRayMath.sol": "WadRayMath" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/WadRayMath.sol": { | |
"keccak256": "0x179318c7c49aeae77f9c2b584ea3b5f77448f4d3ed5462514ae41c723adfcfa7", | |
"license": "GPL-3.0", | |
"urls": [ | |
"bzz-raw://02bd32e50008d292b5ef9e5a6958b102678bec644a758407f28af2a489424faa", | |
"dweb:/ipfs/QmQmDb1WBb5CTxFaFSD2sJMkVSrdYcZRYXo95ri3NM5PYR" | |
] | |
}, | |
"contracts/interfaces/SafeMath.sol": { | |
"keccak256": "0x07750459bd7c8e169c015316c1eb9df8429452f6ce9e00a6aec048214a31df75", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://75c2748aa0e703e040c3383be831c8e083ea2e0c363eb4b50b79c863efd163f3", | |
"dweb:/ipfs/QmWAqwucCxkEFqbtXEJHrQPG4oDE745fiTomr2nLgnfz2i" | |
] | |
} | |
}, | |
"version": 1 | |
} |
// SPDX-License-Identifier: MIT | |
pragma solidity >= 0.4.22 <0.9.0; | |
library console { | |
address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); | |
function _sendLogPayload(bytes memory payload) private view { | |
uint256 payloadLength = payload.length; | |
address consoleAddress = CONSOLE_ADDRESS; | |
assembly { | |
let payloadStart := add(payload, 32) | |
let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) | |
} | |
} | |
function log() internal view { | |
_sendLogPayload(abi.encodeWithSignature("log()")); | |
} | |
function logInt(int p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(int)", p0)); | |
} | |
function logUint(uint p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); | |
} | |
function logString(string memory p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string)", p0)); | |
} | |
function logBool(bool p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); | |
} | |
function logAddress(address p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address)", p0)); | |
} | |
function logBytes(bytes memory p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); | |
} | |
function logBytes1(bytes1 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); | |
} | |
function logBytes2(bytes2 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); | |
} | |
function logBytes3(bytes3 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); | |
} | |
function logBytes4(bytes4 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); | |
} | |
function logBytes5(bytes5 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); | |
} | |
function logBytes6(bytes6 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); | |
} | |
function logBytes7(bytes7 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); | |
} | |
function logBytes8(bytes8 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); | |
} | |
function logBytes9(bytes9 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); | |
} | |
function logBytes10(bytes10 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); | |
} | |
function logBytes11(bytes11 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); | |
} | |
function logBytes12(bytes12 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); | |
} | |
function logBytes13(bytes13 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); | |
} | |
function logBytes14(bytes14 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); | |
} | |
function logBytes15(bytes15 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); | |
} | |
function logBytes16(bytes16 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); | |
} | |
function logBytes17(bytes17 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); | |
} | |
function logBytes18(bytes18 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); | |
} | |
function logBytes19(bytes19 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); | |
} | |
function logBytes20(bytes20 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); | |
} | |
function logBytes21(bytes21 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); | |
} | |
function logBytes22(bytes22 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); | |
} | |
function logBytes23(bytes23 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); | |
} | |
function logBytes24(bytes24 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); | |
} | |
function logBytes25(bytes25 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); | |
} | |
function logBytes26(bytes26 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); | |
} | |
function logBytes27(bytes27 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); | |
} | |
function logBytes28(bytes28 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); | |
} | |
function logBytes29(bytes29 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); | |
} | |
function logBytes30(bytes30 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); | |
} | |
function logBytes31(bytes31 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); | |
} | |
function logBytes32(bytes32 p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); | |
} | |
function log(uint p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); | |
} | |
function log(string memory p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string)", p0)); | |
} | |
function log(bool p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); | |
} | |
function log(address p0) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address)", p0)); | |
} | |
function log(uint p0, uint p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); | |
} | |
function log(uint p0, string memory p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); | |
} | |
function log(uint p0, bool p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); | |
} | |
function log(uint p0, address p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); | |
} | |
function log(string memory p0, uint p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); | |
} | |
function log(string memory p0, string memory p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); | |
} | |
function log(string memory p0, bool p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); | |
} | |
function log(string memory p0, address p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); | |
} | |
function log(bool p0, uint p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); | |
} | |
function log(bool p0, string memory p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); | |
} | |
function log(bool p0, bool p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); | |
} | |
function log(bool p0, address p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); | |
} | |
function log(address p0, uint p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); | |
} | |
function log(address p0, string memory p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); | |
} | |
function log(address p0, bool p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); | |
} | |
function log(address p0, address p1) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); | |
} | |
function log(uint p0, uint p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); | |
} | |
function log(uint p0, uint p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); | |
} | |
function log(uint p0, uint p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); | |
} | |
function log(uint p0, uint p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); | |
} | |
function log(uint p0, string memory p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); | |
} | |
function log(uint p0, string memory p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); | |
} | |
function log(uint p0, string memory p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); | |
} | |
function log(uint p0, string memory p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); | |
} | |
function log(uint p0, bool p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); | |
} | |
function log(uint p0, bool p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); | |
} | |
function log(uint p0, bool p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); | |
} | |
function log(uint p0, bool p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); | |
} | |
function log(uint p0, address p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); | |
} | |
function log(uint p0, address p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); | |
} | |
function log(uint p0, address p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); | |
} | |
function log(uint p0, address p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); | |
} | |
function log(string memory p0, uint p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); | |
} | |
function log(string memory p0, uint p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); | |
} | |
function log(string memory p0, uint p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); | |
} | |
function log(string memory p0, uint p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); | |
} | |
function log(string memory p0, string memory p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); | |
} | |
function log(string memory p0, string memory p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); | |
} | |
function log(string memory p0, string memory p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); | |
} | |
function log(string memory p0, string memory p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); | |
} | |
function log(string memory p0, bool p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); | |
} | |
function log(string memory p0, bool p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); | |
} | |
function log(string memory p0, bool p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); | |
} | |
function log(string memory p0, bool p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); | |
} | |
function log(string memory p0, address p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); | |
} | |
function log(string memory p0, address p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); | |
} | |
function log(string memory p0, address p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); | |
} | |
function log(string memory p0, address p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); | |
} | |
function log(bool p0, uint p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); | |
} | |
function log(bool p0, uint p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); | |
} | |
function log(bool p0, uint p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); | |
} | |
function log(bool p0, uint p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); | |
} | |
function log(bool p0, string memory p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); | |
} | |
function log(bool p0, string memory p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); | |
} | |
function log(bool p0, string memory p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); | |
} | |
function log(bool p0, string memory p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); | |
} | |
function log(bool p0, bool p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); | |
} | |
function log(bool p0, bool p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); | |
} | |
function log(bool p0, bool p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); | |
} | |
function log(bool p0, bool p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); | |
} | |
function log(bool p0, address p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); | |
} | |
function log(bool p0, address p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); | |
} | |
function log(bool p0, address p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); | |
} | |
function log(bool p0, address p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); | |
} | |
function log(address p0, uint p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); | |
} | |
function log(address p0, uint p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); | |
} | |
function log(address p0, uint p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); | |
} | |
function log(address p0, uint p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); | |
} | |
function log(address p0, string memory p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); | |
} | |
function log(address p0, string memory p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); | |
} | |
function log(address p0, string memory p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); | |
} | |
function log(address p0, string memory p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); | |
} | |
function log(address p0, bool p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); | |
} | |
function log(address p0, bool p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); | |
} | |
function log(address p0, bool p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); | |
} | |
function log(address p0, bool p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); | |
} | |
function log(address p0, address p1, uint p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); | |
} | |
function log(address p0, address p1, string memory p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); | |
} | |
function log(address p0, address p1, bool p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); | |
} | |
function log(address p0, address p1, address p2) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); | |
} | |
function log(uint p0, uint p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, uint p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, string memory p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, bool p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(uint p0, address p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, uint p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, string memory p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, bool p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(string memory p0, address p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, uint p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, string memory p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, bool p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(bool p0, address p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, uint p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, string memory p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, bool p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, uint p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, uint p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, uint p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, uint p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, string memory p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, string memory p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, string memory p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, string memory p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, bool p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, bool p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, bool p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, bool p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, address p2, uint p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, address p2, string memory p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, address p2, bool p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); | |
} | |
function log(address p0, address p1, address p2, address p3) internal view { | |
_sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); | |
} | |
} |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity ^0.6.8; | |
/** | |
* @dev Collection of functions related to the address type | |
*/ | |
library Address { | |
/** | |
* @dev Returns true if `account` is a contract. | |
* | |
* [IMPORTANT] | |
* ==== | |
* It is unsafe to assume that an address for which this function returns | |
* false is an externally-owned account (EOA) and not a contract. | |
* | |
* Among others, `isContract` will return false for the following | |
* types of addresses: | |
* | |
* - an externally-owned account | |
* - a contract in construction | |
* - an address where a contract will be created | |
* - an address where a contract lived, but was destroyed | |
* ==== | |
*/ | |
function isContract(address account) internal view returns (bool) { | |
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts | |
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned | |
// for accounts without code, i.e. `keccak256('')` | |
bytes32 codehash; | |
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; | |
// solhint-disable-next-line no-inline-assembly | |
assembly { | |
codehash := extcodehash(account) | |
} | |
return (codehash != accountHash && codehash != 0x0); | |
} | |
/** | |
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to | |
* `recipient`, forwarding all available gas and reverting on errors. | |
* | |
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost | |
* of certain opcodes, possibly making contracts go over the 2300 gas limit | |
* imposed by `transfer`, making them unable to receive funds via | |
* `transfer`. {sendValue} removes this limitation. | |
* | |
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. | |
* | |
* IMPORTANT: because control is transferred to `recipient`, care must be | |
* taken to not create reentrancy vulnerabilities. Consider using | |
* {ReentrancyGuard} or the | |
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. | |
*/ | |
function sendValue(address payable recipient, uint256 amount) internal { | |
require(address(this).balance >= amount, 'Address: insufficient balance'); | |
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value | |
(bool success, ) = recipient.call{value: amount}(''); | |
require(success, 'Address: unable to send value, recipient may have reverted'); | |
} | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cf40d4b73ce751cb07eca0e10201c8ed33570f3de919ef11c6697b4bd72f804a64736f6c634300060c0033", | |
"opcodes": "PUSH1 0x56 PUSH1 0x23 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x16 JUMPI INVALID JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCF BLOCKHASH 0xD4 0xB7 EXTCODECOPY 0xE7 MLOAD 0xCB SMOD 0xEC LOG0 0xE1 MUL ADD 0xC8 0xED CALLER JUMPI 0xF RETURNDATASIZE 0xE9 NOT 0xEF GT 0xC6 PUSH10 0x7B4BD72F804A64736F6C PUSH4 0x4300060C STOP CALLER ", | |
"sourceMap": "130:2398:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220cf40d4b73ce751cb07eca0e10201c8ed33570f3de919ef11c6697b4bd72f804a64736f6c634300060c0033", | |
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xCF BLOCKHASH 0xD4 0xB7 EXTCODECOPY 0xE7 MLOAD 0xCB SMOD 0xEC LOG0 0xE1 MUL ADD 0xC8 0xED CALLER JUMPI 0xF RETURNDATASIZE 0xE9 NOT 0xEF GT 0xC6 PUSH10 0x7B4BD72F804A64736F6C PUSH4 0x4300060C STOP CALLER ", | |
"sourceMap": "130:2398:0:-:0;;;;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "17200", | |
"executionCost": "97", | |
"totalCost": "17297" | |
}, | |
"internal": { | |
"isContract(address)": "infinite", | |
"sendValue(address payable,uint256)": "infinite" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
{ | |
"compiler": { | |
"version": "0.6.12+commit.27d51765" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"details": "Collection of functions related to the address type", | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/interfaces/Address.sol": "Address" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/interfaces/Address.sol": { | |
"keccak256": "0xae9b8afc6cd142453ed5560eca20d36f1c3fa6075c37ed142c2bee7736ba4da0", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://d0245c2424102543c1d3d084f288321643ef7b0d145b97d9236699bdfc76ebf7", | |
"dweb:/ipfs/QmZgfoVKiWda2k1tsS82bxAfis4rxfQcj9Cr66o7tra4sC" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a6cfa46ca6b1a9420185a948b4d307bd39663b2be6ef4b40b308a246d309b90064736f6c634300060c0033", | |
"opcodes": "PUSH1 0x56 PUSH1 0x23 PUSH1 0xB DUP3 DUP3 DUP3 CODECOPY DUP1 MLOAD PUSH1 0x0 BYTE PUSH1 0x73 EQ PUSH1 0x16 JUMPI INVALID JUMPDEST ADDRESS PUSH1 0x0 MSTORE PUSH1 0x73 DUP2 MSTORE8 DUP3 DUP2 RETURN INVALID PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA6 0xCF LOG4 PUSH13 0xA6B1A9420185A948B4D307BD39 PUSH7 0x3B2BE6EF4B40B3 ADDMOD LOG2 CHAINID 0xD3 MULMOD 0xB9 STOP PUSH5 0x736F6C6343 STOP MOD 0xC STOP CALLER ", | |
"sourceMap": "62:1467:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a6cfa46ca6b1a9420185a948b4d307bd39663b2be6ef4b40b308a246d309b90064736f6c634300060c0033", | |
"opcodes": "PUSH20 0x0 ADDRESS EQ PUSH1 0x80 PUSH1 0x40 MSTORE PUSH1 0x0 DUP1 REVERT INVALID LOG2 PUSH5 0x6970667358 0x22 SLT KECCAK256 0xA6 0xCF LOG4 PUSH13 0xA6B1A9420185A948B4D307BD39 PUSH7 0x3B2BE6EF4B40B3 ADDMOD LOG2 CHAINID 0xD3 MULMOD 0xB9 STOP PUSH5 0x736F6C6343 STOP MOD 0xC STOP CALLER ", | |
"sourceMap": "62:1467:0:-:0;;;;;;;;" | |
}, | |
"gasEstimates": { | |
"creation": { | |
"codeDepositCost": "17200", | |
"executionCost": "97", | |
"totalCost": "17297" | |
} | |
}, | |
"methodIdentifiers": {} | |
}, | |
"abi": [] | |
} |
{ | |
"compiler": { | |
"version": "0.6.12+commit.27d51765" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/interfaces/DataTypesV2.sol": "DataTypes" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/interfaces/DataTypesV2.sol": { | |
"keccak256": "0x1b41fcfe8e376be15df0572c252ad82e0d07b30f60e60764ce0bebf2fc783dbc", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://36dbb464c791c95f72097e6cd299ce39408d3c3f93021d6b8e60f5acec1456d7", | |
"dweb:/ipfs/QmWAPrBfLAVqLeSFJ3M1UW8UtjNfz1RPzyhiAEzpMKJSa7" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"ADDRESSES_PROVIDER()": "0542975c", | |
"LENDING_POOL()": "b4dcfc77", | |
"executeOperation(address[],uint256[],uint256[],address,bytes)": "920f5c84" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract ILendingPoolAddressesProviderV2", | |
"name": "provider", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "ADDRESSES_PROVIDER", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolAddressesProviderV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "LENDING_POOL", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "assets", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "premiums", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "initiator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "params", | |
"type": "bytes" | |
} | |
], | |
"name": "executeOperation", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.6.12+commit.27d51765" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [ | |
{ | |
"internalType": "contract ILendingPoolAddressesProviderV2", | |
"name": "provider", | |
"type": "address" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "constructor" | |
}, | |
{ | |
"inputs": [], | |
"name": "ADDRESSES_PROVIDER", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolAddressesProviderV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "LENDING_POOL", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "assets", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "premiums", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "initiator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "params", | |
"type": "bytes" | |
} | |
], | |
"name": "executeOperation", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"kind": "dev", | |
"methods": {}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"notice": "!!! Never keep funds permanently on your FlashLoanReceiverBase contract as they could be exposed to a 'griefing' attack, where the stored funds are used by an attacker. !!!", | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/interfaces/FlashLoanReceiverBase.sol": "FlashLoanReceiverBase" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/interfaces/Address.sol": { | |
"keccak256": "0xae9b8afc6cd142453ed5560eca20d36f1c3fa6075c37ed142c2bee7736ba4da0", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://d0245c2424102543c1d3d084f288321643ef7b0d145b97d9236699bdfc76ebf7", | |
"dweb:/ipfs/QmZgfoVKiWda2k1tsS82bxAfis4rxfQcj9Cr66o7tra4sC" | |
] | |
}, | |
"contracts/interfaces/DataTypesV2.sol": { | |
"keccak256": "0x1b41fcfe8e376be15df0572c252ad82e0d07b30f60e60764ce0bebf2fc783dbc", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://36dbb464c791c95f72097e6cd299ce39408d3c3f93021d6b8e60f5acec1456d7", | |
"dweb:/ipfs/QmWAPrBfLAVqLeSFJ3M1UW8UtjNfz1RPzyhiAEzpMKJSa7" | |
] | |
}, | |
"contracts/interfaces/FlashLoanReceiverBase.sol": { | |
"keccak256": "0x7564b17fe18d713d39c4eaa6b6692bde3cfa5cf59aa4becae48a0704fdb1697b", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://c9efe74fb09f82c8b9223f5abfb1c7acc42dc5f48f74378ec0588e4de988b799", | |
"dweb:/ipfs/QmbafbYAzjsTpxmaUAobbHgEGNo2SF4XfydG68vikB28nC" | |
] | |
}, | |
"contracts/interfaces/IERC20.sol": { | |
"keccak256": "0x30b0b76aa4a51e17ff1256e54d59a2035173607b13edd42ddcfd14344f72e057", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://5343701ac99cbe6903a7105fee41b87e1efa468cfac6af23497d3b5ecc6987ea", | |
"dweb:/ipfs/QmXkPD1G2mk21b79bD7LDqQxT3EYAy6wxkvULLNWXWKrYJ" | |
] | |
}, | |
"contracts/interfaces/IFlashLoanReceiverV2.sol": { | |
"keccak256": "0x9de5546cd7196997e29d9d4ef8a6d8b014663ce76f38dc73442176950f5ee5c7", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://dedcb2bfc8feedcc25c0eb9d002b3c3f1a3b4de1f8807aba0f6f398bffb93a34", | |
"dweb:/ipfs/QmXdQcvsiqbNT2AHFUnMHtJo2Rjvunc2uChyPGxERHLJ9f" | |
] | |
}, | |
"contracts/interfaces/ILendingPoolAddressesProviderV2.sol": { | |
"keccak256": "0xff537ce33accee78095bbd6145991b539f9b78a24fedd1c1920365d216315569", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://764cde82c7ce482a31378e5763eb2876a8fe04e041e66f2175c40001e78bc03c", | |
"dweb:/ipfs/QmcxPRMGAADncXHCv2qKQ5wPSiCiBRput9QhsLHxSTZ8qd" | |
] | |
}, | |
"contracts/interfaces/ILendingPoolV2.sol": { | |
"keccak256": "0xb738592c01e69d9eafcde72a6592599f3dd09159d531bd38f019d6bb9c60f863", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://9e6164f02adc1c7e40f5cb712fc55dfbe7cc114044eb7b42e5467bdbf8c46c22", | |
"dweb:/ipfs/QmSQKjB8pJu1EBErFTKpmmxLZqts8itG518CjfeetGBdZS" | |
] | |
}, | |
"contracts/interfaces/SafeERC20.sol": { | |
"keccak256": "0x5ef0600eeae5b925af910744f79f1b83e4c834b846fb674b7e7010c55f2af016", | |
"license": "MIT", | |
"urls": [ | |
"bzz-raw://796413db8b7696ea2555960e682cf15a09b86df9ad334b56cdd197b2dfcf07c4", | |
"dweb:/ipfs/QmZqsdV6jL99KewMnuUr4jSzLfMxDyUZ9vWjWLjgbHfpgJ" | |
] | |
}, | |
"contracts/interfaces/SafeMath.sol": { | |
"keccak256": "0x07750459bd7c8e169c015316c1eb9df8429452f6ce9e00a6aec048214a31df75", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://75c2748aa0e703e040c3383be831c8e083ea2e0c363eb4b50b79c863efd163f3", | |
"dweb:/ipfs/QmWAqwucCxkEFqbtXEJHrQPG4oDE745fiTomr2nLgnfz2i" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"allowance(address,address)": "dd62ed3e", | |
"approve(address,uint256)": "095ea7b3", | |
"balanceOf(address)": "70a08231", | |
"totalSupply()": "18160ddd", | |
"transfer(address,uint256)": "a9059cbb", | |
"transferFrom(address,address,uint256)": "23b872dd" | |
} | |
}, | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Approval", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Transfer", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "spender", | |
"type": "address" | |
} | |
], | |
"name": "allowance", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "approve", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
} | |
], | |
"name": "balanceOf", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "totalSupply", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "recipient", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "transfer", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "sender", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "recipient", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "transferFrom", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.6.12+commit.27d51765" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Approval", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "from", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "to", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "value", | |
"type": "uint256" | |
} | |
], | |
"name": "Transfer", | |
"type": "event" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "owner", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "spender", | |
"type": "address" | |
} | |
], | |
"name": "allowance", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "spender", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "approve", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "account", | |
"type": "address" | |
} | |
], | |
"name": "balanceOf", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "totalSupply", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "recipient", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "transfer", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "sender", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "recipient", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "amount", | |
"type": "uint256" | |
} | |
], | |
"name": "transferFrom", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"details": "Interface of the ERC20 standard as defined in the EIP.", | |
"events": { | |
"Approval(address,address,uint256)": { | |
"details": "Emitted when the allowance of a `spender` for an `owner` is set by a call to {approve}. `value` is the new allowance." | |
}, | |
"Transfer(address,address,uint256)": { | |
"details": "Emitted when `value` tokens are moved from one account (`from`) to another (`to`). Note that `value` may be zero." | |
} | |
}, | |
"kind": "dev", | |
"methods": { | |
"allowance(address,address)": { | |
"details": "Returns the remaining number of tokens that `spender` will be allowed to spend on behalf of `owner` through {transferFrom}. This is zero by default. This value changes when {approve} or {transferFrom} are called." | |
}, | |
"approve(address,uint256)": { | |
"details": "Sets `amount` as the allowance of `spender` over the caller's tokens. Returns a boolean value indicating whether the operation succeeded. IMPORTANT: Beware that changing an allowance with this method brings the risk that someone may use both the old and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 Emits an {Approval} event." | |
}, | |
"balanceOf(address)": { | |
"details": "Returns the amount of tokens owned by `account`." | |
}, | |
"totalSupply()": { | |
"details": "Returns the amount of tokens in existence." | |
}, | |
"transfer(address,uint256)": { | |
"details": "Moves `amount` tokens from the caller's account to `recipient`. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." | |
}, | |
"transferFrom(address,address,uint256)": { | |
"details": "Moves `amount` tokens from `sender` to `recipient` using the allowance mechanism. `amount` is then deducted from the caller's allowance. Returns a boolean value indicating whether the operation succeeded. Emits a {Transfer} event." | |
} | |
}, | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/interfaces/IERC20.sol": "IERC20" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/interfaces/IERC20.sol": { | |
"keccak256": "0x30b0b76aa4a51e17ff1256e54d59a2035173607b13edd42ddcfd14344f72e057", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://5343701ac99cbe6903a7105fee41b87e1efa468cfac6af23497d3b5ecc6987ea", | |
"dweb:/ipfs/QmXkPD1G2mk21b79bD7LDqQxT3EYAy6wxkvULLNWXWKrYJ" | |
] | |
} | |
}, | |
"version": 1 | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"ADDRESSES_PROVIDER()": "0542975c", | |
"LENDING_POOL()": "b4dcfc77", | |
"executeOperation(address[],uint256[],uint256[],address,bytes)": "920f5c84" | |
} | |
}, | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "ADDRESSES_PROVIDER", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolAddressesProviderV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "LENDING_POOL", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "assets", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "premiums", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "initiator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "params", | |
"type": "bytes" | |
} | |
], | |
"name": "executeOperation", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
] | |
} |
{ | |
"compiler": { | |
"version": "0.6.12+commit.27d51765" | |
}, | |
"language": "Solidity", | |
"output": { | |
"abi": [ | |
{ | |
"inputs": [], | |
"name": "ADDRESSES_PROVIDER", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolAddressesProviderV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "LENDING_POOL", | |
"outputs": [ | |
{ | |
"internalType": "contract ILendingPoolV2", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "assets", | |
"type": "address[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "amounts", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "uint256[]", | |
"name": "premiums", | |
"type": "uint256[]" | |
}, | |
{ | |
"internalType": "address", | |
"name": "initiator", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "params", | |
"type": "bytes" | |
} | |
], | |
"name": "executeOperation", | |
"outputs": [ | |
{ | |
"internalType": "bool", | |
"name": "", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
} | |
], | |
"devdoc": { | |
"author": "Aave", | |
"details": "implement this interface to develop a flashloan-compatible flashLoanReceiver contract*", | |
"kind": "dev", | |
"methods": {}, | |
"title": "IFlashLoanReceiver interface", | |
"version": 1 | |
}, | |
"userdoc": { | |
"kind": "user", | |
"methods": {}, | |
"notice": "Interface for the Aave fee IFlashLoanReceiver.", | |
"version": 1 | |
} | |
}, | |
"settings": { | |
"compilationTarget": { | |
"contracts/interfaces/IFlashLoanReceiverV2.sol": "IFlashLoanReceiver" | |
}, | |
"evmVersion": "istanbul", | |
"libraries": {}, | |
"metadata": { | |
"bytecodeHash": "ipfs" | |
}, | |
"optimizer": { | |
"enabled": false, | |
"runs": 200 | |
}, | |
"remappings": [] | |
}, | |
"sources": { | |
"contracts/interfaces/DataTypesV2.sol": { | |
"keccak256": "0x1b41fcfe8e376be15df0572c252ad82e0d07b30f60e60764ce0bebf2fc783dbc", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://36dbb464c791c95f72097e6cd299ce39408d3c3f93021d6b8e60f5acec1456d7", | |
"dweb:/ipfs/QmWAPrBfLAVqLeSFJ3M1UW8UtjNfz1RPzyhiAEzpMKJSa7" | |
] | |
}, | |
"contracts/interfaces/IFlashLoanReceiverV2.sol": { | |
"keccak256": "0x9de5546cd7196997e29d9d4ef8a6d8b014663ce76f38dc73442176950f5ee5c7", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://dedcb2bfc8feedcc25c0eb9d002b3c3f1a3b4de1f8807aba0f6f398bffb93a34", | |
"dweb:/ipfs/QmXdQcvsiqbNT2AHFUnMHtJo2Rjvunc2uChyPGxERHLJ9f" | |
] | |
}, | |
"contracts/interfaces/ILendingPoolAddressesProviderV2.sol": { | |
"keccak256": "0xff537ce33accee78095bbd6145991b539f9b78a24fedd1c1920365d216315569", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://764cde82c7ce482a31378e5763eb2876a8fe04e041e66f2175c40001e78bc03c", | |
"dweb:/ipfs/QmcxPRMGAADncXHCv2qKQ5wPSiCiBRput9QhsLHxSTZ8qd" | |
] | |
}, | |
"contracts/interfaces/ILendingPoolV2.sol": { | |
"keccak256": "0xb738592c01e69d9eafcde72a6592599f3dd09159d531bd38f019d6bb9c60f863", | |
"license": "agpl-3.0", | |
"urls": [ | |
"bzz-raw://9e6164f02adc1c7e40f5cb712fc55dfbe7cc114044eb7b42e5467bdbf8c46c22", | |
"dweb:/ipfs/QmSQKjB8pJu1EBErFTKpmmxLZqts8itG518CjfeetGBdZS" | |
] | |
} | |
}, | |
"version": 1 | |
} |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity ^0.6.0; | |
library DataTypes { | |
// refer to the whitepaper, section 1.1 basic concepts for a formal description of these properties. | |
struct ReserveData { | |
//stores the reserve configuration | |
ReserveConfigurationMap configuration; | |
//the liquidity index. Expressed in ray | |
uint128 liquidityIndex; | |
//variable borrow index. Expressed in ray | |
uint128 variableBorrowIndex; | |
//the current supply rate. Expressed in ray | |
uint128 currentLiquidityRate; | |
//the current variable borrow rate. Expressed in ray | |
uint128 currentVariableBorrowRate; | |
//the current stable borrow rate. Expressed in ray | |
uint128 currentStableBorrowRate; | |
uint40 lastUpdateTimestamp; | |
//tokens addresses | |
address aTokenAddress; | |
address stableDebtTokenAddress; | |
address variableDebtTokenAddress; | |
//address of the interest rate strategy | |
address interestRateStrategyAddress; | |
//the id of the reserve. Represents the position in the list of the active reserves | |
uint8 id; | |
} | |
struct ReserveConfigurationMap { | |
//bit 0-15: LTV | |
//bit 16-31: Liq. threshold | |
//bit 32-47: Liq. bonus | |
//bit 48-55: Decimals | |
//bit 56: Reserve is active | |
//bit 57: reserve is frozen | |
//bit 58: borrowing is enabled | |
//bit 59: stable rate borrowing enabled | |
//bit 60-63: reserved | |
//bit 64-79: reserve factor | |
uint256 data; | |
} | |
struct UserConfigurationMap { | |
uint256 data; | |
} | |
enum InterestRateMode {NONE, STABLE, VARIABLE} | |
} |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity ^0.6.8; | |
import { SafeMath } from './SafeMath.sol'; | |
import { IERC20 } from './IERC20.sol'; | |
import { SafeERC20 } from './SafeERC20.sol'; | |
import { IFlashLoanReceiver } from './IFlashLoanReceiverV2.sol'; | |
import { ILendingPoolAddressesProviderV2 } from './ILendingPoolAddressesProviderV2.sol'; | |
import { ILendingPoolV2 } from './ILendingPoolV2.sol'; | |
/** | |
!!! | |
Never keep funds permanently on your FlashLoanReceiverBase contract as they could be | |
exposed to a 'griefing' attack, where the stored funds are used by an attacker. | |
!!! | |
*/ | |
abstract contract FlashLoanReceiverBase is IFlashLoanReceiver { | |
using SafeERC20 for IERC20; | |
using SafeMath for uint256; | |
ILendingPoolAddressesProviderV2 public immutable override ADDRESSES_PROVIDER; | |
ILendingPoolV2 public immutable override LENDING_POOL; | |
constructor(ILendingPoolAddressesProviderV2 provider) public { | |
ADDRESSES_PROVIDER = provider; | |
LENDING_POOL = ILendingPoolV2(provider.getLendingPool()); | |
} | |
} |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity ^0.6.8; | |
/** | |
* @dev Interface of the ERC20 standard as defined in the EIP. | |
*/ | |
interface IERC20 { | |
/** | |
* @dev Returns the amount of tokens in existence. | |
*/ | |
function totalSupply() external view returns (uint256); | |
/** | |
* @dev Returns the amount of tokens owned by `account`. | |
*/ | |
function balanceOf(address account) external view returns (uint256); | |
/** | |
* @dev Moves `amount` tokens from the caller's account to `recipient`. | |
* | |
* Returns a boolean value indicating whether the operation succeeded. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function transfer(address recipient, uint256 amount) external returns (bool); | |
/** | |
* @dev Returns the remaining number of tokens that `spender` will be | |
* allowed to spend on behalf of `owner` through {transferFrom}. This is | |
* zero by default. | |
* | |
* This value changes when {approve} or {transferFrom} are called. | |
*/ | |
function allowance(address owner, address spender) external view returns (uint256); | |
/** | |
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens. | |
* | |
* Returns a boolean value indicating whether the operation succeeded. | |
* | |
* IMPORTANT: Beware that changing an allowance with this method brings the risk | |
* that someone may use both the old and the new allowance by unfortunate | |
* transaction ordering. One possible solution to mitigate this race | |
* condition is to first reduce the spender's allowance to 0 and set the | |
* desired value afterwards: | |
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 | |
* | |
* Emits an {Approval} event. | |
*/ | |
function approve(address spender, uint256 amount) external returns (bool); | |
/** | |
* @dev Moves `amount` tokens from `sender` to `recipient` using the | |
* allowance mechanism. `amount` is then deducted from the caller's | |
* allowance. | |
* | |
* Returns a boolean value indicating whether the operation succeeded. | |
* | |
* Emits a {Transfer} event. | |
*/ | |
function transferFrom( | |
address sender, | |
address recipient, | |
uint256 amount | |
) external returns (bool); | |
/** | |
* @dev Emitted when `value` tokens are moved from one account (`from`) to | |
* another (`to`). | |
* | |
* Note that `value` may be zero. | |
*/ | |
event Transfer(address indexed from, address indexed to, uint256 value); | |
/** | |
* @dev Emitted when the allowance of a `spender` for an `owner` is set by | |
* a call to {approve}. `value` is the new allowance. | |
*/ | |
event Approval(address indexed owner, address indexed spender, uint256 value); | |
} |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity ^0.6.0; | |
import { ILendingPoolAddressesProviderV2 } from './ILendingPoolAddressesProviderV2.sol'; | |
import { ILendingPoolV2 } from './ILendingPoolV2.sol'; | |
/** | |
* @title IFlashLoanReceiver interface | |
* @notice Interface for the Aave fee IFlashLoanReceiver. | |
* @author Aave | |
* @dev implement this interface to develop a flashloan-compatible flashLoanReceiver contract | |
**/ | |
interface IFlashLoanReceiver { | |
function executeOperation( | |
address[] calldata assets, | |
uint256[] calldata amounts, | |
uint256[] calldata premiums, | |
address initiator, | |
bytes calldata params | |
) external returns (bool); | |
function ADDRESSES_PROVIDER() external view returns (ILendingPoolAddressesProviderV2); | |
function LENDING_POOL() external view returns (ILendingPoolV2); | |
} | |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.6.0; | |
/** | |
@title ILendingPoolAddressesProvider interface | |
@notice provides the interface to fetch the LendingPoolCore address | |
*/ | |
interface ILendingPoolAddressesProviderV1 { | |
function getLendingPool() external view returns (address); | |
function setLendingPoolImpl(address _pool) external; | |
function getLendingPoolCore() external view returns (address payable); | |
function setLendingPoolCoreImpl(address _lendingPoolCore) external; | |
function getLendingPoolConfigurator() external view returns (address); | |
function setLendingPoolConfiguratorImpl(address _configurator) external; | |
function getLendingPoolDataProvider() external view returns (address); | |
function setLendingPoolDataProviderImpl(address _provider) external; | |
function getLendingPoolParametersProvider() external view returns (address); | |
function setLendingPoolParametersProviderImpl(address _parametersProvider) external; | |
function getTokenDistributor() external view returns (address); | |
function setTokenDistributor(address _tokenDistributor) external; | |
function getFeeProvider() external view returns (address); | |
function setFeeProviderImpl(address _feeProvider) external; | |
function getLendingPoolLiquidationManager() external view returns (address); | |
function setLendingPoolLiquidationManager(address _manager) external; | |
function getLendingPoolManager() external view returns (address); | |
function setLendingPoolManager(address _lendingPoolManager) external; | |
function getPriceOracle() external view returns (address); | |
function setPriceOracle(address _priceOracle) external; | |
function getLendingRateOracle() external view returns (address); | |
function setLendingRateOracle(address _lendingRateOracle) external; | |
} |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity ^0.6.0; | |
/** | |
* @title LendingPoolAddressesProvider contract | |
* @dev Main registry of addresses part of or connected to the protocol, including permissioned roles | |
* - Acting also as factory of proxies and admin of those, so with right to change its implementations | |
* - Owned by the Aave Governance | |
* @author Aave | |
**/ | |
interface ILendingPoolAddressesProviderV2 { | |
event MarketIdSet(string newMarketId); | |
event LendingPoolUpdated(address indexed newAddress); | |
event ConfigurationAdminUpdated(address indexed newAddress); | |
event EmergencyAdminUpdated(address indexed newAddress); | |
event LendingPoolConfiguratorUpdated(address indexed newAddress); | |
event LendingPoolCollateralManagerUpdated(address indexed newAddress); | |
event PriceOracleUpdated(address indexed newAddress); | |
event LendingRateOracleUpdated(address indexed newAddress); | |
event ProxyCreated(bytes32 id, address indexed newAddress); | |
event AddressSet(bytes32 id, address indexed newAddress, bool hasProxy); | |
function getMarketId() external view returns (string memory); | |
function setMarketId(string calldata marketId) external; | |
function setAddress(bytes32 id, address newAddress) external; | |
function setAddressAsProxy(bytes32 id, address impl) external; | |
function getAddress(bytes32 id) external view returns (address); | |
function getLendingPool() external view returns (address); | |
function setLendingPoolImpl(address pool) external; | |
function getLendingPoolConfigurator() external view returns (address); | |
function setLendingPoolConfiguratorImpl(address configurator) external; | |
function getLendingPoolCollateralManager() external view returns (address); | |
function setLendingPoolCollateralManager(address manager) external; | |
function getPoolAdmin() external view returns (address); | |
function setPoolAdmin(address admin) external; | |
function getEmergencyAdmin() external view returns (address); | |
function setEmergencyAdmin(address admin) external; | |
function getPriceOracle() external view returns (address); | |
function setPriceOracle(address priceOracle) external; | |
function getLendingRateOracle() external view returns (address); | |
function setLendingRateOracle(address lendingRateOracle) external; | |
} |
// SPDX-License-Identifier: UNLICENSED | |
// !! THIS FILE WAS AUTOGENERATED BY abi-to-sol. SEE BELOW FOR SOURCE. !! | |
pragma solidity ^0.6.0; | |
pragma experimental ABIEncoderV2; | |
interface ILendingPoolV1 { | |
event Borrow( address indexed _reserve,address indexed _user,uint256 _amount,uint256 _borrowRateMode,uint256 _borrowRate,uint256 _originationFee,uint256 _borrowBalanceIncrease,uint16 indexed _referral,uint256 _timestamp ) ; | |
event Deposit( address indexed _reserve,address indexed _user,uint256 _amount,uint16 indexed _referral,uint256 _timestamp ) ; | |
event FlashLoan( address indexed _target,address indexed _reserve,uint256 _amount,uint256 _totalFee,uint256 _protocolFee,uint256 _timestamp ) ; | |
event LiquidationCall( address indexed _collateral,address indexed _reserve,address indexed _user,uint256 _purchaseAmount,uint256 _liquidatedCollateralAmount,uint256 _accruedBorrowInterest,address _liquidator,bool _receiveAToken,uint256 _timestamp ) ; | |
event OriginationFeeLiquidated( address indexed _collateral,address indexed _reserve,address indexed _user,uint256 _feeLiquidated,uint256 _liquidatedCollateralForFee,uint256 _timestamp ) ; | |
event RebalanceStableBorrowRate( address indexed _reserve,address indexed _user,uint256 _newStableRate,uint256 _borrowBalanceIncrease,uint256 _timestamp ) ; | |
event RedeemUnderlying( address indexed _reserve,address indexed _user,uint256 _amount,uint256 _timestamp ) ; | |
event Repay( address indexed _reserve,address indexed _user,address indexed _repayer,uint256 _amountMinusFees,uint256 _fees,uint256 _borrowBalanceIncrease,uint256 _timestamp ) ; | |
event ReserveUsedAsCollateralDisabled( address indexed _reserve,address indexed _user ) ; | |
event ReserveUsedAsCollateralEnabled( address indexed _reserve,address indexed _user ) ; | |
event Swap( address indexed _reserve,address indexed _user,uint256 _newRateMode,uint256 _newRate,uint256 _borrowBalanceIncrease,uint256 _timestamp ) ; | |
function LENDINGPOOL_REVISION( ) external view returns (uint256 ) ; | |
function UINT_MAX_VALUE( ) external view returns (uint256 ) ; | |
function addressesProvider( ) external view returns (address ) ; | |
function core( ) external view returns (address ) ; | |
function dataProvider( ) external view returns (address ) ; | |
function parametersProvider( ) external view returns (address ) ; | |
function initialize( address _addressesProvider ) external ; | |
function deposit( address _reserve,uint256 _amount,uint16 _referralCode ) external payable ; | |
function redeemUnderlying( address _reserve,address _user,uint256 _amount,uint256 _aTokenBalanceAfterRedeem ) external ; | |
function borrow( address _reserve,uint256 _amount,uint256 _interestRateMode,uint16 _referralCode ) external ; | |
function repay( address _reserve,uint256 _amount,address _onBehalfOf ) external payable ; | |
function swapBorrowRateMode( address _reserve ) external ; | |
function rebalanceStableBorrowRate( address _reserve,address _user ) external ; | |
function setUserUseReserveAsCollateral( address _reserve,bool _useAsCollateral ) external ; | |
function liquidationCall( address _collateral,address _reserve,address _user,uint256 _purchaseAmount,bool _receiveAToken ) external payable ; | |
//function flashLoan( address _receiver,address _reserve,uint256 _amount,bytes memory _params ) external ; | |
function getReserveConfigurationData( address _reserve ) external view returns (uint256 ltv, uint256 liquidationThreshold, uint256 liquidationBonus, address interestRateStrategyAddress, bool usageAsCollateralEnabled, bool borrowingEnabled, bool stableBorrowRateEnabled, bool isActive) ; | |
function getReserveData( address _reserve ) external view returns (uint256 totalLiquidity, uint256 availableLiquidity, uint256 totalBorrowsStable, uint256 totalBorrowsVariable, uint256 liquidityRate, uint256 variableBorrowRate, uint256 stableBorrowRate, uint256 averageStableBorrowRate, uint256 utilizationRate, uint256 liquidityIndex, uint256 variableBorrowIndex, address aTokenAddress, uint40 lastUpdateTimestamp) ; | |
function getUserAccountData( address _user ) external view returns (uint256 totalLiquidityETH, uint256 totalCollateralETH, uint256 totalBorrowsETH, uint256 totalFeesETH, uint256 availableBorrowsETH, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor) ; | |
function getUserReserveData( address _reserve,address _user ) external view returns (uint256 currentATokenBalance, uint256 currentBorrowBalance, uint256 principalBorrowBalance, uint256 borrowRateMode, uint256 borrowRate, uint256 liquidityRate, uint256 originationFee, uint256 variableBorrowIndex, uint256 lastUpdateTimestamp, bool usageAsCollateralEnabled) ; | |
function getReserves( ) external view returns (address[] memory ) ; | |
} | |
// THIS FILE WAS AUTOGENERATED FROM THE FOLLOWING ABI JSON: | |
/* | |
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_borrowRateMode","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_borrowRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_originationFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_borrowBalanceIncrease","type":"uint256"},{"indexed":true,"internalType":"uint16","name":"_referral","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"Borrow","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":true,"internalType":"uint16","name":"_referral","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_target","type":"address"},{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_totalFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_protocolFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"FlashLoan","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_collateral","type":"address"},{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_purchaseAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_liquidatedCollateralAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_accruedBorrowInterest","type":"uint256"},{"indexed":false,"internalType":"address","name":"_liquidator","type":"address"},{"indexed":false,"internalType":"bool","name":"_receiveAToken","type":"bool"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"LiquidationCall","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_collateral","type":"address"},{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_feeLiquidated","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_liquidatedCollateralForFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"OriginationFeeLiquidated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_newStableRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_borrowBalanceIncrease","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"RebalanceStableBorrowRate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"RedeemUnderlying","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":true,"internalType":"address","name":"_repayer","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amountMinusFees","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_fees","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_borrowBalanceIncrease","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"Repay","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":true,"internalType":"address","name":"_user","type":"address"}],"name":"ReserveUsedAsCollateralDisabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":true,"internalType":"address","name":"_user","type":"address"}],"name":"ReserveUsedAsCollateralEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_reserve","type":"address"},{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_newRateMode","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_newRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_borrowBalanceIncrease","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"Swap","type":"event"},{"inputs":[],"name":"LENDINGPOOL_REVISION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UINT_MAX_VALUE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addressesProvider","outputs":[{"internalType":"contract LendingPoolAddressesProvider","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"core","outputs":[{"internalType":"contract LendingPoolCore","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dataProvider","outputs":[{"internalType":"contract LendingPoolDataProvider","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"parametersProvider","outputs":[{"internalType":"contract LendingPoolParametersProvider","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract LendingPoolAddressesProvider","name":"_addressesProvider","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint16","name":"_referralCode","type":"uint16"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"address payable","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_aTokenBalanceAfterRedeem","type":"uint256"}],"name":"redeemUnderlying","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_interestRateMode","type":"uint256"},{"internalType":"uint16","name":"_referralCode","type":"uint16"}],"name":"borrow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_onBehalfOf","type":"address"}],"name":"repay","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"}],"name":"swapBorrowRateMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"address","name":"_user","type":"address"}],"name":"rebalanceStableBorrowRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"bool","name":"_useAsCollateral","type":"bool"}],"name":"setUserUseReserveAsCollateral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_collateral","type":"address"},{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_purchaseAmount","type":"uint256"},{"internalType":"bool","name":"_receiveAToken","type":"bool"}],"name":"liquidationCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_params","type":"bytes"}],"name":"flashLoan","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"}],"name":"getReserveConfigurationData","outputs":[{"internalType":"uint256","name":"ltv","type":"uint256"},{"internalType":"uint256","name":"liquidationThreshold","type":"uint256"},{"internalType":"uint256","name":"liquidationBonus","type":"uint256"},{"internalType":"address","name":"interestRateStrategyAddress","type":"address"},{"internalType":"bool","name":"usageAsCollateralEnabled","type":"bool"},{"internalType":"bool","name":"borrowingEnabled","type":"bool"},{"internalType":"bool","name":"stableBorrowRateEnabled","type":"bool"},{"internalType":"bool","name":"isActive","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"}],"name":"getReserveData","outputs":[{"internalType":"uint256","name":"totalLiquidity","type":"uint256"},{"internalType":"uint256","name":"availableLiquidity","type":"uint256"},{"internalType":"uint256","name":"totalBorrowsStable","type":"uint256"},{"internalType":"uint256","name":"totalBorrowsVariable","type":"uint256"},{"internalType":"uint256","name":"liquidityRate","type":"uint256"},{"internalType":"uint256","name":"variableBorrowRate","type":"uint256"},{"internalType":"uint256","name":"stableBorrowRate","type":"uint256"},{"internalType":"uint256","name":"averageStableBorrowRate","type":"uint256"},{"internalType":"uint256","name":"utilizationRate","type":"uint256"},{"internalType":"uint256","name":"liquidityIndex","type":"uint256"},{"internalType":"uint256","name":"variableBorrowIndex","type":"uint256"},{"internalType":"address","name":"aTokenAddress","type":"address"},{"internalType":"uint40","name":"lastUpdateTimestamp","type":"uint40"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"getUserAccountData","outputs":[{"internalType":"uint256","name":"totalLiquidityETH","type":"uint256"},{"internalType":"uint256","name":"totalCollateralETH","type":"uint256"},{"internalType":"uint256","name":"totalBorrowsETH","type":"uint256"},{"internalType":"uint256","name":"totalFeesETH","type":"uint256"},{"internalType":"uint256","name":"availableBorrowsETH","type":"uint256"},{"internalType":"uint256","name":"currentLiquidationThreshold","type":"uint256"},{"internalType":"uint256","name":"ltv","type":"uint256"},{"internalType":"uint256","name":"healthFactor","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_reserve","type":"address"},{"internalType":"address","name":"_user","type":"address"}],"name":"getUserReserveData","outputs":[{"internalType":"uint256","name":"currentATokenBalance","type":"uint256"},{"internalType":"uint256","name":"currentBorrowBalance","type":"uint256"},{"internalType":"uint256","name":"principalBorrowBalance","type":"uint256"},{"internalType":"uint256","name":"borrowRateMode","type":"uint256"},{"internalType":"uint256","name":"borrowRate","type":"uint256"},{"internalType":"uint256","name":"liquidityRate","type":"uint256"},{"internalType":"uint256","name":"originationFee","type":"uint256"},{"internalType":"uint256","name":"variableBorrowIndex","type":"uint256"},{"internalType":"uint256","name":"lastUpdateTimestamp","type":"uint256"},{"internalType":"bool","name":"usageAsCollateralEnabled","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"}] | |
*/ |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity ^0.6.0; | |
pragma experimental ABIEncoderV2; | |
import {ILendingPoolAddressesProviderV2} from './ILendingPoolAddressesProviderV2.sol'; | |
import {DataTypes} from './DataTypesV2.sol'; | |
interface ILendingPoolV2 { | |
/** | |
* @dev Emitted on deposit() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address initiating the deposit | |
* @param onBehalfOf The beneficiary of the deposit, receiving the aTokens | |
* @param amount The amount deposited | |
* @param referral The referral code used | |
**/ | |
event Deposit( | |
address indexed reserve, | |
address user, | |
address indexed onBehalfOf, | |
uint256 amount, | |
uint16 indexed referral | |
); | |
/** | |
* @dev Emitted on withdraw() | |
* @param reserve The address of the underlyng asset being withdrawn | |
* @param user The address initiating the withdrawal, owner of aTokens | |
* @param to Address that will receive the underlying | |
* @param amount The amount to be withdrawn | |
**/ | |
event Withdraw(address indexed reserve, address indexed user, address indexed to, uint256 amount); | |
/** | |
* @dev Emitted on borrow() and flashLoan() when debt needs to be opened | |
* @param reserve The address of the underlying asset being borrowed | |
* @param user The address of the user initiating the borrow(), receiving the funds on borrow() or just | |
* initiator of the transaction on flashLoan() | |
* @param onBehalfOf The address that will be getting the debt | |
* @param amount The amount borrowed out | |
* @param borrowRateMode The rate mode: 1 for Stable, 2 for Variable | |
* @param borrowRate The numeric rate at which the user has borrowed | |
* @param referral The referral code used | |
**/ | |
event Borrow( | |
address indexed reserve, | |
address user, | |
address indexed onBehalfOf, | |
uint256 amount, | |
uint256 borrowRateMode, | |
uint256 borrowRate, | |
uint16 indexed referral | |
); | |
/** | |
* @dev Emitted on repay() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The beneficiary of the repayment, getting his debt reduced | |
* @param repayer The address of the user initiating the repay(), providing the funds | |
* @param amount The amount repaid | |
**/ | |
event Repay( | |
address indexed reserve, | |
address indexed user, | |
address indexed repayer, | |
uint256 amount | |
); | |
/** | |
* @dev Emitted on swapBorrowRateMode() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address of the user swapping his rate mode | |
* @param rateMode The rate mode that the user wants to swap to | |
**/ | |
event Swap(address indexed reserve, address indexed user, uint256 rateMode); | |
/** | |
* @dev Emitted on setUserUseReserveAsCollateral() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address of the user enabling the usage as collateral | |
**/ | |
event ReserveUsedAsCollateralEnabled(address indexed reserve, address indexed user); | |
/** | |
* @dev Emitted on setUserUseReserveAsCollateral() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address of the user enabling the usage as collateral | |
**/ | |
event ReserveUsedAsCollateralDisabled(address indexed reserve, address indexed user); | |
/** | |
* @dev Emitted on rebalanceStableBorrowRate() | |
* @param reserve The address of the underlying asset of the reserve | |
* @param user The address of the user for which the rebalance has been executed | |
**/ | |
event RebalanceStableBorrowRate(address indexed reserve, address indexed user); | |
/** | |
* @dev Emitted on flashLoan() | |
* @param target The address of the flash loan receiver contract | |
* @param initiator The address initiating the flash loan | |
* @param asset The address of the asset being flash borrowed | |
* @param amount The amount flash borrowed | |
* @param premium The fee flash borrowed | |
* @param referralCode The referral code used | |
**/ | |
event FlashLoan( | |
address indexed target, | |
address indexed initiator, | |
address indexed asset, | |
uint256 amount, | |
uint256 premium, | |
uint16 referralCode | |
); | |
/** | |
* @dev Emitted when the pause is triggered. | |
*/ | |
event Paused(); | |
/** | |
* @dev Emitted when the pause is lifted. | |
*/ | |
event Unpaused(); | |
/** | |
* @dev Emitted when a borrower is liquidated. This event is emitted by the LendingPool via | |
* LendingPoolCollateral manager using a DELEGATECALL | |
* This allows to have the events in the generated ABI for LendingPool. | |
* @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation | |
* @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation | |
* @param user The address of the borrower getting liquidated | |
* @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover | |
* @param liquidatedCollateralAmount The amount of collateral received by the liiquidator | |
* @param liquidator The address of the liquidator | |
* @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants | |
* to receive the underlying collateral asset directly | |
**/ | |
event LiquidationCall( | |
address indexed collateralAsset, | |
address indexed debtAsset, | |
address indexed user, | |
uint256 debtToCover, | |
uint256 liquidatedCollateralAmount, | |
address liquidator, | |
bool receiveAToken | |
); | |
/** | |
* @dev Emitted when the state of a reserve is updated. NOTE: This event is actually declared | |
* in the ReserveLogic library and emitted in the updateInterestRates() function. Since the function is internal, | |
* the event will actually be fired by the LendingPool contract. The event is therefore replicated here so it | |
* gets added to the LendingPool ABI | |
* @param reserve The address of the underlying asset of the reserve | |
* @param liquidityRate The new liquidity rate | |
* @param stableBorrowRate The new stable borrow rate | |
* @param variableBorrowRate The new variable borrow rate | |
* @param liquidityIndex The new liquidity index | |
* @param variableBorrowIndex The new variable borrow index | |
**/ | |
event ReserveDataUpdated( | |
address indexed reserve, | |
uint256 liquidityRate, | |
uint256 stableBorrowRate, | |
uint256 variableBorrowRate, | |
uint256 liquidityIndex, | |
uint256 variableBorrowIndex | |
); | |
/** | |
* @dev Deposits an `amount` of underlying asset into the reserve, receiving in return overlying aTokens. | |
* - E.g. User deposits 100 USDC and gets in return 100 aUSDC | |
* @param asset The address of the underlying asset to deposit | |
* @param amount The amount to be deposited | |
* @param onBehalfOf The address that will receive the aTokens, same as msg.sender if the user | |
* wants to receive them on his own wallet, or a different address if the beneficiary of aTokens | |
* is a different wallet | |
* @param referralCode Code used to register the integrator originating the operation, for potential rewards. | |
* 0 if the action is executed directly by the user, without any middle-man | |
**/ | |
function deposit( | |
address asset, | |
uint256 amount, | |
address onBehalfOf, | |
uint16 referralCode | |
) external; | |
/** | |
* @dev Withdraws an `amount` of underlying asset from the reserve, burning the equivalent aTokens owned | |
* E.g. User has 100 aUSDC, calls withdraw() and receives 100 USDC, burning the 100 aUSDC | |
* @param asset The address of the underlying asset to withdraw | |
* @param amount The underlying amount to be withdrawn | |
* - Send the value type(uint256).max in order to withdraw the whole aToken balance | |
* @param to Address that will receive the underlying, same as msg.sender if the user | |
* wants to receive it on his own wallet, or a different address if the beneficiary is a | |
* different wallet | |
* @return The final amount withdrawn | |
**/ | |
function withdraw( | |
address asset, | |
uint256 amount, | |
address to | |
) external returns (uint256); | |
/** | |
* @dev Allows users to borrow a specific `amount` of the reserve underlying asset, provided that the borrower | |
* already deposited enough collateral, or he was given enough allowance by a credit delegator on the | |
* corresponding debt token (StableDebtToken or VariableDebtToken) | |
* - E.g. User borrows 100 USDC passing as `onBehalfOf` his own address, receiving the 100 USDC in his wallet | |
* and 100 stable/variable debt tokens, depending on the `interestRateMode` | |
* @param asset The address of the underlying asset to borrow | |
* @param amount The amount to be borrowed | |
* @param interestRateMode The interest rate mode at which the user wants to borrow: 1 for Stable, 2 for Variable | |
* @param referralCode Code used to register the integrator originating the operation, for potential rewards. | |
* 0 if the action is executed directly by the user, without any middle-man | |
* @param onBehalfOf Address of the user who will receive the debt. Should be the address of the borrower itself | |
* calling the function if he wants to borrow against his own collateral, or the address of the credit delegator | |
* if he has been given credit delegation allowance | |
**/ | |
function borrow( | |
address asset, | |
uint256 amount, | |
uint256 interestRateMode, | |
uint16 referralCode, | |
address onBehalfOf | |
) external; | |
/** | |
* @notice Repays a borrowed `amount` on a specific reserve, burning the equivalent debt tokens owned | |
* - E.g. User repays 100 USDC, burning 100 variable/stable debt tokens of the `onBehalfOf` address | |
* @param asset The address of the borrowed underlying asset previously borrowed | |
* @param amount The amount to repay | |
* - Send the value type(uint256).max in order to repay the whole debt for `asset` on the specific `debtMode` | |
* @param rateMode The interest rate mode at of the debt the user wants to repay: 1 for Stable, 2 for Variable | |
* @param onBehalfOf Address of the user who will get his debt reduced/removed. Should be the address of the | |
* user calling the function if he wants to reduce/remove his own debt, or the address of any other | |
* other borrower whose debt should be removed | |
* @return The final amount repaid | |
**/ | |
function repay( | |
address asset, | |
uint256 amount, | |
uint256 rateMode, | |
address onBehalfOf | |
) external returns (uint256); | |
/** | |
* @dev Allows a borrower to swap his debt between stable and variable mode, or viceversa | |
* @param asset The address of the underlying asset borrowed | |
* @param rateMode The rate mode that the user wants to swap to | |
**/ | |
function swapBorrowRateMode(address asset, uint256 rateMode) external; | |
/** | |
* @dev Rebalances the stable interest rate of a user to the current stable rate defined on the reserve. | |
* - Users can be rebalanced if the following conditions are satisfied: | |
* 1. Usage ratio is above 95% | |
* 2. the current deposit APY is below REBALANCE_UP_THRESHOLD * maxVariableBorrowRate, which means that too much has been | |
* borrowed at a stable rate and depositors are not earning enough | |
* @param asset The address of the underlying asset borrowed | |
* @param user The address of the user to be rebalanced | |
**/ | |
function rebalanceStableBorrowRate(address asset, address user) external; | |
/** | |
* @dev Allows depositors to enable/disable a specific deposited asset as collateral | |
* @param asset The address of the underlying asset deposited | |
* @param useAsCollateral `true` if the user wants to use the deposit as collateral, `false` otherwise | |
**/ | |
function setUserUseReserveAsCollateral(address asset, bool useAsCollateral) external; | |
/** | |
* @dev Function to liquidate a non-healthy position collateral-wise, with Health Factor below 1 | |
* - The caller (liquidator) covers `debtToCover` amount of debt of the user getting liquidated, and receives | |
* a proportionally amount of the `collateralAsset` plus a bonus to cover market risk | |
* @param collateralAsset The address of the underlying asset used as collateral, to receive as result of the liquidation | |
* @param debtAsset The address of the underlying borrowed asset to be repaid with the liquidation | |
* @param user The address of the borrower getting liquidated | |
* @param debtToCover The debt amount of borrowed `asset` the liquidator wants to cover | |
* @param receiveAToken `true` if the liquidators wants to receive the collateral aTokens, `false` if he wants | |
* to receive the underlying collateral asset directly | |
**/ | |
function liquidationCall( | |
address collateralAsset, | |
address debtAsset, | |
address user, | |
uint256 debtToCover, | |
bool receiveAToken | |
) external; | |
/** | |
* @dev Allows smartcontracts to access the liquidity of the pool within one transaction, | |
* as long as the amount taken plus a fee is returned. | |
* IMPORTANT There are security concerns for developers of flashloan receiver contracts that must be kept into consideration. | |
* For further details please visit https://developers.aave.com | |
* @param receiverAddress The address of the contract receiving the funds, implementing the IFlashLoanReceiver interface | |
* @param assets The addresses of the assets being flash-borrowed | |
* @param amounts The amounts amounts being flash-borrowed | |
* @param modes Types of the debt to open if the flash loan is not returned: | |
* 0 -> Don't open any debt, just revert if funds can't be transferred from the receiver | |
* 1 -> Open debt at stable rate for the value of the amount flash-borrowed to the `onBehalfOf` address | |
* 2 -> Open debt at variable rate for the value of the amount flash-borrowed to the `onBehalfOf` address | |
* @param onBehalfOf The address that will receive the debt in the case of using on `modes` 1 or 2 | |
* @param params Variadic packed params to pass to the receiver as extra information | |
* @param referralCode Code used to register the integrator originating the operation, for potential rewards. | |
* 0 if the action is executed directly by the user, without any middle-man | |
**/ | |
function flashLoan( | |
address receiverAddress, | |
address[] calldata assets, | |
uint256[] calldata amounts, | |
uint256[] calldata modes, | |
address onBehalfOf, | |
bytes calldata params, | |
uint16 referralCode | |
) external; | |
/** | |
* @dev Returns the user account data across all the reserves | |
* @param user The address of the user | |
* @return totalCollateralETH the total collateral in ETH of the user | |
* @return totalDebtETH the total debt in ETH of the user | |
* @return availableBorrowsETH the borrowing power left of the user | |
* @return currentLiquidationThreshold the liquidation threshold of the user | |
* @return ltv the loan to value of the user | |
* @return healthFactor the current health factor of the user | |
**/ | |
function getUserAccountData(address user) | |
external | |
view | |
returns ( | |
uint256 totalCollateralETH, | |
uint256 totalDebtETH, | |
uint256 availableBorrowsETH, | |
uint256 currentLiquidationThreshold, | |
uint256 ltv, | |
uint256 healthFactor | |
); | |
function initReserve( | |
address reserve, | |
address aTokenAddress, | |
address stableDebtAddress, | |
address variableDebtAddress, | |
address interestRateStrategyAddress | |
) external; | |
function setReserveInterestRateStrategyAddress(address reserve, address rateStrategyAddress) | |
external; | |
function setConfiguration(address reserve, uint256 configuration) external; | |
/** | |
* @dev Returns the configuration of the reserve | |
* @param asset The address of the underlying asset of the reserve | |
* @return The configuration of the reserve | |
**/ | |
function getConfiguration(address asset) | |
external | |
view | |
returns (DataTypes.ReserveConfigurationMap memory); | |
/** | |
* @dev Returns the configuration of the user across all the reserves | |
* @param user The user address | |
* @return The configuration of the user | |
**/ | |
function getUserConfiguration(address user) | |
external | |
view | |
returns (DataTypes.UserConfigurationMap memory); | |
/** | |
* @dev Returns the normalized income normalized income of the reserve | |
* @param asset The address of the underlying asset of the reserve | |
* @return The reserve's normalized income | |
*/ | |
function getReserveNormalizedIncome(address asset) external view returns (uint256); | |
/** | |
* @dev Returns the normalized variable debt per unit of asset | |
* @param asset The address of the underlying asset of the reserve | |
* @return The reserve normalized variable debt | |
*/ | |
function getReserveNormalizedVariableDebt(address asset) external view returns (uint256); | |
/** | |
* @dev Returns the state and configuration of the reserve | |
* @param asset The address of the underlying asset of the reserve | |
* @return The state of the reserve | |
**/ | |
function getReserveData(address asset) external view returns (DataTypes.ReserveData memory); | |
function finalizeTransfer( | |
address asset, | |
address from, | |
address to, | |
uint256 amount, | |
uint256 balanceFromAfter, | |
uint256 balanceToBefore | |
) external; | |
function getReservesList() external view returns (address[] memory); | |
function getAddressesProvider() external view returns (ILendingPoolAddressesProviderV2); | |
function setPause(bool val) external; | |
function paused() external view returns (bool); | |
} |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.6.0; | |
import "./IERC20.sol"; | |
// | |
// [ msg.sender ] | |
// | | | |
// | | | |
// \_/ | |
// +---------------+ ________________________________ | |
// | OneSplitAudit | _______________________________ \ | |
// +---------------+ \ \ | |
// | | ______________ | | (staticcall) | |
// | | / ____________ \ | | | |
// | | (call) / / \ \ | | | |
// | | / / | | | | | |
// \_/ | | \_/ \_/ | |
// +--------------+ | | +----------------------+ | |
// | OneSplitWrap | | | | OneSplitViewWrap | | |
// +--------------+ | | +----------------------+ | |
// | | | | | | | |
// | | (delegatecall) | | (staticcall) | | (staticcall) | |
// \_/ | | \_/ | |
// +--------------+ | | +------------------+ | |
// | OneSplit | | | | OneSplitView | | |
// +--------------+ | | +------------------+ | |
// | | / / | |
// \ \________________/ / | |
// \__________________/ | |
// | |
contract IOneSplitConsts { | |
// flags = FLAG_DISABLE_UNISWAP + FLAG_DISABLE_BANCOR + ... | |
uint256 internal constant FLAG_DISABLE_UNISWAP = 0x01; | |
uint256 internal constant DEPRECATED_FLAG_DISABLE_KYBER = 0x02; // Deprecated | |
uint256 internal constant FLAG_DISABLE_BANCOR = 0x04; | |
uint256 internal constant FLAG_DISABLE_OASIS = 0x08; | |
uint256 internal constant FLAG_DISABLE_COMPOUND = 0x10; | |
uint256 internal constant FLAG_DISABLE_FULCRUM = 0x20; | |
uint256 internal constant FLAG_DISABLE_CHAI = 0x40; | |
uint256 internal constant FLAG_DISABLE_AAVE = 0x80; | |
uint256 internal constant FLAG_DISABLE_SMART_TOKEN = 0x100; | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_MULTI_PATH_ETH = 0x200; // Deprecated, Turned off by default | |
uint256 internal constant FLAG_DISABLE_BDAI = 0x400; | |
uint256 internal constant FLAG_DISABLE_IEARN = 0x800; | |
uint256 internal constant FLAG_DISABLE_CURVE_COMPOUND = 0x1000; | |
uint256 internal constant FLAG_DISABLE_CURVE_USDT = 0x2000; | |
uint256 internal constant FLAG_DISABLE_CURVE_Y = 0x4000; | |
uint256 internal constant FLAG_DISABLE_CURVE_BINANCE = 0x8000; | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_MULTI_PATH_DAI = 0x10000; // Deprecated, Turned off by default | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_MULTI_PATH_USDC = 0x20000; // Deprecated, Turned off by default | |
uint256 internal constant FLAG_DISABLE_CURVE_SYNTHETIX = 0x40000; | |
uint256 internal constant FLAG_DISABLE_WETH = 0x80000; | |
uint256 internal constant FLAG_DISABLE_UNISWAP_COMPOUND = 0x100000; // Works only when one of assets is ETH or FLAG_ENABLE_MULTI_PATH_ETH | |
uint256 internal constant FLAG_DISABLE_UNISWAP_CHAI = 0x200000; // Works only when ETH<>DAI or FLAG_ENABLE_MULTI_PATH_ETH | |
uint256 internal constant FLAG_DISABLE_UNISWAP_AAVE = 0x400000; // Works only when one of assets is ETH or FLAG_ENABLE_MULTI_PATH_ETH | |
uint256 internal constant FLAG_DISABLE_IDLE = 0x800000; | |
uint256 internal constant FLAG_DISABLE_MOONISWAP = 0x1000000; | |
uint256 internal constant FLAG_DISABLE_UNISWAP_V2 = 0x2000000; | |
uint256 internal constant FLAG_DISABLE_UNISWAP_V2_ETH = 0x4000000; | |
uint256 internal constant FLAG_DISABLE_UNISWAP_V2_DAI = 0x8000000; | |
uint256 internal constant FLAG_DISABLE_UNISWAP_V2_USDC = 0x10000000; | |
uint256 internal constant FLAG_DISABLE_ALL_SPLIT_SOURCES = 0x20000000; | |
uint256 internal constant FLAG_DISABLE_ALL_WRAP_SOURCES = 0x40000000; | |
uint256 internal constant FLAG_DISABLE_CURVE_PAX = 0x80000000; | |
uint256 internal constant FLAG_DISABLE_CURVE_RENBTC = 0x100000000; | |
uint256 internal constant FLAG_DISABLE_CURVE_TBTC = 0x200000000; | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_MULTI_PATH_USDT = 0x400000000; // Deprecated, Turned off by default | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_MULTI_PATH_WBTC = 0x800000000; // Deprecated, Turned off by default | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_MULTI_PATH_TBTC = 0x1000000000; // Deprecated, Turned off by default | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_MULTI_PATH_RENBTC = 0x2000000000; // Deprecated, Turned off by default | |
uint256 internal constant FLAG_DISABLE_DFORCE_SWAP = 0x4000000000; | |
uint256 internal constant FLAG_DISABLE_SHELL = 0x8000000000; | |
uint256 internal constant FLAG_ENABLE_CHI_BURN = 0x10000000000; | |
uint256 internal constant FLAG_DISABLE_MSTABLE_MUSD = 0x20000000000; | |
uint256 internal constant FLAG_DISABLE_CURVE_SBTC = 0x40000000000; | |
uint256 internal constant FLAG_DISABLE_DMM = 0x80000000000; | |
uint256 internal constant FLAG_DISABLE_UNISWAP_ALL = 0x100000000000; | |
uint256 internal constant FLAG_DISABLE_CURVE_ALL = 0x200000000000; | |
uint256 internal constant FLAG_DISABLE_UNISWAP_V2_ALL = 0x400000000000; | |
uint256 internal constant FLAG_DISABLE_SPLIT_RECALCULATION = 0x800000000000; | |
uint256 internal constant FLAG_DISABLE_BALANCER_ALL = 0x1000000000000; | |
uint256 internal constant FLAG_DISABLE_BALANCER_1 = 0x2000000000000; | |
uint256 internal constant FLAG_DISABLE_BALANCER_2 = 0x4000000000000; | |
uint256 internal constant FLAG_DISABLE_BALANCER_3 = 0x8000000000000; | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_KYBER_UNISWAP_RESERVE = 0x10000000000000; // Deprecated, Turned off by default | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_KYBER_OASIS_RESERVE = 0x20000000000000; // Deprecated, Turned off by default | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_KYBER_BANCOR_RESERVE = 0x40000000000000; // Deprecated, Turned off by default | |
uint256 internal constant FLAG_ENABLE_REFERRAL_GAS_SPONSORSHIP = 0x80000000000000; // Turned off by default | |
uint256 internal constant DEPRECATED_FLAG_ENABLE_MULTI_PATH_COMP = 0x100000000000000; // Deprecated, Turned off by default | |
uint256 internal constant FLAG_DISABLE_KYBER_ALL = 0x200000000000000; | |
uint256 internal constant FLAG_DISABLE_KYBER_1 = 0x400000000000000; | |
uint256 internal constant FLAG_DISABLE_KYBER_2 = 0x800000000000000; | |
uint256 internal constant FLAG_DISABLE_KYBER_3 = 0x1000000000000000; | |
uint256 internal constant FLAG_DISABLE_KYBER_4 = 0x2000000000000000; | |
uint256 internal constant FLAG_ENABLE_CHI_BURN_BY_ORIGIN = 0x4000000000000000; | |
uint256 internal constant FLAG_DISABLE_MOONISWAP_ALL = 0x8000000000000000; | |
uint256 internal constant FLAG_DISABLE_MOONISWAP_ETH = 0x10000000000000000; | |
uint256 internal constant FLAG_DISABLE_MOONISWAP_DAI = 0x20000000000000000; | |
uint256 internal constant FLAG_DISABLE_MOONISWAP_USDC = 0x40000000000000000; | |
uint256 internal constant FLAG_DISABLE_MOONISWAP_POOL_TOKEN = 0x80000000000000000; | |
} | |
interface IOneSplit { | |
function getExpectedReturn( | |
IERC20 fromToken, | |
IERC20 destToken, | |
uint256 amount, | |
uint256 parts, | |
uint256 flags // See constants in IOneSplit.sol | |
) | |
external | |
view | |
returns( | |
uint256 returnAmount, | |
uint256[] memory distribution | |
); | |
function getExpectedReturnWithGas( | |
IERC20 fromToken, | |
IERC20 destToken, | |
uint256 amount, | |
uint256 parts, | |
uint256 flags, // See constants in IOneSplit.sol | |
uint256 destTokenEthPriceTimesGasPrice | |
) | |
external | |
view | |
returns( | |
uint256 returnAmount, | |
uint256 estimateGasAmount, | |
uint256[] memory distribution | |
); | |
function swap( | |
IERC20 fromToken, | |
IERC20 destToken, | |
uint256 amount, | |
uint256 minReturn, | |
uint256[] memory distribution, | |
uint256 flags | |
) | |
external | |
payable | |
returns(uint256 returnAmount); | |
} | |
interface IOneSplitMulti is IOneSplit { | |
function getExpectedReturnWithGasMulti( | |
IERC20[] memory tokens, | |
uint256 amount, | |
uint256[] memory parts, | |
uint256[] memory flags, | |
uint256[] memory destTokenEthPriceTimesGasPrices | |
) | |
external | |
view | |
returns( | |
uint256[] memory returnAmounts, | |
uint256 estimateGasAmount, | |
uint256[] memory distribution | |
); | |
function swapMulti( | |
IERC20[] memory tokens, | |
uint256 amount, | |
uint256 minReturn, | |
uint256[] memory distribution, | |
uint256[] memory flags | |
) | |
external | |
payable | |
returns(uint256 returnAmount); | |
} |
// SPDX-License-Identifier: GPL-3.0 | |
interface IPriceOracleV1 { | |
function getAssetPrice(address _asset) external view returns (uint256); | |
function getAssetsPrices(address[] calldata _assets) external view returns(uint256[] memory); | |
function getSourceOfAsset(address _asset) external view returns(address); | |
function getFallbackOracle() external view returns(address); | |
} |
pragma solidity >=0.5.0; | |
interface IUniswapV2ERC20 { | |
event Approval(address indexed owner, address indexed spender, uint value); | |
event Transfer(address indexed from, address indexed to, uint value); | |
function name() external pure returns (string memory); | |
function symbol() external pure returns (string memory); | |
function decimals() external pure returns (uint8); | |
function totalSupply() external view returns (uint); | |
function balanceOf(address owner) external view returns (uint); | |
function allowance(address owner, address spender) external view returns (uint); | |
function approve(address spender, uint value) external returns (bool); | |
function transfer(address to, uint value) external returns (bool); | |
function transferFrom(address from, address to, uint value) external returns (bool); | |
function DOMAIN_SEPARATOR() external view returns (bytes32); | |
function PERMIT_TYPEHASH() external pure returns (bytes32); | |
function nonces(address owner) external view returns (uint); | |
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; | |
} |
interface IUniswapV2Factory { | |
event PairCreated(address indexed token0, address indexed token1, address pair, uint); | |
function getPair(address tokenA, address tokenB) external view returns (address pair); | |
function allPairs(uint) external view returns (address pair); | |
function allPairsLength() external view returns (uint); | |
function feeTo() external view returns (address); | |
function feeToSetter() external view returns (address); | |
function createPair(address tokenA, address tokenB) external returns (address pair); | |
} |
pragma solidity >=0.5.0; | |
interface IUniswapV2Pair { | |
event Approval(address indexed owner, address indexed spender, uint value); | |
event Transfer(address indexed from, address indexed to, uint value); | |
function name() external pure returns (string memory); | |
function symbol() external pure returns (string memory); | |
function decimals() external pure returns (uint8); | |
function totalSupply() external view returns (uint); | |
function balanceOf(address owner) external view returns (uint); | |
function allowance(address owner, address spender) external view returns (uint); | |
function approve(address spender, uint value) external returns (bool); | |
function transfer(address to, uint value) external returns (bool); | |
function transferFrom(address from, address to, uint value) external returns (bool); | |
function DOMAIN_SEPARATOR() external view returns (bytes32); | |
function PERMIT_TYPEHASH() external pure returns (bytes32); | |
function nonces(address owner) external view returns (uint); | |
function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; | |
event Mint(address indexed sender, uint amount0, uint amount1); | |
event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); | |
event Swap( | |
address indexed sender, | |
uint amount0In, | |
uint amount1In, | |
uint amount0Out, | |
uint amount1Out, | |
address indexed to | |
); | |
event Sync(uint112 reserve0, uint112 reserve1); | |
function MINIMUM_LIQUIDITY() external pure returns (uint); | |
function factory() external view returns (address); | |
function token0() external view returns (address); | |
function token1() external view returns (address); | |
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); | |
function price0CumulativeLast() external view returns (uint); | |
function price1CumulativeLast() external view returns (uint); | |
function kLast() external view returns (uint); | |
function mint(address to) external returns (uint liquidity); | |
function burn(address to) external returns (uint amount0, uint amount1); | |
function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; | |
function skim(address to) external; | |
function sync() external; | |
} |
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.6.8; | |
import {IERC20} from './IERC20.sol'; | |
import {SafeMath} from './SafeMath.sol'; | |
import {Address} from './Address.sol'; | |
/** | |
* @title SafeERC20 | |
* @dev Wrappers around ERC20 operations that throw on failure (when the token | |
* contract returns false). Tokens that return no value (and instead revert or | |
* throw on failure) are also supported, non-reverting calls are assumed to be | |
* successful. | |
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, | |
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc. | |
*/ | |
library SafeERC20 { | |
using SafeMath for uint256; | |
using Address for address; | |
function safeTransfer( | |
IERC20 token, | |
address to, | |
uint256 value | |
) internal { | |
callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); | |
} | |
function safeTransferFrom( | |
IERC20 token, | |
address from, | |
address to, | |
uint256 value | |
) internal { | |
callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); | |
} | |
function safeApprove( | |
IERC20 token, | |
address spender, | |
uint256 value | |
) internal { | |
require( | |
(value == 0) || (token.allowance(address(this), spender) == 0), | |
'SafeERC20: approve from non-zero to non-zero allowance' | |
); | |
callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); | |
} | |
function callOptionalReturn(IERC20 token, bytes memory data) private { | |
require(address(token).isContract(), 'SafeERC20: call to non-contract'); | |
// solhint-disable-next-line avoid-low-level-calls | |
(bool success, bytes memory returndata) = address(token).call(data); | |
require(success, 'SafeERC20: low-level call failed'); | |
if (returndata.length > 0) { | |
// Return data is optional | |
// solhint-disable-next-line max-line-length | |
require(abi.decode(returndata, (bool)), 'SafeERC20: ERC20 operation did not succeed'); | |
} | |
} | |
} |
// SPDX-License-Identifier: agpl-3.0 | |
pragma solidity ^0.6.0; | |
/** | |
* @dev Wrappers over Solidity's arithmetic operations with added overflow | |
* checks. | |
* | |
* Arithmetic operations in Solidity wrap on overflow. This can easily result | |
* in bugs, because programmers usually assume that an overflow raises an | |
* error, which is the standard behavior in high level programming languages. | |
* `SafeMath` restores this intuition by reverting the transaction when an | |
* operation overflows. | |
* | |
* Using this library instead of the unchecked operations eliminates an entire | |
* class of bugs, so it's recommended to use it always. | |
*/ | |
library SafeMath { | |
/** | |
* @dev Returns the addition of two unsigned integers, reverting on | |
* overflow. | |
* | |
* Counterpart to Solidity's `+` operator. | |
* | |
* Requirements: | |
* - Addition cannot overflow. | |
*/ | |
function add(uint256 a, uint256 b) internal pure returns (uint256) { | |
uint256 c = a + b; | |
require(c >= a, 'SafeMath: addition overflow'); | |
return c; | |
} | |
/** | |
* @dev Returns the subtraction of two unsigned integers, reverting on | |
* overflow (when the result is negative). | |
* | |
* Counterpart to Solidity's `-` operator. | |
* | |
* Requirements: | |
* - Subtraction cannot overflow. | |
*/ | |
function sub(uint256 a, uint256 b) internal pure returns (uint256) { | |
return sub(a, b, 'SafeMath: subtraction overflow'); | |
} | |
/** | |
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on | |
* overflow (when the result is negative). | |
* | |
* Counterpart to Solidity's `-` operator. | |
* | |
* Requirements: | |
* - Subtraction cannot overflow. | |
*/ | |
function sub( | |
uint256 a, | |
uint256 b, | |
string memory errorMessage | |
) internal pure returns (uint256) { | |
require(b <= a, errorMessage); | |
uint256 c = a - b; | |
return c; | |
} | |
/** | |
* @dev Returns the multiplication of two unsigned integers, reverting on | |
* overflow. | |
* | |
* Counterpart to Solidity's `*` operator. | |
* | |
* Requirements: | |
* - Multiplication cannot overflow. | |
*/ | |
function mul(uint256 a, uint256 b) internal pure returns (uint256) { | |
// Gas optimization: this is cheaper than requiring 'a' not being zero, but the | |
// benefit is lost if 'b' is also tested. | |
// See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 | |
if (a == 0) { | |
return 0; | |
} | |
uint256 c = a * b; | |
require(c / a == b, 'SafeMath: multiplication overflow'); | |
return c; | |
} | |
/** | |
* @dev Returns the integer division of two unsigned integers. Reverts on | |
* division by zero. The result is rounded towards zero. | |
* | |
* Counterpart to Solidity's `/` operator. Note: this function uses a | |
* `revert` opcode (which leaves remaining gas untouched) while Solidity | |
* uses an invalid opcode to revert (consuming all remaining gas). | |
* | |
* Requirements: | |
* - The divisor cannot be zero. | |
*/ | |
function div(uint256 a, uint256 b) internal pure returns (uint256) { | |
return div(a, b, 'SafeMath: division by zero'); | |
} | |
/** | |
* @dev Returns the integer division of two unsigned integers. Reverts with custom message on | |
* division by zero. The result is rounded towards zero. | |
* | |
* Counterpart to Solidity's `/` operator. Note: this function uses a | |
* `revert` opcode (which leaves remaining gas untouched) while Solidity | |
* uses an invalid opcode to revert (consuming all remaining gas). | |
* | |
* Requirements: | |
* - The divisor cannot be zero. | |
*/ | |
function div( | |
uint256 a, | |
uint256 b, | |
string memory errorMessage | |
) internal pure returns (uint256) { | |
// Solidity only automatically asserts when dividing by 0 | |
require(b > 0, errorMessage); | |
uint256 c = a / b; | |
// assert(a == b * c + a % b); // There is no case in which this doesn't hold | |
return c; | |
} | |
/** | |
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), | |
* Reverts when dividing by zero. | |
* | |
* Counterpart to Solidity's `%` operator. This function uses a `revert` | |
* opcode (which leaves remaining gas untouched) while Solidity uses an | |
* invalid opcode to revert (consuming all remaining gas). | |
* | |
* Requirements: | |
* - The divisor cannot be zero. | |
*/ | |
function mod(uint256 a, uint256 b) internal pure returns (uint256) { | |
return mod(a, b, 'SafeMath: modulo by zero'); | |
} | |
/** | |
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), | |
* Reverts with custom message when dividing by zero. | |
* | |
* Counterpart to Solidity's `%` operator. This function uses a `revert` | |
* opcode (which leaves remaining gas untouched) while Solidity uses an | |
* invalid opcode to revert (consuming all remaining gas). | |
* | |
* Requirements: | |
* - The divisor cannot be zero. | |
*/ | |
function mod( | |
uint256 a, | |
uint256 b, | |
string memory errorMessage | |
) internal pure returns (uint256) { | |
require(b != 0, errorMessage); | |
return a % b; | |
} | |
} |
// SPDX-License-Identifier: GPL-3.0 | |
pragma solidity ^0.6.0; | |
import "./interfaces/SafeMath.sol"; | |
/****************** | |
@title WadRayMath library | |
@author Aave | |
@dev Provides mul and div function for wads (decimal numbers with 18 digits precision) and rays (decimals with 27 digits) | |
*/ | |
library WadRayMath { | |
using SafeMath for uint256; | |
uint256 internal constant WAD = 1e18; | |
uint256 internal constant halfWAD = WAD / 2; | |
uint256 internal constant RAY = 1e27; | |
uint256 internal constant halfRAY = RAY / 2; | |
uint256 internal constant WAD_RAY_RATIO = 1e9; | |
function ray() internal pure returns (uint256) { | |
return RAY; | |
} | |
function wad() internal pure returns (uint256) { | |
return WAD; | |
} | |
function halfRay() internal pure returns (uint256) { | |
return halfRAY; | |
} | |
function halfWad() internal pure returns (uint256) { | |
return halfWAD; | |
} | |
function wadMul(uint256 a, uint256 b) internal pure returns (uint256) { | |
return halfWAD.add(a.mul(b)).div(WAD); | |
} | |
function wadDiv(uint256 a, uint256 b) internal pure returns (uint256) { | |
uint256 halfB = b / 2; | |
return halfB.add(a.mul(WAD)).div(b); | |
} | |
function rayMul(uint256 a, uint256 b) internal pure returns (uint256) { | |
return halfRAY.add(a.mul(b)).div(RAY); | |
} | |
function rayDiv(uint256 a, uint256 b) internal pure returns (uint256) { | |
uint256 halfB = b / 2; | |
return halfB.add(a.mul(RAY)).div(b); | |
} | |
function rayToWad(uint256 a) internal pure returns (uint256) { | |
uint256 halfRatio = WAD_RAY_RATIO / 2; | |
return halfRatio.add(a).div(WAD_RAY_RATIO); | |
} | |
function wadToRay(uint256 a) internal pure returns (uint256) { | |
return a.mul(WAD_RAY_RATIO); | |
} | |
/** | |
* calculates base^exp. The code uses the ModExp precompile | |
* base^exp, in ray | |
*/ | |
//solium-disable-next-line | |
function rayPow(uint256 x, uint256 n) internal pure returns (uint256 z) { | |
z = n % 2 != 0 ? x : RAY; | |
for (n /= 2; n != 0; n /= 2) { | |
x = rayMul(x, x); | |
if (n % 2 != 0) { | |
z = rayMul(z, x); | |
} | |
} | |
} | |
} |
{ | |
"deploy": { | |
"VM:-": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"main:1": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"ropsten:3": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"rinkeby:4": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"kovan:42": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"görli:5": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
}, | |
"Custom": { | |
"linkReferences": {}, | |
"autoDeployLib": true | |
} | |
}, | |
"data": { | |
"bytecode": { | |
"generatedSources": [], | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"deployedBytecode": { | |
"generatedSources": [], | |
"immutableReferences": {}, | |
"linkReferences": {}, | |
"object": "", | |
"opcodes": "", | |
"sourceMap": "" | |
}, | |
"gasEstimates": null, | |
"methodIdentifiers": { | |
"LENDINGPOOL_REVISION()": "8afaff02", | |
"UINT_MAX_VALUE()": "d0fc81d2", | |
"addressesProvider()": "c72c4d10", | |
"borrow(address,uint256,uint256,uint16)": "c858f5f9", | |
"core()": "f2f4eb26", | |
"dataProvider()": "b334ed86", | |
"deposit(address,uint256,uint16)": "d2d0e066", | |
"flashLoan(address,address,uint256,bytes)": "5cffe9de", | |
"getReserveConfigurationData(address)": "3e150141", | |
"getReserveData(address)": "35ea6a75", | |
"getReserves()": "0902f1ac", | |
"getUserAccountData(address)": "bf92857c", | |
"getUserReserveData(address,address)": "28dd2d01", | |
"initialize(address)": "c4d66de8", | |
"liquidationCall(address,address,address,uint256,bool)": "00a718a9", | |
"parametersProvider()": "58707e06", | |
"rebalanceStableBorrowRate(address,address)": "cd112382", | |
"redeemUnderlying(address,address,uint256,uint256)": "9895e3d8", | |
"repay(address,uint256,address)": "5ceae9c4", | |
"setUserUseReserveAsCollateral(address,bool)": "5a3b74b9", | |
"swapBorrowRateMode(address)": "48ca1300" | |
} | |
}, | |
"abi": [ | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_borrowRateMode", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_borrowRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_originationFee", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_borrowBalanceIncrease", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint16", | |
"name": "_referral", | |
"type": "uint16" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_timestamp", | |
"type": "uint256" | |
} | |
], | |
"name": "Borrow", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "uint16", | |
"name": "_referral", | |
"type": "uint16" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_timestamp", | |
"type": "uint256" | |
} | |
], | |
"name": "Deposit", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_target", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_totalFee", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_protocolFee", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_timestamp", | |
"type": "uint256" | |
} | |
], | |
"name": "FlashLoan", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_collateral", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_purchaseAmount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_liquidatedCollateralAmount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_accruedBorrowInterest", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "address", | |
"name": "_liquidator", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "bool", | |
"name": "_receiveAToken", | |
"type": "bool" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_timestamp", | |
"type": "uint256" | |
} | |
], | |
"name": "LiquidationCall", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_collateral", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_feeLiquidated", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_liquidatedCollateralForFee", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_timestamp", | |
"type": "uint256" | |
} | |
], | |
"name": "OriginationFeeLiquidated", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_newStableRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_borrowBalanceIncrease", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_timestamp", | |
"type": "uint256" | |
} | |
], | |
"name": "RebalanceStableBorrowRate", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_timestamp", | |
"type": "uint256" | |
} | |
], | |
"name": "RedeemUnderlying", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_repayer", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_amountMinusFees", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_fees", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_borrowBalanceIncrease", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_timestamp", | |
"type": "uint256" | |
} | |
], | |
"name": "Repay", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
} | |
], | |
"name": "ReserveUsedAsCollateralDisabled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
} | |
], | |
"name": "ReserveUsedAsCollateralEnabled", | |
"type": "event" | |
}, | |
{ | |
"anonymous": false, | |
"inputs": [ | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"indexed": true, | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_newRateMode", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_newRate", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_borrowBalanceIncrease", | |
"type": "uint256" | |
}, | |
{ | |
"indexed": false, | |
"internalType": "uint256", | |
"name": "_timestamp", | |
"type": "uint256" | |
} | |
], | |
"name": "Swap", | |
"type": "event" | |
}, | |
{ | |
"inputs": [], | |
"name": "LENDINGPOOL_REVISION", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "UINT_MAX_VALUE", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "addressesProvider", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_interestRateMode", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint16", | |
"name": "_referralCode", | |
"type": "uint16" | |
} | |
], | |
"name": "borrow", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "core", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "dataProvider", | |
"outputs": [ | |
{ | |
"internalType": "address", | |
"name": "", | |
"type": "address" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint16", | |
"name": "_referralCode", | |
"type": "uint16" | |
} | |
], | |
"name": "deposit", | |
"outputs": [], | |
"stateMutability": "payable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_receiver", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "_amount", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "bytes", | |
"name": "_params", | |
"type": "bytes" | |
} | |
], | |
"name": "flashLoan", | |
"outputs": [], | |
"stateMutability": "nonpayable", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
} | |
], | |
"name": "getReserveConfigurationData", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "ltv", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidationThreshold", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidationBonus", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "interestRateStrategyAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "usageAsCollateralEnabled", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "borrowingEnabled", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "stableBorrowRateEnabled", | |
"type": "bool" | |
}, | |
{ | |
"internalType": "bool", | |
"name": "isActive", | |
"type": "bool" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
} | |
], | |
"name": "getReserveData", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "totalLiquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "availableLiquidity", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalBorrowsStable", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalBorrowsVariable", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidityRate", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "variableBorrowRate", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "stableBorrowRate", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "averageStableBorrowRate", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "utilizationRate", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "liquidityIndex", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "variableBorrowIndex", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "address", | |
"name": "aTokenAddress", | |
"type": "address" | |
}, | |
{ | |
"internalType": "uint40", | |
"name": "lastUpdateTimestamp", | |
"type": "uint40" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [], | |
"name": "getReserves", | |
"outputs": [ | |
{ | |
"internalType": "address[]", | |
"name": "", | |
"type": "address[]" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
} | |
], | |
"name": "getUserAccountData", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "totalLiquidityETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalCollateralETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalBorrowsETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "totalFeesETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "availableBorrowsETH", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "currentLiquidationThreshold", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "ltv", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "healthFactor", | |
"type": "uint256" | |
} | |
], | |
"stateMutability": "view", | |
"type": "function" | |
}, | |
{ | |
"inputs": [ | |
{ | |
"internalType": "address", | |
"name": "_reserve", | |
"type": "address" | |
}, | |
{ | |
"internalType": "address", | |
"name": "_user", | |
"type": "address" | |
} | |
], | |
"name": "getUserReserveData", | |
"outputs": [ | |
{ | |
"internalType": "uint256", | |
"name": "currentATokenBalance", | |
"type": "uint256" | |
}, | |
{ | |
"internalType": "uint256", | |
"name": "currentBorrowBalance", | |
"type": "uint256" | |
}, | |
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)
(Sorry about that, but we can’t show files that are this big right now.)