Overview
CRO Balance
6 CRO
CRO Value
$0.47 (@ $0.08/CRO)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 10,749 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Pull And Convert... | 15763547 | 36 mins ago | IN | 0 CRO | 7.1498203 | ||||
Pull And Convert... | 15762758 | 1 hr ago | IN | 0 CRO | 7.23538903 | ||||
Pull And Convert... | 15762748 | 1 hr ago | IN | 0 CRO | 6.9004564 | ||||
Pull And Convert... | 15762743 | 1 hr ago | IN | 0 CRO | 3.91364263 | ||||
Pull And Convert... | 15762372 | 2 hrs ago | IN | 0 CRO | 9.79111927 | ||||
Pull And Convert... | 15761617 | 3 hrs ago | IN | 0 CRO | 5.83768385 | ||||
Pull And Convert... | 15761216 | 4 hrs ago | IN | 0 CRO | 3.3966207 | ||||
Pull And Convert... | 15761144 | 4 hrs ago | IN | 0 CRO | 7.14870425 | ||||
Pull And Convert... | 15760772 | 4 hrs ago | IN | 0 CRO | 4.3937929 | ||||
Pull And Convert... | 15759790 | 6 hrs ago | IN | 0 CRO | 7.1498203 | ||||
Pull And Convert... | 15758884 | 7 hrs ago | IN | 0 CRO | 5.83768385 | ||||
Pull And Convert... | 15758260 | 8 hrs ago | IN | 0 CRO | 7.14870425 | ||||
Pull And Convert... | 15757111 | 10 hrs ago | IN | 0 CRO | 7.1498203 | ||||
Pull And Convert... | 15756474 | 11 hrs ago | IN | 0 CRO | 5.83768385 | ||||
Pull And Convert... | 15754765 | 14 hrs ago | IN | 0 CRO | 5.9229228 | ||||
Pull And Convert... | 15753943 | 15 hrs ago | IN | 0 CRO | 7.14870425 | ||||
Pull And Convert... | 15753162 | 16 hrs ago | IN | 0 CRO | 4.4801479 | ||||
Pull And Convert... | 15752630 | 17 hrs ago | IN | 0 CRO | 4.3937929 | ||||
Pull And Convert... | 15751812 | 19 hrs ago | IN | 0 CRO | 5.7059243 | ||||
Pull And Convert... | 15750938 | 20 hrs ago | IN | 0 CRO | 7.2375388 | ||||
Pull And Convert... | 15750221 | 21 hrs ago | IN | 0 CRO | 4.3937929 | ||||
Pull And Convert... | 15749184 | 23 hrs ago | IN | 0 CRO | 4.3937929 | ||||
Pull And Convert... | 15748836 | 23 hrs ago | IN | 0 CRO | 6.02350365 | ||||
Pull And Convert... | 15748298 | 24 hrs ago | IN | 0 CRO | 5.8365678 | ||||
Pull And Convert... | 15747545 | 25 hrs ago | IN | 0 CRO | 4.3937929 |
Loading...
Loading
Contract Name:
TectonicSPBountyHelper
Compiler Version
v0.8.3+commit.8d00100c
Optimization Enabled:
Yes with 10 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; import "openzeppelin-solidity/contracts/token/ERC20/ERC20.sol"; interface ITectonicStakingPool { function performConversionForTokens( address[][] memory _paths, uint[] memory _amounts ) external returns ( uint[] memory errorCodes, uint tonicAmount, uint minTonicAmount ); function performConversionForTokensFullBalance( address[][] memory _paths ) external returns ( uint[] memory errorCodes, uint tonicAmount, uint minTonicAmount ); } interface ITTokenAdmin { function pullReserves() external returns(uint[] memory errorCodes); } contract TectonicSPBountyHelper { ITectonicStakingPool stakingPool; ITTokenAdmin tTokenAdmin; ERC20 tonic; /* ============ Events ============ */ event DeregisterSuccess(address tToken); event DisablePullReservesPublicAccess(); event EnablePullReservesPublicAccess(); event ETHWithdrawn(address recipient, uint amount); event FallbackAddressChanged(address oldFallback, address newFallback); event PullSuccess(address tToken, uint256 reserveRecipientAmount, uint256 rewardAmount); event PullError(address tToken, uint256 reservesToPull, uint errorCode); event RegisterSuccess(address tToken); event RegisterError(address tToken, uint errorCode); event ResignAdminSuccess(address tToken, address newAdmin); event ResignAdminError(address tToken, address newAdmin, uint errorCode); event ReserveRatioChanged(uint oldReserveRatio, uint newReserveRatio); event ReserveRecipientChanged(address oldRecipient, address newRecipient); event RewardRatioChanged(uint oldRewardRatio, uint newRewardRatio); event TonicStaked(address indexed user, uint tonicStaked, uint xTonicMinted); event TonicUnstaked(address indexed user, uint xTonicLocked, uint releasableBlockNum); event TonicReleased(address indexed user, uint xTonicBurned, uint tonicReleased); event ExchangeRateUpdated(uint newExchangeRate, uint timestamp); event CooldownChanged(uint oldCooldown, uint newCooldown); event Transfer(address indexed from, address indexed to, uint256 value); event ClaimBounty(address indexed user, uint rewards); constructor(address _stakingPool, address _tTokenAdmin, address _tonic) { stakingPool = ITectonicStakingPool(_stakingPool); tTokenAdmin = ITTokenAdmin(_tTokenAdmin); tonic = ERC20(_tonic); } function pullAndConvertFull(bool skipPull, address[][] memory paths) external { if (!skipPull) { tTokenAdmin.pullReserves(); } uint balanceBefore = tonic.balanceOf(address(this)); stakingPool.performConversionForTokensFullBalance(paths); uint balanceAfter = tonic.balanceOf(address(this)); require(balanceAfter >= balanceBefore, "Reduced TONIC balance"); uint rewardAmount = balanceAfter - balanceBefore; tonic.transfer(msg.sender, rewardAmount); emit ClaimBounty(msg.sender, rewardAmount); } // For static call only function pendingYieldingAndRewards( address[][] memory paths ) external returns (uint yieldingAmount, uint rewardAmount) { uint tonicInStakingPoolBefore = tonic.balanceOf(address(stakingPool)); uint myBalanceBefore = tonic.balanceOf(address(this)); tTokenAdmin.pullReserves(); stakingPool.performConversionForTokensFullBalance(paths); uint tonicInStakingPoolAfter = tonic.balanceOf(address(stakingPool)); uint myBalanceAfter = tonic.balanceOf(address(this)); rewardAmount = myBalanceAfter - myBalanceBefore; yieldingAmount = tonicInStakingPoolAfter - tonicInStakingPoolBefore; } fallback() external payable {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 10 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_stakingPool","type":"address"},{"internalType":"address","name":"_tTokenAdmin","type":"address"},{"internalType":"address","name":"_tonic","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"rewards","type":"uint256"}],"name":"ClaimBounty","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldCooldown","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newCooldown","type":"uint256"}],"name":"CooldownChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tToken","type":"address"}],"name":"DeregisterSuccess","type":"event"},{"anonymous":false,"inputs":[],"name":"DisablePullReservesPublicAccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ETHWithdrawn","type":"event"},{"anonymous":false,"inputs":[],"name":"EnablePullReservesPublicAccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newExchangeRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ExchangeRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldFallback","type":"address"},{"indexed":false,"internalType":"address","name":"newFallback","type":"address"}],"name":"FallbackAddressChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"reservesToPull","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"PullError","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"reserveRecipientAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"name":"PullSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"RegisterError","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tToken","type":"address"}],"name":"RegisterSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldReserveRatio","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newReserveRatio","type":"uint256"}],"name":"ReserveRatioChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldRecipient","type":"address"},{"indexed":false,"internalType":"address","name":"newRecipient","type":"address"}],"name":"ReserveRecipientChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tToken","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"},{"indexed":false,"internalType":"uint256","name":"errorCode","type":"uint256"}],"name":"ResignAdminError","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tToken","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"ResignAdminSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldRewardRatio","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newRewardRatio","type":"uint256"}],"name":"RewardRatioChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"xTonicBurned","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tonicReleased","type":"uint256"}],"name":"TonicReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"tonicStaked","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"xTonicMinted","type":"uint256"}],"name":"TonicStaked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"xTonicLocked","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"releasableBlockNum","type":"uint256"}],"name":"TonicUnstaked","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address[][]","name":"paths","type":"address[][]"}],"name":"pendingYieldingAndRewards","outputs":[{"internalType":"uint256","name":"yieldingAmount","type":"uint256"},{"internalType":"uint256","name":"rewardAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"skipPull","type":"bool"},{"internalType":"address[][]","name":"paths","type":"address[][]"}],"name":"pullAndConvertFull","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610be8380380610be883398101604081905261002f9161008d565b600080546001600160a01b039485166001600160a01b0319918216179091556001805493851693821693909317909255600280549190931691161790556100cf565b80516001600160a01b038116811461008857600080fd5b919050565b6000806000606084860312156100a1578283fd5b6100aa84610071565b92506100b860208501610071565b91506100c660408501610071565b90509250925092565b610b0a806100de6000396000f3fe6080604052600436106100295760003560e01c80632d0b6cc61461002b578063445fdcfb1461004b575b005b34801561003757600080fd5b5061002961004636600461092e565b610084565b34801561005757600080fd5b5061006b610066366004610852565b6103c1565b6040805192835260208301919091520160405180910390f35b8161011757600160009054906101000a90046001600160a01b03166001600160a01b031663aa8866616040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156100d957600080fd5b505af11580156100ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610115919081019061088c565b505b6002546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610148903090600401610993565b60206040518083038186803b15801561016057600080fd5b505afa158015610174573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610198919061097b565b60005460405163578af2f360e01b81529192506001600160a01b03169063578af2f3906101c99085906004016109a7565b600060405180830381600087803b1580156101e357600080fd5b505af11580156101f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261021f91908101906108be565b50506002546040516370a0823160e01b8152600092506001600160a01b03909116906370a0823190610255903090600401610993565b60206040518083038186803b15801561026d57600080fd5b505afa158015610281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a5919061097b565b9050818110156102f35760405162461bcd60e51b81526020600482015260156024820152745265647563656420544f4e49432062616c616e636560581b604482015260640160405180910390fd5b60006102ff8383610a8a565b60025460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561034c57600080fd5b505af1158015610360573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610384919061090b565b5060405181815233907fab0f40c80fff591a994f2be901790f750a3d76228f3533655263a931f21901cd9060200160405180910390a25050505050565b600254600080546040516370a0823160e01b81529192839283926001600160a01b03928316926370a08231926103fd9290911690600401610993565b60206040518083038186803b15801561041557600080fd5b505afa158015610429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044d919061097b565b6002546040516370a0823160e01b81529192506000916001600160a01b03909116906370a0823190610483903090600401610993565b60206040518083038186803b15801561049b57600080fd5b505afa1580156104af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d3919061097b565b9050600160009054906101000a90046001600160a01b03166001600160a01b031663aa8866616040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561052557600080fd5b505af1158015610539573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610561919081019061088c565b5060005460405163578af2f360e01b81526001600160a01b039091169063578af2f3906105929088906004016109a7565b600060405180830381600087803b1580156105ac57600080fd5b505af11580156105c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e891908101906108be565b5050600254600080546040516370a0823160e01b81529193506001600160a01b03928316926370a08231926106239290911690600401610993565b60206040518083038186803b15801561063b57600080fd5b505afa15801561064f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610673919061097b565b6002546040516370a0823160e01b81529192506000916001600160a01b03909116906370a08231906106a9903090600401610993565b60206040518083038186803b1580156106c157600080fd5b505afa1580156106d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f9919061097b565b90506107058382610a8a565b94506107118483610a8a565b955050505050915091565b600082601f83011261072c578081fd5b8135602061074161073c83610a67565b610a37565b82815281810190858301855b858110156107e8578135880189603f820112610767578788fd5b85810135604061077961073c83610a67565b8083825289820191508285018e848660051b8801011115610798578c8dfd5b8c95505b848610156107d157803593506001600160a01b03841684146107bc578c8dfd5b83835260019590950194918a01918a0161079c565b50885250505093850193509084019060010161074d565b5090979650505050505050565b600082601f830112610805578081fd5b8151602061081561073c83610a67565b80838252828201915082860187848660051b8901011115610834578586fd5b855b858110156107e857815184529284019290840190600101610836565b600060208284031215610863578081fd5b81356001600160401b03811115610878578182fd5b6108848482850161071c565b949350505050565b60006020828403121561089d578081fd5b81516001600160401b038111156108b2578182fd5b610884848285016107f5565b6000806000606084860312156108d2578182fd5b83516001600160401b038111156108e7578283fd5b6108f3868287016107f5565b93505060208401519150604084015190509250925092565b60006020828403121561091c578081fd5b815161092781610ac3565b9392505050565b60008060408385031215610940578182fd5b823561094b81610ac3565b915060208301356001600160401b03811115610965578182fd5b6109718582860161071c565b9150509250929050565b60006020828403121561098c578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b82811015610a2a57878503603f19018452815180518087529087019087870190895b81811015610a145783516001600160a01b0316835292890192918901916001016109ef565b50909650505092850192908501906001016109cd565b5092979650505050505050565b604051601f8201601f191681016001600160401b0381118282101715610a5f57610a5f610aad565b604052919050565b60006001600160401b03821115610a8057610a80610aad565b5060051b60200190565b600082821015610aa857634e487b7160e01b81526011600452602481fd5b500390565b634e487b7160e01b600052604160045260246000fd5b8015158114610ad157600080fd5b5056fea2646970667358221220006962fa35524f71ec81db24ca004d6e153f585917aaad99b7b99007e44860c764736f6c63430008030033000000000000000000000000e165132fda537fa89ca1b52a647240c2b84c8f89000000000000000000000000d13dd8ec60b571c1a20ebbb3fe3a7c718598c808000000000000000000000000dd73dea10abc2bff99c60882ec5b2b81bb1dc5b2
Deployed Bytecode
0x6080604052600436106100295760003560e01c80632d0b6cc61461002b578063445fdcfb1461004b575b005b34801561003757600080fd5b5061002961004636600461092e565b610084565b34801561005757600080fd5b5061006b610066366004610852565b6103c1565b6040805192835260208301919091520160405180910390f35b8161011757600160009054906101000a90046001600160a01b03166001600160a01b031663aa8866616040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156100d957600080fd5b505af11580156100ed573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610115919081019061088c565b505b6002546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610148903090600401610993565b60206040518083038186803b15801561016057600080fd5b505afa158015610174573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610198919061097b565b60005460405163578af2f360e01b81529192506001600160a01b03169063578af2f3906101c99085906004016109a7565b600060405180830381600087803b1580156101e357600080fd5b505af11580156101f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261021f91908101906108be565b50506002546040516370a0823160e01b8152600092506001600160a01b03909116906370a0823190610255903090600401610993565b60206040518083038186803b15801561026d57600080fd5b505afa158015610281573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102a5919061097b565b9050818110156102f35760405162461bcd60e51b81526020600482015260156024820152745265647563656420544f4e49432062616c616e636560581b604482015260640160405180910390fd5b60006102ff8383610a8a565b60025460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561034c57600080fd5b505af1158015610360573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610384919061090b565b5060405181815233907fab0f40c80fff591a994f2be901790f750a3d76228f3533655263a931f21901cd9060200160405180910390a25050505050565b600254600080546040516370a0823160e01b81529192839283926001600160a01b03928316926370a08231926103fd9290911690600401610993565b60206040518083038186803b15801561041557600080fd5b505afa158015610429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044d919061097b565b6002546040516370a0823160e01b81529192506000916001600160a01b03909116906370a0823190610483903090600401610993565b60206040518083038186803b15801561049b57600080fd5b505afa1580156104af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104d3919061097b565b9050600160009054906101000a90046001600160a01b03166001600160a01b031663aa8866616040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561052557600080fd5b505af1158015610539573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610561919081019061088c565b5060005460405163578af2f360e01b81526001600160a01b039091169063578af2f3906105929088906004016109a7565b600060405180830381600087803b1580156105ac57600080fd5b505af11580156105c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105e891908101906108be565b5050600254600080546040516370a0823160e01b81529193506001600160a01b03928316926370a08231926106239290911690600401610993565b60206040518083038186803b15801561063b57600080fd5b505afa15801561064f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610673919061097b565b6002546040516370a0823160e01b81529192506000916001600160a01b03909116906370a08231906106a9903090600401610993565b60206040518083038186803b1580156106c157600080fd5b505afa1580156106d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f9919061097b565b90506107058382610a8a565b94506107118483610a8a565b955050505050915091565b600082601f83011261072c578081fd5b8135602061074161073c83610a67565b610a37565b82815281810190858301855b858110156107e8578135880189603f820112610767578788fd5b85810135604061077961073c83610a67565b8083825289820191508285018e848660051b8801011115610798578c8dfd5b8c95505b848610156107d157803593506001600160a01b03841684146107bc578c8dfd5b83835260019590950194918a01918a0161079c565b50885250505093850193509084019060010161074d565b5090979650505050505050565b600082601f830112610805578081fd5b8151602061081561073c83610a67565b80838252828201915082860187848660051b8901011115610834578586fd5b855b858110156107e857815184529284019290840190600101610836565b600060208284031215610863578081fd5b81356001600160401b03811115610878578182fd5b6108848482850161071c565b949350505050565b60006020828403121561089d578081fd5b81516001600160401b038111156108b2578182fd5b610884848285016107f5565b6000806000606084860312156108d2578182fd5b83516001600160401b038111156108e7578283fd5b6108f3868287016107f5565b93505060208401519150604084015190509250925092565b60006020828403121561091c578081fd5b815161092781610ac3565b9392505050565b60008060408385031215610940578182fd5b823561094b81610ac3565b915060208301356001600160401b03811115610965578182fd5b6109718582860161071c565b9150509250929050565b60006020828403121561098c578081fd5b5051919050565b6001600160a01b0391909116815260200190565b6000602080830181845280855180835260408601915060408160051b8701019250838701855b82811015610a2a57878503603f19018452815180518087529087019087870190895b81811015610a145783516001600160a01b0316835292890192918901916001016109ef565b50909650505092850192908501906001016109cd565b5092979650505050505050565b604051601f8201601f191681016001600160401b0381118282101715610a5f57610a5f610aad565b604052919050565b60006001600160401b03821115610a8057610a80610aad565b5060051b60200190565b600082821015610aa857634e487b7160e01b81526011600452602481fd5b500390565b634e487b7160e01b600052604160045260246000fd5b8015158114610ad157600080fd5b5056fea2646970667358221220006962fa35524f71ec81db24ca004d6e153f585917aaad99b7b99007e44860c764736f6c63430008030033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000e165132fda537fa89ca1b52a647240c2b84c8f89000000000000000000000000d13dd8ec60b571c1a20ebbb3fe3a7c718598c808000000000000000000000000dd73dea10abc2bff99c60882ec5b2b81bb1dc5b2
-----Decoded View---------------
Arg [0] : _stakingPool (address): 0xE165132FdA537FA89Ca1B52A647240c2B84c8F89
Arg [1] : _tTokenAdmin (address): 0xD13Dd8Ec60B571C1A20EBbB3Fe3a7C718598C808
Arg [2] : _tonic (address): 0xDD73dEa10ABC2Bff99c60882EC5b2B81Bb1Dc5B2
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000e165132fda537fa89ca1b52a647240c2b84c8f89
Arg [1] : 000000000000000000000000d13dd8ec60b571c1a20ebbb3fe3a7c718598c808
Arg [2] : 000000000000000000000000dd73dea10abc2bff99c60882ec5b2b81bb1dc5b2
Loading...
Loading
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
CRONOS | Cronos (CRO) | 100.00% | $0.078708 | 6 | $0.472247 |
[ 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.