Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
3,261,164,079,164.762803937973860107 veSOS
Holders
9,996
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
22,570,435.031883090992851538 veSOSValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OpenDAOStaking
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 800 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MITpragma solidity 0.8.9;import "@openzeppelin/contracts/token/ERC20/ERC20.sol";import "@openzeppelin/contracts/token/ERC20/IERC20.sol";import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";import "@openzeppelin/contracts/utils/math/SafeCast.sol";import "@openzeppelin/contracts/access/Ownable.sol";contract OpenDAOStaking is ERC20("veSOS", "veSOS"), Ownable {using SafeERC20 for IERC20;using SafeCast for int256;using SafeCast for uint256;struct Config {// Timestamp in seconds is small enough to fit into uint64uint64 periodFinish;uint64 periodStart;// Staking incentive rewards to distribute in a steady rateuint128 totalReward;}IERC20 public sos;Config public config;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)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 Contracts guidelines: functions revert* instead 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}.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)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.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)pragma solidity ^0.8.0;import "../IERC20.sol";import "../../../utils/Address.sol";/*** @title SafeERC20* @dev Wrappers around ERC20 operations that throw on failure (when the token* contract returns false). Tokens that return no value (and instead revert or* throw on failure) are also supported, non-reverting calls are assumed to be* successful.* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.*/library SafeERC20 {using Address for address;function safeTransfer(IERC20 token,address to,uint256 value) internal {_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/math/SafeCast.sol)pragma solidity ^0.8.0;/*** @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow* checks.** Downcasting from uint256/int256 in Solidity does not revert on overflow. This can* easily result in undesired exploitation or bugs, since developers usually* assume that overflows raise errors. `SafeCast` restores this intuition by* reverting the transaction when such an operation overflows.** Using this library instead of the unchecked operations eliminates an entire* class of bugs, so it's recommended to use it always.** Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing* all math on `uint256` and `int256` and then downcasting.*/library SafeCast {/*** @dev Returns the downcasted uint224 from uint256, reverting on* overflow (when the input is greater than largest uint224).** Counterpart to Solidity's `uint224` operator.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)pragma solidity ^0.8.0;import "../utils/Context.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** By default, the owner account will be the one that deploys the contract. This* can later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/abstract contract Ownable is Context {address private _owner;event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);/*** @dev Initializes the contract setting the deployer as the initial owner.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)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.*/
123456789101112131415161718192021222324// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)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;}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)pragma solidity ^0.8.0;/*** @dev Collection of functions related to the address type*/library Address {/*** @dev Returns true if `account` is a contract.** [IMPORTANT]* ====* It is unsafe to assume that an address for which this function returns* false is an externally-owned account (EOA) and not a contract.** Among others, `isContract` will return false for the following* types of addresses:** - an externally-owned account* - a contract in construction* - an address where a contract will be created* - an address where a contract lived, but was destroyed* ====*/
12345678910111213141516171819{"optimizer": {"enabled": true,"runs": 800},"outputSelection": {"*": {"*": ["evm.bytecode","evm.deployedBytecode","devdoc","userdoc","metadata","abi"]}},"libraries": {}}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"contract IERC20","name":"_sos","type":"address"},{"internalType":"uint64","name":"_periodStart","type":"uint64"},{"internalType":"uint64","name":"_rewardsDuration","type":"uint64"}],"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_sosAmount","type":"uint256"}],"name":"addRewardSOS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"config","outputs":[{"internalType":"uint64","name":"periodFinish","type":"uint64"},{"internalType":"uint64","name":"periodStart","type":"uint64"},{"internalType":"uint128","name":"totalReward","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sosAmount","type":"uint256"}],"name":"enter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozenRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSOSPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_share","type":"uint256"}],"name":"leave","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_periodStart","type":"uint64"},{"internalType":"uint64","name":"_rewardsDuration","type":"uint64"}],"name":"setPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sos","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620020a5380380620020a58339810160408190526200003491620004ca565b6040805180820182526005808252647665534f5360d81b602080840182815285518087019096529285528401528151919291620000749160039162000407565b5080516200008a90600490602084019062000407565b505050620000a7620000a16200014b60201b60201c565b6200014f565b6001600160a01b0383166200011b5760405162461bcd60e51b815260206004820152602f60248201527f4f70656e44414f5374616b696e673a205f736f732063616e6e6f74206265207460448201526e6865207a65726f206164647265737360881b60648201526084015b60405180910390fd5b600680546001600160a01b0319166001600160a01b038516179055620001428282620001a1565b50505062000598565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620001fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000112565b42826001600160401b031610156200027e5760405162461bcd60e51b815260206004820152603560248201527f4f70656e44414f5374616b696e673a205f706572696f6453746172742073686f60448201527f756c646e277420626520696e2074686520706173740000000000000000000000606482015260840162000112565b6000816001600160401b031611620002ea5760405162461bcd60e51b815260206004820152602860248201527f4f70656e44414f5374616b696e673a20496e76616c6964207265776172647320604482015267323ab930ba34b7b760c11b606482015260840162000112565b604080516060810182526007546001600160401b038082168084526801000000000000000083049091166020840152600160801b9091046001600160801b031692820192909252904211620003c35760405162461bcd60e51b815260206004820152605260248201527f4f70656e44414f5374616b696e673a20546865206c617374207265776172642060448201527f706572696f642073686f756c642062652066696e6973686564206265666f72656064820152712073657474696e672061206e6577206f6e6560701b608482015260a40162000112565b6000620003d1838562000521565b6001600160401b0394851668010000000000000000026fffffffffffffffff000000000000000016941693909317600755505050565b82805462000415906200055b565b90600052602060002090601f01602090048101928262000439576000855562000484565b82601f106200045457805160ff191683800117855562000484565b8280016001018555821562000484579182015b828111156200048457825182559160200191906001019062000467565b506200049292915062000496565b5090565b5b8082111562000492576000815560010162000497565b80516001600160401b0381168114620004c557600080fd5b919050565b600080600060608486031215620004e057600080fd5b83516001600160a01b0381168114620004f857600080fd5b92506200050860208501620004ad565b91506200051860408501620004ad565b90509250925092565b60006001600160401b038281168482168083038211156200055257634e487b7160e01b600052601160045260246000fd5b01949350505050565b600181811c908216806200057057607f821691505b602082108114156200059257634e487b7160e01b600052602260045260246000fd5b50919050565b611afd80620005a86000396000f3fe608060405234801561001057600080fd5b50600436106101825760003560e01c806379502c55116100d8578063a457c2d71161008c578063d69a108211610066578063d69a108214610357578063dd62ed3e1461036a578063f2fde38b146103a357600080fd5b8063a457c2d71461031e578063a59f3e0c14610331578063a9059cbb1461034457600080fd5b80638da5cb5b116100bd5780638da5cb5b146102fd57806395d89b411461030e5780639b84163f1461031657600080fd5b806379502c55146102705780638a7e26dd146102d257600080fd5b8063313ce5671161013a57806370a082311161011457806370a082311461022c578063715018a614610255578063788f11bb1461025d57600080fd5b8063313ce567146101f5578063395093511461020457806367dfd4c91461021757600080fd5b806318160ddd1161016b57806318160ddd146101c857806323b872dd146101da5780632faf795e146101ed57600080fd5b806306fdde0314610187578063095ea7b3146101a5575b600080fd5b61018f6103b6565b60405161019c9190611803565b60405180910390f35b6101b86101b3366004611852565b610448565b604051901515815260200161019c565b6002545b60405190815260200161019c565b6101b86101e836600461187c565b61045e565b6101cc610524565b6040516012815260200161019c565b6101b8610212366004611852565b6105fc565b61022a6102253660046118b8565b610638565b005b6101cc61023a3660046118d1565b6001600160a01b031660009081526020819052604090205490565b61022a610708565b61022a61026b366004611904565b61076e565b6007546102a29067ffffffffffffffff80821691600160401b810490911690600160801b90046001600160801b031683565b6040805167ffffffffffffffff94851681529390921660208401526001600160801b03169082015260600161019c565b6006546102e5906001600160a01b031681565b6040516001600160a01b03909116815260200161019c565b6005546001600160a01b03166102e5565b61018f6109e4565b6101cc6109f3565b6101b861032c366004611852565b610a87565b61022a61033f3660046118b8565b610b38565b6101b8610352366004611852565b610c22565b61022a6103653660046118b8565b610c2f565b6101cc610378366004611937565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022a6103b13660046118d1565b610d7e565b6060600380546103c590611961565b80601f01602080910402602001604051908101604052809291908181526020018280546103f190611961565b801561043e5780601f106104135761010080835404028352916020019161043e565b820191906000526020600020905b81548152906001019060200180831161042157829003601f168201915b5050505050905090565b6000610455338484610e60565b50600192915050565b600061046b848484610f84565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561050a5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6105178533858403610e60565b60019150505b9392505050565b6040805160608101825260075467ffffffffffffffff808216808452600160401b830490911660208401819052600160801b9092046001600160801b03169383019390935260009242918491829161057b916119b2565b9050836020015167ffffffffffffffff16831161059a578091506105cf565b835167ffffffffffffffff1683106105b557600091506105cf565b83516105cc90849067ffffffffffffffff166119b2565b91505b8084604001516001600160801b0316836105e991906119c9565b6105f391906119e8565b94505050505090565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610455918590610633908690611a0a565b610e60565b600081116106ae5760405162461bcd60e51b815260206004820152603160248201527f4f70656e44414f5374616b696e673a2053686f756c64206174206c656173742060448201527f756e7374616b6520736f6d657468696e670000000000000000000000000000006064820152608401610501565b60006106b86109f3565b905060006106c560025490565b90506106d13384611181565b6000816106de84866119c9565b6106e891906119e8565b600654909150610702906001600160a01b031633836112cf565b50505050565b6005546001600160a01b031633146107625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610501565b61076c600061135f565b565b6005546001600160a01b031633146107c85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610501565b428267ffffffffffffffff1610156108485760405162461bcd60e51b815260206004820152603560248201527f4f70656e44414f5374616b696e673a205f706572696f6453746172742073686f60448201527f756c646e277420626520696e20746865207061737400000000000000000000006064820152608401610501565b60008167ffffffffffffffff16116108c85760405162461bcd60e51b815260206004820152602860248201527f4f70656e44414f5374616b696e673a20496e76616c696420726577617264732060448201527f6475726174696f6e0000000000000000000000000000000000000000000000006064820152608401610501565b6040805160608101825260075467ffffffffffffffff808216808452600160401b83049091166020840152600160801b9091046001600160801b0316928201929092529042116109a65760405162461bcd60e51b815260206004820152605260248201527f4f70656e44414f5374616b696e673a20546865206c617374207265776172642060448201527f706572696f642073686f756c642062652066696e6973686564206265666f726560648201527f2073657474696e672061206e6577206f6e650000000000000000000000000000608482015260a401610501565b60006109b28385611a22565b67ffffffffffffffff948516600160401b026fffffffffffffffff000000000000000016941693909317600755505050565b6060600480546103c590611961565b60006109fd610524565b6006546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610a4057600080fd5b505afa158015610a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a789190611a4e565b610a8291906119b2565b905090565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610b215760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610501565b610b2e3385858403610e60565b5060019392505050565b60008111610bae5760405162461bcd60e51b815260206004820152602f60248201527f4f70656e44414f5374616b696e673a2053686f756c64206174206c656173742060448201527f7374616b6520736f6d657468696e6700000000000000000000000000000000006064820152608401610501565b6000610bb86109f3565b90506000610bc560025490565b600654909150610be0906001600160a01b03163330866113c9565b801580610beb575081155b15610bff57610bfa3384611401565b505050565b600082610c0c83866119c9565b610c1691906119e8565b90506107023382611401565b6000610455338484610f84565b6040805160608101825260075467ffffffffffffffff808216808452600160401b83049091166020840152600160801b9091046001600160801b031692820192909252904210610ce75760405162461bcd60e51b815260206004820152602b60248201527f4f70656e44414f5374616b696e673a20416464696e672072657761726473206960448201527f7320666f7262696464656e0000000000000000000000000000000000000000006064820152608401610501565b600654610cff906001600160a01b03163330856113c9565b610d08826114e0565b81604001818151610d199190611a67565b6001600160801b0390811690915282516007805460208601516040909601518416600160801b0267ffffffffffffffff968716600160401b026fffffffffffffffffffffffffffffffff19909216969093169590951794909417909116179091555050565b6005546001600160a01b03163314610dd85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610501565b6001600160a01b038116610e545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610501565b610e5d8161135f565b50565b6001600160a01b038316610ec25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610501565b6001600160a01b038216610f235760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610501565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110005760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610501565b6001600160a01b0382166110625760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610501565b6001600160a01b038316600090815260208190526040902054818110156110f15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610501565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611128908490611a0a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161117491815260200190565b60405180910390a3610702565b6001600160a01b0382166111e15760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610501565b6001600160a01b038216600090815260208190526040902054818110156112555760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610501565b6001600160a01b03831660009081526020819052604081208383039055600280548492906112849084906119b2565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6040516001600160a01b038316602482015260448101829052610bfa90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611563565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526107029085906323b872dd60e01b906084016112fb565b6001600160a01b0382166114575760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610501565b80600260008282546114699190611a0a565b90915550506001600160a01b03821660009081526020819052604081208054839290611496908490611a0a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60006001600160801b0382111561155f5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203160448201527f32382062697473000000000000000000000000000000000000000000000000006064820152608401610501565b5090565b60006115b8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116489092919063ffffffff16565b805190915015610bfa57808060200190518101906115d69190611a89565b610bfa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610501565b6060611657848460008561165f565b949350505050565b6060824710156116d75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610501565b843b6117255760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610501565b600080866001600160a01b031685876040516117419190611aab565b60006040518083038185875af1925050503d806000811461177e576040519150601f19603f3d011682016040523d82523d6000602084013e611783565b606091505b509150915061179382828661179e565b979650505050505050565b606083156117ad57508161051d565b8251156117bd5782518084602001fd5b8160405162461bcd60e51b81526004016105019190611803565b60005b838110156117f25781810151838201526020016117da565b838111156107025750506000910152565b60208152600082518060208401526118228160408501602087016117d7565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461184d57600080fd5b919050565b6000806040838503121561186557600080fd5b61186e83611836565b946020939093013593505050565b60008060006060848603121561189157600080fd5b61189a84611836565b92506118a860208501611836565b9150604084013590509250925092565b6000602082840312156118ca57600080fd5b5035919050565b6000602082840312156118e357600080fd5b61051d82611836565b803567ffffffffffffffff8116811461184d57600080fd5b6000806040838503121561191757600080fd5b611920836118ec565b915061192e602084016118ec565b90509250929050565b6000806040838503121561194a57600080fd5b61195383611836565b915061192e60208401611836565b600181811c9082168061197557607f821691505b6020821081141561199657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156119c4576119c461199c565b500390565b60008160001904831182151516156119e3576119e361199c565b500290565b600082611a0557634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611a1d57611a1d61199c565b500190565b600067ffffffffffffffff808316818516808303821115611a4557611a4561199c565b01949350505050565b600060208284031215611a6057600080fd5b5051919050565b60006001600160801b03808316818516808303821115611a4557611a4561199c565b600060208284031215611a9b57600080fd5b8151801515811461051d57600080fd5b60008251611abd8184602087016117d7565b919091019291505056fea264697066735822122011d4dad9be6de1c86f4689f1a30a43de726ee2a48ae1d240ba9e57985f879b8564736f6c634300080900330000000000000000000000003b484b82567a09e2588a13d54d032153f0c0aee00000000000000000000000000000000000000000000000000000000061d57a300000000000000000000000000000000000000000000000000000000001e13380
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101825760003560e01c806379502c55116100d8578063a457c2d71161008c578063d69a108211610066578063d69a108214610357578063dd62ed3e1461036a578063f2fde38b146103a357600080fd5b8063a457c2d71461031e578063a59f3e0c14610331578063a9059cbb1461034457600080fd5b80638da5cb5b116100bd5780638da5cb5b146102fd57806395d89b411461030e5780639b84163f1461031657600080fd5b806379502c55146102705780638a7e26dd146102d257600080fd5b8063313ce5671161013a57806370a082311161011457806370a082311461022c578063715018a614610255578063788f11bb1461025d57600080fd5b8063313ce567146101f5578063395093511461020457806367dfd4c91461021757600080fd5b806318160ddd1161016b57806318160ddd146101c857806323b872dd146101da5780632faf795e146101ed57600080fd5b806306fdde0314610187578063095ea7b3146101a5575b600080fd5b61018f6103b6565b60405161019c9190611803565b60405180910390f35b6101b86101b3366004611852565b610448565b604051901515815260200161019c565b6002545b60405190815260200161019c565b6101b86101e836600461187c565b61045e565b6101cc610524565b6040516012815260200161019c565b6101b8610212366004611852565b6105fc565b61022a6102253660046118b8565b610638565b005b6101cc61023a3660046118d1565b6001600160a01b031660009081526020819052604090205490565b61022a610708565b61022a61026b366004611904565b61076e565b6007546102a29067ffffffffffffffff80821691600160401b810490911690600160801b90046001600160801b031683565b6040805167ffffffffffffffff94851681529390921660208401526001600160801b03169082015260600161019c565b6006546102e5906001600160a01b031681565b6040516001600160a01b03909116815260200161019c565b6005546001600160a01b03166102e5565b61018f6109e4565b6101cc6109f3565b6101b861032c366004611852565b610a87565b61022a61033f3660046118b8565b610b38565b6101b8610352366004611852565b610c22565b61022a6103653660046118b8565b610c2f565b6101cc610378366004611937565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022a6103b13660046118d1565b610d7e565b6060600380546103c590611961565b80601f01602080910402602001604051908101604052809291908181526020018280546103f190611961565b801561043e5780601f106104135761010080835404028352916020019161043e565b820191906000526020600020905b81548152906001019060200180831161042157829003601f168201915b5050505050905090565b6000610455338484610e60565b50600192915050565b600061046b848484610f84565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561050a5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206160448201527f6c6c6f77616e636500000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6105178533858403610e60565b60019150505b9392505050565b6040805160608101825260075467ffffffffffffffff808216808452600160401b830490911660208401819052600160801b9092046001600160801b03169383019390935260009242918491829161057b916119b2565b9050836020015167ffffffffffffffff16831161059a578091506105cf565b835167ffffffffffffffff1683106105b557600091506105cf565b83516105cc90849067ffffffffffffffff166119b2565b91505b8084604001516001600160801b0316836105e991906119c9565b6105f391906119e8565b94505050505090565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610455918590610633908690611a0a565b610e60565b600081116106ae5760405162461bcd60e51b815260206004820152603160248201527f4f70656e44414f5374616b696e673a2053686f756c64206174206c656173742060448201527f756e7374616b6520736f6d657468696e670000000000000000000000000000006064820152608401610501565b60006106b86109f3565b905060006106c560025490565b90506106d13384611181565b6000816106de84866119c9565b6106e891906119e8565b600654909150610702906001600160a01b031633836112cf565b50505050565b6005546001600160a01b031633146107625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610501565b61076c600061135f565b565b6005546001600160a01b031633146107c85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610501565b428267ffffffffffffffff1610156108485760405162461bcd60e51b815260206004820152603560248201527f4f70656e44414f5374616b696e673a205f706572696f6453746172742073686f60448201527f756c646e277420626520696e20746865207061737400000000000000000000006064820152608401610501565b60008167ffffffffffffffff16116108c85760405162461bcd60e51b815260206004820152602860248201527f4f70656e44414f5374616b696e673a20496e76616c696420726577617264732060448201527f6475726174696f6e0000000000000000000000000000000000000000000000006064820152608401610501565b6040805160608101825260075467ffffffffffffffff808216808452600160401b83049091166020840152600160801b9091046001600160801b0316928201929092529042116109a65760405162461bcd60e51b815260206004820152605260248201527f4f70656e44414f5374616b696e673a20546865206c617374207265776172642060448201527f706572696f642073686f756c642062652066696e6973686564206265666f726560648201527f2073657474696e672061206e6577206f6e650000000000000000000000000000608482015260a401610501565b60006109b28385611a22565b67ffffffffffffffff948516600160401b026fffffffffffffffff000000000000000016941693909317600755505050565b6060600480546103c590611961565b60006109fd610524565b6006546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015610a4057600080fd5b505afa158015610a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a789190611a4e565b610a8291906119b2565b905090565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610b215760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610501565b610b2e3385858403610e60565b5060019392505050565b60008111610bae5760405162461bcd60e51b815260206004820152602f60248201527f4f70656e44414f5374616b696e673a2053686f756c64206174206c656173742060448201527f7374616b6520736f6d657468696e6700000000000000000000000000000000006064820152608401610501565b6000610bb86109f3565b90506000610bc560025490565b600654909150610be0906001600160a01b03163330866113c9565b801580610beb575081155b15610bff57610bfa3384611401565b505050565b600082610c0c83866119c9565b610c1691906119e8565b90506107023382611401565b6000610455338484610f84565b6040805160608101825260075467ffffffffffffffff808216808452600160401b83049091166020840152600160801b9091046001600160801b031692820192909252904210610ce75760405162461bcd60e51b815260206004820152602b60248201527f4f70656e44414f5374616b696e673a20416464696e672072657761726473206960448201527f7320666f7262696464656e0000000000000000000000000000000000000000006064820152608401610501565b600654610cff906001600160a01b03163330856113c9565b610d08826114e0565b81604001818151610d199190611a67565b6001600160801b0390811690915282516007805460208601516040909601518416600160801b0267ffffffffffffffff968716600160401b026fffffffffffffffffffffffffffffffff19909216969093169590951794909417909116179091555050565b6005546001600160a01b03163314610dd85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610501565b6001600160a01b038116610e545760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610501565b610e5d8161135f565b50565b6001600160a01b038316610ec25760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610501565b6001600160a01b038216610f235760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610501565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383166110005760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610501565b6001600160a01b0382166110625760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610501565b6001600160a01b038316600090815260208190526040902054818110156110f15760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e636500000000000000000000000000000000000000000000000000006064820152608401610501565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611128908490611a0a565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161117491815260200190565b60405180910390a3610702565b6001600160a01b0382166111e15760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610501565b6001600160a01b038216600090815260208190526040902054818110156112555760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610501565b6001600160a01b03831660009081526020819052604081208383039055600280548492906112849084906119b2565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6040516001600160a01b038316602482015260448101829052610bfa90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152611563565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526107029085906323b872dd60e01b906084016112fb565b6001600160a01b0382166114575760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610501565b80600260008282546114699190611a0a565b90915550506001600160a01b03821660009081526020819052604081208054839290611496908490611a0a565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60006001600160801b0382111561155f5760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203160448201527f32382062697473000000000000000000000000000000000000000000000000006064820152608401610501565b5090565b60006115b8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166116489092919063ffffffff16565b805190915015610bfa57808060200190518101906115d69190611a89565b610bfa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610501565b6060611657848460008561165f565b949350505050565b6060824710156116d75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610501565b843b6117255760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610501565b600080866001600160a01b031685876040516117419190611aab565b60006040518083038185875af1925050503d806000811461177e576040519150601f19603f3d011682016040523d82523d6000602084013e611783565b606091505b509150915061179382828661179e565b979650505050505050565b606083156117ad57508161051d565b8251156117bd5782518084602001fd5b8160405162461bcd60e51b81526004016105019190611803565b60005b838110156117f25781810151838201526020016117da565b838111156107025750506000910152565b60208152600082518060208401526118228160408501602087016117d7565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461184d57600080fd5b919050565b6000806040838503121561186557600080fd5b61186e83611836565b946020939093013593505050565b60008060006060848603121561189157600080fd5b61189a84611836565b92506118a860208501611836565b9150604084013590509250925092565b6000602082840312156118ca57600080fd5b5035919050565b6000602082840312156118e357600080fd5b61051d82611836565b803567ffffffffffffffff8116811461184d57600080fd5b6000806040838503121561191757600080fd5b611920836118ec565b915061192e602084016118ec565b90509250929050565b6000806040838503121561194a57600080fd5b61195383611836565b915061192e60208401611836565b600181811c9082168061197557607f821691505b6020821081141561199657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156119c4576119c461199c565b500390565b60008160001904831182151516156119e3576119e361199c565b500290565b600082611a0557634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611a1d57611a1d61199c565b500190565b600067ffffffffffffffff808316818516808303821115611a4557611a4561199c565b01949350505050565b600060208284031215611a6057600080fd5b5051919050565b60006001600160801b03808316818516808303821115611a4557611a4561199c565b600060208284031215611a9b57600080fd5b8151801515811461051d57600080fd5b60008251611abd8184602087016117d7565b919091019291505056fea264697066735822122011d4dad9be6de1c86f4689f1a30a43de726ee2a48ae1d240ba9e57985f879b8564736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003b484b82567a09e2588a13d54d032153f0c0aee00000000000000000000000000000000000000000000000000000000061d57a300000000000000000000000000000000000000000000000000000000001e13380
-----Decoded View---------------
Arg [0] : _sos (address): 0x3b484b82567a09e2588A13D54D032153f0c0aEe0
Arg [1] : _periodStart (uint64): 1641380400
Arg [2] : _rewardsDuration (uint64): 31536000
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000003b484b82567a09e2588a13d54d032153f0c0aee0
Arg [1] : 0000000000000000000000000000000000000000000000000000000061d57a30
Arg [2] : 0000000000000000000000000000000000000000000000000000000001e13380
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.