More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 624 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 9935297 | 3 days ago | IN | 0 ETH | 0.00000006 | ||||
Approve | 9846919 | 5 days ago | IN | 0 ETH | 0.0000023 | ||||
Approve | 9844144 | 5 days ago | IN | 0 ETH | 0.00000015 | ||||
Approve | 9002695 | 25 days ago | IN | 0 ETH | 0.00000009 | ||||
Approve | 8396330 | 39 days ago | IN | 0 ETH | 0.00000072 | ||||
Transfer | 8395987 | 39 days ago | IN | 0 ETH | 0.00000092 | ||||
Approve | 8323130 | 40 days ago | IN | 0 ETH | 0.00000084 | ||||
Approve | 8165285 | 44 days ago | IN | 0 ETH | 0 | ||||
Approve | 7460892 | 60 days ago | IN | 0 ETH | 0.0000001 | ||||
Approve | 7339016 | 63 days ago | IN | 0 ETH | 0.00000009 | ||||
Approve | 7320703 | 64 days ago | IN | 0 ETH | 0.00000013 | ||||
Approve | 6937619 | 73 days ago | IN | 0 ETH | 0.00000026 | ||||
Approve | 6590006 | 81 days ago | IN | 0 ETH | 0.00000012 | ||||
Approve | 6520029 | 82 days ago | IN | 0 ETH | 0.00000005 | ||||
Approve | 6501844 | 83 days ago | IN | 0 ETH | 0 | ||||
Approve | 6476120 | 83 days ago | IN | 0 ETH | 0.00000005 | ||||
Approve | 6476118 | 83 days ago | IN | 0 ETH | 0.0000001 | ||||
Approve | 6459024 | 84 days ago | IN | 0 ETH | 0.00000005 | ||||
Approve | 6393000 | 85 days ago | IN | 0 ETH | 0.00000041 | ||||
Approve | 6297408 | 87 days ago | IN | 0 ETH | 0.00000011 | ||||
Approve | 6250141 | 88 days ago | IN | 0 ETH | 0.00000007 | ||||
Approve | 6068133 | 93 days ago | IN | 0 ETH | 0.00000005 | ||||
Approve | 6054718 | 93 days ago | IN | 0 ETH | 0.00000005 | ||||
Approve | 6036435 | 93 days ago | IN | 0 ETH | 0.00000004 | ||||
Approve | 6020743 | 94 days ago | IN | 0 ETH | 0.00000009 |
Latest 1 internal transaction
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
2651240 | 172 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x12c69BFA...E233fc7df The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
ThrusterPair
Compiler Version
v0.5.16+commit.9c3226ce
Optimization Enabled:
Yes with 200 runs
Other Settings:
istanbul EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity =0.5.16; import "interfaces/IBlastPoints.sol"; import "interfaces/IERC20.sol"; import "interfaces/IThrusterCallee.sol"; import "interfaces/IThrusterFactory.sol"; import "interfaces/IThrusterPair.sol"; import "interfaces/IThrusterERC20.sol"; import "contracts/ThrusterYield.sol"; import "contracts/libraries/Math.sol"; import "contracts/libraries/SafeMath.sol"; import "contracts/libraries/UQ112x112.sol"; contract ThrusterPair is IThrusterPair, IThrusterERC20, ThrusterYield { using SafeMath for uint256; using UQ112x112 for uint224; uint256 public constant MINIMUM_LIQUIDITY = 10 ** 3; bytes4 private constant SELECTOR = bytes4(keccak256(bytes("transfer(address,uint256)"))); string public constant name = "Thruster LP"; string public constant symbol = "T-LP"; uint8 public constant decimals = 18; bytes32 public DOMAIN_SEPARATOR; // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"); bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9; mapping(address => uint256) public nonces; address private constant BLAST_POINTS = 0x2536FE9ab3F511540F2f9e2eC2A805005C3Dd800; address public factory; address public token0; address public token1; uint256 public totalSupply; uint112 private reserve0; // uses single storage slot, accessible via getReserves uint112 private reserve1; // uses single storage slot, accessible via getReserves uint32 private blockTimestampLast; // uses single storage slot, accessible via getReserves uint256 public price0CumulativeLast; uint256 public price1CumulativeLast; uint256 public kLast; // reserve0 * reserve1, as of immediately after the most recent liquidity event uint256 private unlocked = 1; mapping(address => uint256) public balanceOf; mapping(address => mapping(address => uint256)) public allowance; modifier lock() { require(unlocked == 1, "ThrusterPair: LOCKED"); unlocked = 0; _; unlocked = 1; } function getReserves() public view returns (uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast) { _reserve0 = reserve0; _reserve1 = reserve1; _blockTimestampLast = blockTimestampLast; } function _safeTransfer(address token, address to, uint256 value) private { (bool success, bytes memory data) = token.call(abi.encodeWithSelector(SELECTOR, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), "ThrusterPair: TRANSFER_FAILED"); } event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 value); constructor() public ThrusterYield(IThrusterFactory(msg.sender).yieldToSetter()) { factory = msg.sender; uint256 chainId; assembly { chainId := chainid } DOMAIN_SEPARATOR = keccak256( abi.encode( keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"), keccak256(bytes(name)), keccak256(bytes("1")), chainId, address(this) ) ); } // called once by the factory at time of deployment function initialize(address _token0, address _token1) external { require(msg.sender == factory, "ThrusterPair: FORBIDDEN"); // sufficient check IBlastPoints(BLAST_POINTS).configurePointsOperator(IThrusterFactory(factory).pointsAdmin()); token0 = _token0; token1 = _token1; } // update reserves and, on the first call per block, price accumulators function _update(uint256 balance0, uint256 balance1, uint112 _reserve0, uint112 _reserve1) private { require(balance0 <= uint112(-1) && balance1 <= uint112(-1), "ThrusterPair: OVERFLOW"); uint32 blockTimestamp = uint32(block.timestamp % 2 ** 32); uint32 timeElapsed = blockTimestamp - blockTimestampLast; // overflow is desired if (timeElapsed > 0 && _reserve0 != 0 && _reserve1 != 0) { // * never overflows, and + overflow is desired price0CumulativeLast += uint256(UQ112x112.encode(_reserve1).uqdiv(_reserve0)) * timeElapsed; price1CumulativeLast += uint256(UQ112x112.encode(_reserve0).uqdiv(_reserve1)) * timeElapsed; } reserve0 = uint112(balance0); reserve1 = uint112(balance1); blockTimestampLast = blockTimestamp; emit Sync(reserve0, reserve1); IThrusterFactory(factory).emitSync(reserve0, reserve1); } // if yieldCut is on, mint liquidity equivalent to 1/6th of the growth in sqrt(k) function _mintYieldCut(uint112 _reserve0, uint112 _reserve1) private returns (bool yieldCutOn) { address yieldTo = IThrusterFactory(factory).yieldTo(); yieldCutOn = yieldTo != address(0); uint256 _kLast = kLast; // gas savings if (yieldCutOn) { if (_kLast != 0) { uint256 rootK = Math.sqrt(uint256(_reserve0).mul(_reserve1)); uint256 rootKLast = Math.sqrt(_kLast); if (rootK > rootKLast) { uint256 numerator = totalSupply.mul(rootK.sub(rootKLast)); uint256 denominator = rootK.mul(IThrusterFactory(factory).yieldCut()).add(rootKLast); uint256 liquidity = numerator / denominator; if (liquidity > 0) _mint(yieldTo, liquidity); } } } else if (_kLast != 0) { kLast = 0; } } // this low-level function should be called from a contract which performs important safety checks function mint(address to) external lock returns (uint256 liquidity) { (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings uint256 balance0 = IERC20(token0).balanceOf(address(this)); uint256 balance1 = IERC20(token1).balanceOf(address(this)); uint256 amount0 = balance0.sub(_reserve0); uint256 amount1 = balance1.sub(_reserve1); bool yieldCutOn = _mintYieldCut(_reserve0, _reserve1); uint256 _totalSupply = totalSupply; // gas savings, must be defined here since totalSupply can update in _mintYieldCut if (_totalSupply == 0) { liquidity = Math.sqrt(amount0.mul(amount1)).sub(MINIMUM_LIQUIDITY); _mint(address(0), MINIMUM_LIQUIDITY); // permanently lock the first MINIMUM_LIQUIDITY tokens } else { liquidity = Math.min(amount0.mul(_totalSupply) / _reserve0, amount1.mul(_totalSupply) / _reserve1); } require(liquidity > 0, "ThrusterPair: INSUFFICIENT_LIQUIDITY_MINTED"); _mint(to, liquidity); _update(balance0, balance1, _reserve0, _reserve1); if (yieldCutOn) kLast = uint256(reserve0).mul(reserve1); // reserve0 and reserve1 are up-to-date emit Mint(msg.sender, amount0, amount1); } // this low-level function should be called from a contract which performs important safety checks function burn(address to) external lock returns (uint256 amount0, uint256 amount1) { (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings address _token0 = token0; // gas savings address _token1 = token1; // gas savings uint256 balance0 = IERC20(_token0).balanceOf(address(this)); uint256 balance1 = IERC20(_token1).balanceOf(address(this)); uint256 liquidity = balanceOf[address(this)]; bool yieldCutOn = _mintYieldCut(_reserve0, _reserve1); amount0 = liquidity.mul(balance0) / totalSupply; // using balances ensures pro-rata distribution amount1 = liquidity.mul(balance1) / totalSupply; // using balances ensures pro-rata distribution require(amount0 > 0 && amount1 > 0, "ThrusterPair: INSUFFICIENT_LIQUIDITY_BURNED"); _burn(address(this), liquidity); _safeTransfer(_token0, to, amount0); _safeTransfer(_token1, to, amount1); balance0 = IERC20(_token0).balanceOf(address(this)); balance1 = IERC20(_token1).balanceOf(address(this)); _update(balance0, balance1, _reserve0, _reserve1); if (yieldCutOn) kLast = uint256(reserve0).mul(reserve1); // reserve0 and reserve1 are up-to-date emit Burn(msg.sender, amount0, amount1, to); } // this low-level function should be called from a contract which performs important safety checks function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data) external lock { require(amount0Out > 0 || amount1Out > 0, "ThrusterPair: INSUFFICIENT_OUTPUT_AMOUNT"); (uint112 _reserve0, uint112 _reserve1,) = getReserves(); // gas savings require(amount0Out < _reserve0 && amount1Out < _reserve1, "ThrusterPair: INSUFFICIENT_LIQUIDITY"); uint256 balance0; uint256 balance1; { // scope for _token{0,1}, avoids stack too deep errors address _token0 = token0; address _token1 = token1; require(to != _token0 && to != _token1, "ThrusterPair: INVALID_TO"); if (amount0Out > 0) _safeTransfer(_token0, to, amount0Out); // optimistically transfer tokens if (amount1Out > 0) _safeTransfer(_token1, to, amount1Out); // optimistically transfer tokens if (data.length > 0) IThrusterCallee(to).uniswapV2Call(msg.sender, amount0Out, amount1Out, data); balance0 = IERC20(_token0).balanceOf(address(this)); balance1 = IERC20(_token1).balanceOf(address(this)); } uint256 amount0In = balance0 > _reserve0 - amount0Out ? balance0 - (_reserve0 - amount0Out) : 0; uint256 amount1In = balance1 > _reserve1 - amount1Out ? balance1 - (_reserve1 - amount1Out) : 0; require(amount0In > 0 || amount1In > 0, "ThrusterPair: INSUFFICIENT_INPUT_AMOUNT"); { // scope for reserve{0,1}Adjusted, avoids stack too deep errors uint256 balance0Adjusted = balance0.mul(1000).sub(amount0In.mul(3)); uint256 balance1Adjusted = balance1.mul(1000).sub(amount1In.mul(3)); require( balance0Adjusted.mul(balance1Adjusted) >= uint256(_reserve0).mul(_reserve1).mul(1000 ** 2), "ThrusterPair: K" ); } _update(balance0, balance1, _reserve0, _reserve1); emit Swap(msg.sender, amount0In, amount1In, amount0Out, amount1Out, to); IThrusterFactory(factory).emitSwap(msg.sender, amount0In, amount1In, amount0Out, amount1Out, to); } // force balances to match reserves function skim(address to) external lock { address _token0 = token0; // gas savings address _token1 = token1; // gas savings _safeTransfer(_token0, to, IERC20(_token0).balanceOf(address(this)).sub(reserve0)); _safeTransfer(_token1, to, IERC20(_token1).balanceOf(address(this)).sub(reserve1)); } // force reserves to match balances function sync() external lock { _update(IERC20(token0).balanceOf(address(this)), IERC20(token1).balanceOf(address(this)), reserve0, reserve1); } // Moving all ThrusterERC20 functions into ThrusterPair contract function _mint(address to, uint256 value) internal { totalSupply = totalSupply.add(value); balanceOf[to] = balanceOf[to].add(value); emit Transfer(address(0), to, value); IThrusterFactory(factory).emitTransfer(address(0), to, value); } function _burn(address from, uint256 value) internal { balanceOf[from] = balanceOf[from].sub(value); totalSupply = totalSupply.sub(value); emit Transfer(from, address(0), value); IThrusterFactory(factory).emitTransfer(from, address(0), value); } function _approve(address owner, address spender, uint256 value) private { allowance[owner][spender] = value; emit Approval(owner, spender, value); } function _transfer(address from, address to, uint256 value) private { balanceOf[from] = balanceOf[from].sub(value); balanceOf[to] = balanceOf[to].add(value); emit Transfer(from, to, value); IThrusterFactory(factory).emitTransfer(from, to, value); } function approve(address spender, uint256 value) external returns (bool) { _approve(msg.sender, spender, value); return true; } function transfer(address to, uint256 value) external returns (bool) { _transfer(msg.sender, to, value); return true; } function transferFrom(address from, address to, uint256 value) external returns (bool) { if (allowance[from][msg.sender] != uint256(-1)) { allowance[from][msg.sender] = allowance[from][msg.sender].sub(value); } _transfer(from, to, value); return true; } function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external { require(deadline >= block.timestamp, "ThrusterERC20: EXPIRED"); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", DOMAIN_SEPARATOR, keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, nonces[owner]++, deadline)) ) ); address recoveredAddress = ecrecover(digest, v, r, s); require(recoveredAddress != address(0) && recoveredAddress == owner, "ThrusterERC20: INVALID_SIGNATURE"); _approve(owner, spender, value); } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IBlastPoints { function configurePointsOperator(address operator) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IERC20 { event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); function totalSupply() external view returns (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IThrusterCallee { function uniswapV2Call(address sender, uint256 amount0, uint256 amount1, bytes calldata data) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IThrusterFactory { event PairCreated(address indexed token0, address indexed token1, address pair, uint256); function yieldCut() external view returns (uint256); function yieldTo() external view returns (address); function yieldToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint256) external view returns (address pair); function allPairsLength() external view returns (uint256); function createPair(address tokenA, address tokenB) external returns (address pair); function setYieldTo(address) external; function setYieldToSetter(address) external; function setYieldCut(uint256) external; function emitSync(uint112 reserve0, uint112 reserve1) external; function emitSwap( address sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address to ) external; function emitTransfer(address from, address to, uint256 value) external; function pointsAdmin() external view returns (address); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IThrusterPair { event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 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 (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 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 (uint256); function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint256 amount0, uint256 amount1); event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to); event Swap( address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint256); 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 (uint256); function price1CumulativeLast() external view returns (uint256); function kLast() external view returns (uint256); function mint(address to) external returns (uint256 liquidity); function burn(address to) external returns (uint256 amount0, uint256 amount1); function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IThrusterERC20 { event Approval(address indexed owner, address indexed spender, uint256 value); event Transfer(address indexed from, address indexed to, uint256 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 (uint256); function balanceOf(address owner) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 value) external returns (bool); function transfer(address to, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 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 (uint256); function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity =0.5.16; import "interfaces/IBlast.sol"; import "interfaces/IThrusterYield.sol"; import "interfaces/IERC20Rebasing.sol"; contract ThrusterYield is IThrusterYield { IBlast public constant BLAST = IBlast(0x4300000000000000000000000000000000000002); IERC20Rebasing public constant USDB = IERC20Rebasing(0x4300000000000000000000000000000000000003); IERC20Rebasing public constant WETHB = IERC20Rebasing(0x4300000000000000000000000000000000000004); address public manager; event ClaimYieldAll( address indexed recipient, uint256 amountWETH, uint256 amountUSDB, uint256 amountGas ); event ClaimGas(address indexed recipient, uint256 amount); modifier onlyManager() { require(msg.sender == manager, "FORBIDDEN"); _; } constructor(address _manager) public { BLAST.configureClaimableGas(); USDB.configure(IERC20Rebasing.YieldMode.CLAIMABLE); WETHB.configure(IERC20Rebasing.YieldMode.CLAIMABLE); manager = _manager; } function claimYieldAll(address _recipient, uint256 _amountWETH, uint256 _amountUSDB) external onlyManager returns (uint256 amountWETH, uint256 amountUSDB, uint256 amountGas) { amountWETH = IERC20Rebasing(WETHB).claim(_recipient, _amountWETH); amountUSDB = IERC20Rebasing(USDB).claim(_recipient, _amountUSDB); amountGas = IBlast(BLAST).claimMaxGas(address(this), _recipient); emit ClaimYieldAll(_recipient, amountWETH, amountUSDB, amountGas); } function claimGas(address _recipient, uint256 _minClaimRateBips) external onlyManager returns (uint256 amount) { if (_minClaimRateBips == 0) { amount = BLAST.claimMaxGas(address(this), _recipient); } else { amount = BLAST.claimGasAtMinClaimRate(address(this), _recipient, _minClaimRateBips); } emit ClaimGas(_recipient, amount); } function setManager(address _manager) external onlyManager { manager = _manager; } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity =0.5.16; // a library for performing various math operations library Math { function min(uint256 x, uint256 y) internal pure returns (uint256 z) { z = x < y ? x : y; } // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) function sqrt(uint256 y) internal pure returns (uint256 z) { if (y > 3) { z = y; uint256 x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.16 <0.7.0; // a library for performing overflow-safe math, courtesy of DappHub (https://github.com/dapphub/ds-math) library SafeMath { function add(uint256 x, uint256 y) internal pure returns (uint256 z) { require((z = x + y) >= x, "ds-math-add-overflow"); } function sub(uint256 x, uint256 y) internal pure returns (uint256 z) { require((z = x - y) <= x, "ds-math-sub-underflow"); } function mul(uint256 x, uint256 y) internal pure returns (uint256 z) { require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow"); } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity =0.5.16; // a library for handling binary fixed point numbers (https://en.wikipedia.org/wiki/Q_(number_format)) // range: [0, 2**112 - 1] // resolution: 1 / 2**112 library UQ112x112 { uint224 constant Q112 = 2 ** 112; // encode a uint112 as a UQ112x112 function encode(uint112 y) internal pure returns (uint224 z) { z = uint224(y) * Q112; // never overflows } // divide a UQ112x112 by a uint112, returning a UQ112x112 function uqdiv(uint224 x, uint112 y) internal pure returns (uint224 z) { z = x / uint224(y); } }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IBlast { enum YieldMode { AUTOMATIC, VOID, CLAIMABLE } enum GasMode { VOID, CLAIMABLE } // configure function configureContract(address contractAddress, YieldMode _yield, GasMode gasMode, address governor) external; function configure(YieldMode _yield, GasMode gasMode, address governor) external; // base configuration options function configureClaimableYield() external; function configureClaimableYieldOnBehalf(address contractAddress) external; function configureAutomaticYield() external; function configureAutomaticYieldOnBehalf(address contractAddress) external; function configureVoidYield() external; function configureVoidYieldOnBehalf(address contractAddress) external; function configureClaimableGas() external; function configureClaimableGasOnBehalf(address contractAddress) external; function configureVoidGas() external; function configureVoidGasOnBehalf(address contractAddress) external; function configureGovernor(address _governor) external; function configureGovernorOnBehalf(address _newGovernor, address contractAddress) external; // claim yield function claimYield(address contractAddress, address recipientOfYield, uint256 amount) external returns (uint256); function claimAllYield(address contractAddress, address recipientOfYield) external returns (uint256); // claim gas function claimAllGas(address contractAddress, address recipientOfGas) external returns (uint256); function claimGasAtMinClaimRate(address contractAddress, address recipientOfGas, uint256 minClaimRateBips) external returns (uint256); function claimMaxGas(address contractAddress, address recipientOfGas) external returns (uint256); function claimGas(address contractAddress, address recipientOfGas, uint256 gasToClaim, uint256 gasSecondsToConsume) external returns (uint256); // read functions function readClaimableYield(address contractAddress) external view returns (uint256); function readYieldConfiguration(address contractAddress) external view returns (uint8); function readGasParams(address contractAddress) external view returns (uint256 etherSeconds, uint256 etherBalance, uint256 lastUpdated, GasMode); }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IThrusterYield { function claimYieldAll(address _recipient, uint256 _amountWETH, uint256 _amountUSDB) external returns (uint256 amountWETH, uint256 amountUSDB, uint256 amountGas); function claimGas(address _recipient, uint256 _minClaimRateBips) external returns (uint256 amount); function setManager(address _manager) external; }
// SPDX-License-Identifier: GPL-2.0-or-later pragma solidity >=0.5.0; interface IERC20Rebasing { enum YieldMode { AUTOMATIC, VOID, CLAIMABLE } // changes the yield mode of the caller and update the balance // to reflect the configuration function configure(IERC20Rebasing.YieldMode) external returns (uint256); // "claimable" yield mode accounts can call this this claim their yield // to another address function claim(address recipient, uint256 amount) external returns (uint256); // read the claimable amount for an account function getClaimableAmount(address account) external view returns (uint256); }
{ "remappings": [ "@uniswap/lib/=lib/solidity-lib/", "@uniswap/v2-core/=lib/v2-core/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "solidity-lib/=lib/solidity-lib/contracts/", "v2-core/=lib/v2-core/contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "istanbul", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimGas","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountWETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountUSDB","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountGas","type":"uint256"}],"name":"ClaimYieldAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount0In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1In","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount0Out","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount1Out","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Swap","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint112","name":"reserve0","type":"uint112"},{"indexed":false,"internalType":"uint112","name":"reserve1","type":"uint112"}],"name":"Sync","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"},{"constant":true,"inputs":[],"name":"BLAST","outputs":[{"internalType":"contract IBlast","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MINIMUM_LIQUIDITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PERMIT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"USDB","outputs":[{"internalType":"contract IERC20Rebasing","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"WETHB","outputs":[{"internalType":"contract IERC20Rebasing","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"burn","outputs":[{"internalType":"uint256","name":"amount0","type":"uint256"},{"internalType":"uint256","name":"amount1","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_minClaimRateBips","type":"uint256"}],"name":"claimGas","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amountWETH","type":"uint256"},{"internalType":"uint256","name":"_amountUSDB","type":"uint256"}],"name":"claimYieldAll","outputs":[{"internalType":"uint256","name":"amountWETH","type":"uint256"},{"internalType":"uint256","name":"amountUSDB","type":"uint256"},{"internalType":"uint256","name":"amountGas","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"factory","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint112","name":"_reserve0","type":"uint112"},{"internalType":"uint112","name":"_reserve1","type":"uint112"},{"internalType":"uint32","name":"_blockTimestampLast","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"kLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"manager","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"liquidity","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"price0CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"price1CumulativeLast","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_manager","type":"address"}],"name":"setManager","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"skim","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount0Out","type":"uint256"},{"internalType":"uint256","name":"amount1Out","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"swap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sync","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token0","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token1","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102065760003560e01c80636a6278421161011a578063ad66aeb8116100ad578063d0ebdbe71161007c578063d0ebdbe71461062d578063d21220a714610653578063d505accf1461065b578063dd62ed3e146106ac578063fff6cae9146106da57610206565b8063ad66aeb8146105a7578063ba9a7a56146105f7578063bc25cf77146105ff578063c45a01551461062557610206565b806389afcb44116100e957806389afcb441461052c57806395d89b411461056b57806397d7577614610573578063a9059cbb1461057b57610206565b80636a627842146104b257806370a08231146104d85780637464fc3d146104fe5780637ecebe001461050657610206565b806330adf81f1161019d578063481c6a751161016c578063481c6a7514610464578063485cc9551461046c5780635909c0d51461049a5780635a3d5493146104a257806366759ad9146104aa57610206565b806330adf81f1461042e578063313ce5671461043657806331a0edec146104545780633644e5151461045c57610206565b8063095ea7b3116101d9578063095ea7b31461038c5780630dfe1681146103cc57806318160ddd146103f057806323b872dd146103f857610206565b8063022c0d9f1461020b57806305bafd921461029957806306fdde03146102d75780630902f1ac14610354575b600080fd5b6102976004803603608081101561022157600080fd5b8135916020810135916001600160a01b03604083013516919081019060808101606082013564010000000081111561025857600080fd5b82018360208201111561026a57600080fd5b8035906020019184600183028401116401000000008311171561028c57600080fd5b5090925090506106e2565b005b6102c5600480360360408110156102af57600080fd5b506001600160a01b038135169060200135610cb3565b60408051918252519081900360200190f35b6102df610e5c565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610319578181015183820152602001610301565b50505050905090810190601f1680156103465780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61035c610e83565b604080516001600160701b03948516815292909316602083015263ffffffff168183015290519081900360600190f35b6103b8600480360360408110156103a257600080fd5b506001600160a01b038135169060200135610ead565b604080519115158252519081900360200190f35b6103d4610ec4565b604080516001600160a01b039092168252519081900360200190f35b6102c5610ed3565b6103b86004803603606081101561040e57600080fd5b506001600160a01b03813581169160208101359091169060400135610ed9565b6102c5610f73565b61043e610f97565b6040805160ff9092168252519081900360200190f35b6103d4610f9c565b6102c5610fa7565b6103d4610fad565b6102976004803603604081101561048257600080fd5b506001600160a01b0381358116916020013516610fbc565b6102c5611148565b6102c561114e565b6103d4611154565b6102c5600480360360208110156104c857600080fd5b50356001600160a01b031661115f565b6102c5600480360360208110156104ee57600080fd5b50356001600160a01b0316611465565b6102c5611477565b6102c56004803603602081101561051c57600080fd5b50356001600160a01b031661147d565b6105526004803603602081101561054257600080fd5b50356001600160a01b031661148f565b6040805192835260208301919091528051918290030190f35b6102df61183d565b6103d461185d565b6103b86004803603604081101561059157600080fd5b506001600160a01b038135169060200135611868565b6105d9600480360360608110156105bd57600080fd5b506001600160a01b038135169060208101359060400135611875565b60408051938452602084019290925282820152519081900360600190f35b6102c5611aa9565b6102976004803603602081101561061557600080fd5b50356001600160a01b0316611aaf565b6103d4611c21565b6102976004803603602081101561064357600080fd5b50356001600160a01b0316611c30565b6103d4611c9d565b610297600480360360e081101561067157600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060ff6080820135169060a08101359060c00135611cac565b6102c5600480360360408110156106c257600080fd5b506001600160a01b0381358116916020013516611eb7565b610297611ed4565b600b54600114610730576040805162461bcd60e51b8152602060048201526014602482015273151a1c9d5cdd195c94185a5c8e881313d0d2d15160621b604482015290519081900360640190fd5b6000600b55841515806107435750600084115b61077e5760405162461bcd60e51b8152600401808060200182810382526028815260200180612b4a6028913960400191505060405180910390fd5b600080610789610e83565b5091509150816001600160701b0316871080156107ae5750806001600160701b031686105b6107e95760405162461bcd60e51b8152600401808060200182810382526024815260200180612b266024913960400191505060405180910390fd5b60045460055460009182916001600160a01b039182169190811690891682148015906108275750806001600160a01b0316896001600160a01b031614155b610878576040805162461bcd60e51b815260206004820152601860248201527f5468727573746572506169723a20494e56414c49445f544f0000000000000000604482015290519081900360640190fd5b8a1561088957610889828a8d61203d565b891561089a5761089a818a8c61203d565b861561095557886001600160a01b03166310d1e85c338d8d8c8c6040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001858152602001848152602001806020018281038252848482818152602001925080828437600081840152601f19601f8201169050808301925050509650505050505050600060405180830381600087803b15801561093c57600080fd5b505af1158015610950573d6000803e3d6000fd5b505050505b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561099b57600080fd5b505afa1580156109af573d6000803e3d6000fd5b505050506040513d60208110156109c557600080fd5b5051604080516370a0823160e01b815230600482015290519195506001600160a01b038316916370a0823191602480820192602092909190829003018186803b158015610a1157600080fd5b505afa158015610a25573d6000803e3d6000fd5b505050506040513d6020811015610a3b57600080fd5b5051925060009150506001600160701b0385168a90038311610a5e576000610a6d565b89856001600160701b03160383035b9050600089856001600160701b0316038311610a8a576000610a99565b89856001600160701b03160383035b90506000821180610aaa5750600081115b610ae55760405162461bcd60e51b8152600401808060200182810382526027815260200180612b9d6027913960400191505060405180910390fd5b6000610b19610afb84600363ffffffff6121d716565b610b0d876103e863ffffffff6121d716565b9063ffffffff61223a16565b90506000610b31610afb84600363ffffffff6121d716565b9050610b62620f4240610b566001600160701b038b8116908b1663ffffffff6121d716565b9063ffffffff6121d716565b610b72838363ffffffff6121d716565b1015610bb7576040805162461bcd60e51b815260206004820152600f60248201526e5468727573746572506169723a204b60881b604482015290519081900360640190fd5b5050610bc58484888861228a565b60408051838152602081018390528082018d9052606081018c905290516001600160a01b038b169133917fd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d8229181900360800190a36003546040805163b2cef4ef60e01b81523360048201526024810185905260448101849052606481018e9052608481018d90526001600160a01b038c811660a48301529151919092169163b2cef4ef9160c480830192600092919082900301818387803b158015610c8957600080fd5b505af1158015610c9d573d6000803e3d6000fd5b50506001600b5550505050505050505050505050565b600080546001600160a01b03163314610cff576040805162461bcd60e51b81526020600482015260096024820152682327a92124a22222a760b91b604482015290519081900360640190fd5b81610d8c576040805163662aa11d60e01b81523060048201526001600160a01b038516602482015290516002604360981b019163662aa11d9160448083019260209291908290030181600087803b158015610d5957600080fd5b505af1158015610d6d573d6000803e3d6000fd5b505050506040513d6020811015610d8357600080fd5b50519050610e17565b60408051630951888f60e01b81523060048201526001600160a01b03851660248201526044810184905290516002604360981b0191630951888f9160648083019260209291908290030181600087803b158015610de857600080fd5b505af1158015610dfc573d6000803e3d6000fd5b505050506040513d6020811015610e1257600080fd5b505190505b6040805182815290516001600160a01b038516917f5eadc4013530f38d8b7709b47915d0cef30eee941dad69669a5b45e0686879fa919081900360200190a292915050565b6040518060400160405280600b81526020016a05468727573746572204c560ac1b81525081565b6007546001600160701b0380821692600160701b830490911691600160e01b900463ffffffff1690565b6000610eba3384846124d2565b5060015b92915050565b6004546001600160a01b031681565b60065481565b6001600160a01b0383166000908152600d6020908152604080832033845290915281205460001914610f5e576001600160a01b0384166000908152600d60209081526040808320338452909152902054610f39908363ffffffff61223a16565b6001600160a01b0385166000908152600d602090815260408083203384529091529020555b610f69848484612534565b5060019392505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601281565b6003604360981b0181565b60015481565b6000546001600160a01b031681565b6003546001600160a01b0316331461101b576040805162461bcd60e51b815260206004820152601760248201527f5468727573746572506169723a20464f5242494444454e000000000000000000604482015290519081900360640190fd5b732536fe9ab3f511540f2f9e2ec2a805005c3dd8006001600160a01b03166336b91f2b600360009054906101000a90046001600160a01b03166001600160a01b031663bd454fae6040518163ffffffff1660e01b815260040160206040518083038186803b15801561108c57600080fd5b505afa1580156110a0573d6000803e3d6000fd5b505050506040513d60208110156110b657600080fd5b5051604080516001600160e01b031960e085901b1681526001600160a01b03909216600483015251602480830192600092919082900301818387803b1580156110fe57600080fd5b505af1158015611112573d6000803e3d6000fd5b5050600480546001600160a01b039586166001600160a01b03199182161790915560058054949095169316929092179092555050565b60085481565b60095481565b6004604360981b0181565b6000600b546001146111af576040805162461bcd60e51b8152602060048201526014602482015273151a1c9d5cdd195c94185a5c8e881313d0d2d15160621b604482015290519081900360640190fd5b6000600b819055806111bf610e83565b5060048054604080516370a0823160e01b81523093810193909352519395509193506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561121657600080fd5b505afa15801561122a573d6000803e3d6000fd5b505050506040513d602081101561124057600080fd5b5051600554604080516370a0823160e01b815230600482015290519293506000926001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561129357600080fd5b505afa1580156112a7573d6000803e3d6000fd5b505050506040513d60208110156112bd57600080fd5b5051905060006112dc836001600160701b03871663ffffffff61223a16565b905060006112f9836001600160701b03871663ffffffff61223a16565b905060006113078787612663565b60065490915080611344576113306103e8610b0d61132b878763ffffffff6121d716565b61283a565b985061133f60006103e861288c565b611393565b6113906001600160701b038916611361868463ffffffff6121d716565b8161136857fe5b046001600160701b038916611383868563ffffffff6121d716565b8161138a57fe5b04612994565b98505b600089116113d25760405162461bcd60e51b815260040180806020018281038252602b815260200180612bc4602b913960400191505060405180910390fd5b6113dc8a8a61288c565b6113e886868a8a61228a565b811561141857600754611414906001600160701b0380821691600160701b90041663ffffffff6121d716565b600a555b6040805185815260208101859052815133927f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f928290030190a250506001600b5550949695505050505050565b600c6020526000908152604090205481565b600a5481565b60026020526000908152604090205481565b600080600b546001146114e0576040805162461bcd60e51b8152602060048201526014602482015273151a1c9d5cdd195c94185a5c8e881313d0d2d15160621b604482015290519081900360640190fd5b6000600b819055806114f0610e83565b5060048054600554604080516370a0823160e01b81523094810194909452519496509294506001600160a01b039081169392169160009184916370a0823191602480820192602092909190829003018186803b15801561154f57600080fd5b505afa158015611563573d6000803e3d6000fd5b505050506040513d602081101561157957600080fd5b5051604080516370a0823160e01b815230600482015290519192506000916001600160a01b038516916370a08231916024808301926020929190829003018186803b1580156115c757600080fd5b505afa1580156115db573d6000803e3d6000fd5b505050506040513d60208110156115f157600080fd5b5051306000908152600c60205260408120549192506116108888612663565b600654909150611626838663ffffffff6121d716565b8161162d57fe5b6006549190049a50611645838563ffffffff6121d716565b8161164c57fe5b04985060008a11801561165f5750600089115b61169a5760405162461bcd60e51b815260040180806020018281038252602b815260200180612b72602b913960400191505060405180910390fd5b6116a430836129ac565b6116af868c8c61203d565b6116ba858c8b61203d565b604080516370a0823160e01b815230600482015290516001600160a01b038816916370a08231916024808301926020929190829003018186803b15801561170057600080fd5b505afa158015611714573d6000803e3d6000fd5b505050506040513d602081101561172a57600080fd5b5051604080516370a0823160e01b815230600482015290519195506001600160a01b038716916370a0823191602480820192602092909190829003018186803b15801561177657600080fd5b505afa15801561178a573d6000803e3d6000fd5b505050506040513d60208110156117a057600080fd5b505192506117b084848a8a61228a565b80156117e0576007546117dc906001600160701b0380821691600160701b90041663ffffffff6121d716565b600a555b604080518b8152602081018b905281516001600160a01b038e169233927fdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496929081900390910190a350505050505050506001600b81905550915091565b604051806040016040528060048152602001630542d4c560e41b81525081565b6002604360981b0181565b6000610eba338484612534565b60008054819081906001600160a01b031633146118c5576040805162461bcd60e51b81526020600482015260096024820152682327a92124a22222a760b91b604482015290519081900360640190fd5b60408051635569f64b60e11b81526001600160a01b03881660048201526024810187905290516004604360981b019163aad3ec969160448083019260209291908290030181600087803b15801561191b57600080fd5b505af115801561192f573d6000803e3d6000fd5b505050506040513d602081101561194557600080fd5b505160408051635569f64b60e11b81526001600160a01b03891660048201526024810187905290519194506003604360981b019163aad3ec96916044808201926020929091908290030181600087803b1580156119a157600080fd5b505af11580156119b5573d6000803e3d6000fd5b505050506040513d60208110156119cb57600080fd5b50516040805163662aa11d60e01b81523060048201526001600160a01b038916602482015290519193506002604360981b019163662aa11d916044808201926020929091908290030181600087803b158015611a2657600080fd5b505af1158015611a3a573d6000803e3d6000fd5b505050506040513d6020811015611a5057600080fd5b5051604080518581526020810185905280820183905290519192506001600160a01b038816917f1943c53b7309df037b9077befdba52e1fd2c298ad0e91a0b4a4d163c7d095f189181900360600190a293509350939050565b6103e881565b600b54600114611afd576040805162461bcd60e51b8152602060048201526014602482015273151a1c9d5cdd195c94185a5c8e881313d0d2d15160621b604482015290519081900360640190fd5b6000600b5560048054600554600754604080516370a0823160e01b81523095810195909552516001600160a01b03938416949390921692611bb09285928792611bab926001600160701b039092169185916370a08231916024808301926020929190829003018186803b158015611b7357600080fd5b505afa158015611b87573d6000803e3d6000fd5b505050506040513d6020811015611b9d57600080fd5b50519063ffffffff61223a16565b61203d565b600754604080516370a0823160e01b81523060048201529051611c179284928792611bab92600160701b90046001600160701b0316916001600160a01b038616916370a0823191602480820192602092909190829003018186803b158015611b7357600080fd5b50506001600b5550565b6003546001600160a01b031681565b6000546001600160a01b03163314611c7b576040805162461bcd60e51b81526020600482015260096024820152682327a92124a22222a760b91b604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b031681565b42841015611cfa576040805162461bcd60e51b8152602060048201526016602482015275151a1c9d5cdd195c915490cc8c0e881156141254915160521b604482015290519081900360640190fd5b600180546001600160a01b03808a166000818152600260209081526040808320805480890190915581517f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98185015280830195909552948d166060850152608084018c905260a084019490945260c08084018b90528451808503909101815260e08401855280519082012061190160f01b6101008501526101028401959095526101228084019590955283518084039095018552610142830180855285519582019590952094829052610162830180855285905260ff89166101828401526101a283018890526101c2830187905292519394909390926101e2808401939192601f1981019281900390910190855afa158015611e1a573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811615801590611e505750886001600160a01b0316816001600160a01b0316145b611ea1576040805162461bcd60e51b815260206004820181905260248201527f546872757374657245524332303a20494e56414c49445f5349474e4154555245604482015290519081900360640190fd5b611eac8989896124d2565b505050505050505050565b600d60209081526000928352604080842090915290825290205481565b600b54600114611f22576040805162461bcd60e51b8152602060048201526014602482015273151a1c9d5cdd195c94185a5c8e881313d0d2d15160621b604482015290519081900360640190fd5b6000600b5560048054604080516370a0823160e01b8152309381019390935251612036926001600160a01b03909216916370a08231916024808301926020929190829003018186803b158015611f7757600080fd5b505afa158015611f8b573d6000803e3d6000fd5b505050506040513d6020811015611fa157600080fd5b5051600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b158015611fee57600080fd5b505afa158015612002573d6000803e3d6000fd5b505050506040513d602081101561201857600080fd5b50516007546001600160701b0380821691600160701b90041661228a565b6001600b55565b604080518082018252601981527f7472616e7366657228616464726573732c75696e74323536290000000000000060209182015281516001600160a01b0385811660248301526044808301869052845180840390910181526064909201845291810180516001600160e01b031663a9059cbb60e01b1781529251815160009460609489169392918291908083835b602083106120ea5780518252601f1990920191602091820191016120cb565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461214c576040519150601f19603f3d011682016040523d82523d6000602084013e612151565b606091505b509150915081801561217f57508051158061217f575080806020019051602081101561217c57600080fd5b50515b6121d0576040805162461bcd60e51b815260206004820152601d60248201527f5468727573746572506169723a205452414e534645525f4641494c4544000000604482015290519081900360640190fd5b5050505050565b60008115806121f2575050808202828282816121ef57fe5b04145b610ebe576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6d756c2d6f766572666c6f7760601b604482015290519081900360640190fd5b80820382811115610ebe576040805162461bcd60e51b815260206004820152601560248201527464732d6d6174682d7375622d756e646572666c6f7760581b604482015290519081900360640190fd5b6001600160701b0384118015906122a857506001600160701b038311155b6122f2576040805162461bcd60e51b81526020600482015260166024820152755468727573746572506169723a204f564552464c4f5760501b604482015290519081900360640190fd5b60075463ffffffff42811691600160e01b9004811682039081161580159061232257506001600160701b03841615155b801561233657506001600160701b03831615155b156123a7578063ffffffff166123648561234f86612a9f565b6001600160e01b03169063ffffffff612ab116565b600880546001600160e01b03929092169290920201905563ffffffff811661238f8461234f87612a9f565b600980546001600160e01b0392909216929092020190555b600780546dffffffffffffffffffffffffffff19166001600160701b03888116919091176dffffffffffffffffffffffffffff60701b1916600160701b8883168102919091176001600160e01b0316600160e01b63ffffffff871602179283905560408051848416815291909304909116602082015281517f1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1929181900390910190a16003546007546040805163731a624360e11b81526001600160701b038084166004830152600160701b9093049092166024830152516001600160a01b039092169163e634c4869160448082019260009290919082900301818387803b1580156124b257600080fd5b505af11580156124c6573d6000803e3d6000fd5b50505050505050505050565b6001600160a01b038084166000818152600d6020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166000908152600c602052604090205461255d908263ffffffff61223a16565b6001600160a01b038085166000908152600c60205260408082209390935590841681522054612592908263ffffffff612ad616565b6001600160a01b038084166000818152600c602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3600354604080516323de665160e01b81526001600160a01b038681166004830152858116602483015260448201859052915191909216916323de665191606480830192600092919082900301818387803b15801561264657600080fd5b505af115801561265a573d6000803e3d6000fd5b50505050505050565b600080600360009054906101000a90046001600160a01b03166001600160a01b0316633972bae06040518163ffffffff1660e01b815260040160206040518083038186803b1580156126b457600080fd5b505afa1580156126c8573d6000803e3d6000fd5b505050506040513d60208110156126de57600080fd5b5051600a546001600160a01b03821615801594509192509061282657801561282157600061272161132b6001600160701b0388811690881663ffffffff6121d716565b9050600061272e8361283a565b90508082111561281e57600061275c61274d848463ffffffff61223a16565b6006549063ffffffff6121d716565b905060006127fa836127ee600360009054906101000a90046001600160a01b03166001600160a01b031663b7224bd56040518163ffffffff1660e01b815260040160206040518083038186803b1580156127b557600080fd5b505afa1580156127c9573d6000803e3d6000fd5b505050506040513d60208110156127df57600080fd5b5051879063ffffffff6121d716565b9063ffffffff612ad616565b9050600081838161280757fe5b049050801561281a5761281a878261288c565b5050505b50505b612832565b8015612832576000600a555b505092915050565b6000600382111561287d575080600160028204015b818110156128775780915060028182858161286657fe5b04018161286f57fe5b04905061284f565b50612887565b8115612887575060015b919050565b60065461289f908263ffffffff612ad616565b6006556001600160a01b0382166000908152600c60205260409020546128cb908263ffffffff612ad616565b6001600160a01b0383166000818152600c602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3600354604080516323de665160e01b81526000600482018190526001600160a01b03868116602484015260448301869052925192909316926323de66519260648084019382900301818387803b15801561297857600080fd5b505af115801561298c573d6000803e3d6000fd5b505050505050565b60008183106129a357816129a5565b825b9392505050565b6001600160a01b0382166000908152600c60205260409020546129d5908263ffffffff61223a16565b6001600160a01b0383166000908152600c6020526040902055600654612a01908263ffffffff61223a16565b6006556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3600354604080516323de665160e01b81526001600160a01b0385811660048301526000602483018190526044830186905292519316926323de66519260648084019391929182900301818387803b15801561297857600080fd5b6001600160701b0316600160701b0290565b60006001600160701b0382166001600160e01b03841681612ace57fe5b049392505050565b80820182811015610ebe576040805162461bcd60e51b815260206004820152601460248201527364732d6d6174682d6164642d6f766572666c6f7760601b604482015290519081900360640190fdfe5468727573746572506169723a20494e53554646494349454e545f4c49515549444954595468727573746572506169723a20494e53554646494349454e545f4f55545055545f414d4f554e545468727573746572506169723a20494e53554646494349454e545f4c49515549444954595f4255524e45445468727573746572506169723a20494e53554646494349454e545f494e5055545f414d4f554e545468727573746572506169723a20494e53554646494349454e545f4c49515549444954595f4d494e544544a265627a7a723158206675f01acc9b393a5eb0f7e444753925fc99f593a83da910f80b79d8d74a542264736f6c63430005100032
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
BLAST | 100.00% | $2,600.86 | 20.0619 | $52,178.26 |
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.