Feature Tip: Add private address tag to any address under My Name Tag !
Overview
Max Total Supply
92,122.50184921880247836 SFI
Holders
13,345 ( -0.007%)
Market
Price
$31.52 @ 0.009195 ETH (-1.40%)
Onchain Market Cap
$2,903,701.26
Circulating Supply Market Cap
$2,524,394.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.059322091920295618 SFIValue
$1.87 ( ~0.000545501297163046 Eth) [0.0001%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | Bilaxy | SFI-ETH | $32.04 0.0093460 Eth | $41,462.00 1,294.200 SFI | 89.2583% |
2 | Indodax | SFI-IDR | $27.10 0.0079030 Eth | $3,167.73 116.892 SFI | 8.0618% |
3 | Uniswap V2 (Ethereum) | 0XB753428AF26E81097E7FD17F40C88AAA3E04902C-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $30.34 0.0088507 Eth | $630.60 20.636 0XB753428AF26E81097E7FD17F40C88AAA3E04902C | 1.4232% |
4 | Gate.io | SFI-USDT | $29.84 0.0087015 Eth | $161.59 5.473 SFI | 0.3774% |
5 | Sushiswap | 0XB753428AF26E81097E7FD17F40C88AAA3E04902C-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $31.22 0.0091074 Eth | $143.78 4.575 0XB753428AF26E81097E7FD17F40C88AAA3E04902C | 0.3155% |
6 | Bancor (V2) | SFI-BNT | $28.26 0.0082417 Eth | $124.65 4.411 SFI | 0.3042% |
7 | Uniswap V2 (Ethereum) | 0XB753428AF26E81097E7FD17F40C88AAA3E04902C-0XA1FAA113CBE53436DF28FF0AEE54275C13B40975 | $30.58 0.0091665 Eth | $68.59 2.243 0XB753428AF26E81097E7FD17F40C88AAA3E04902C | 0.1547% |
8 | Uniswap V2 (Ethereum) | 0XB753428AF26E81097E7FD17F40C88AAA3E04902C-0X36F3FD68E7325A35EB768F1AEDAAE9EA0689D723 | $33.21 0.0096491 Eth | $49.52 1.491 0XB753428AF26E81097E7FD17F40C88AAA3E04902C | 0.1028% |
9 | Uniswap V2 (Ethereum) | 0XB753428AF26E81097E7FD17F40C88AAA3E04902C-0X666D875C600AA06AC1CF15641361DEC3B00432EF | $30.14 0.0090809 Eth | $48.77 1.618 0XB753428AF26E81097E7FD17F40C88AAA3E04902C | 0.1116% |
10 | Uniswap V3 (Ethereum) | 0XB753428AF26E81097E7FD17F40C88AAA3E04902C-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $32.73 0.0096166 Eth | $16.22 0.496 0XB753428AF26E81097E7FD17F40C88AAA3E04902C | 0.0342% |
11 | Gate.io | SFI-ETH | $24.60 0.0073852 Eth | $3.90 0.159 SFI | 0.0109% |
Contract Name:
SFI
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-31 */ // File: contracts/lib/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.7.1; /* * @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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: contracts/lib/IERC20.sol pragma solidity ^0.7.1; /** * @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); } // File: contracts/lib/SafeMath.sol pragma solidity ^0.7.1; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: contracts/lib/Address.sol pragma solidity ^0.7.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.3._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: contracts/lib/ERC20.sol pragma solidity ^0.7.1; /** * @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 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view 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 {_setupDecimals} is * called. * * 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 returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view 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); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); 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].add(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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(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 * * - `to` 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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(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); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is 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 Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @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 to 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 { } } // File: contracts/lib/SafeERC20.sol pragma solidity ^0.7.1; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts/SFI.sol pragma solidity ^0.7.1; contract SFI is ERC20 { using SafeERC20 for IERC20; address public governance; address public SFI_minter; uint256 public MAX_TOKENS = 100000 ether; constructor (string memory name, string memory symbol) ERC20(name, symbol) { // Initial governance is Saffron Deployer governance = msg.sender; } function mint_SFI(address to, uint256 amount) public { require(msg.sender == SFI_minter, "must be SFI_minter"); require(this.totalSupply() + amount < MAX_TOKENS, "cannot mint more than MAX_TOKENS"); _mint(to, amount); } function set_minter(address to) external { require(msg.sender == governance, "must be governance"); SFI_minter = to; } function set_governance(address to) external { require(msg.sender == governance, "must be governance"); governance = to; } event ErcSwept(address who, address to, address token, uint256 amount); function erc_sweep(address _token, address _to) public { require(msg.sender == governance, "must be governance"); IERC20 tkn = IERC20(_token); uint256 tBal = tkn.balanceOf(address(this)); tkn.safeTransfer(_to, tBal); emit ErcSwept(msg.sender, _to, _token, tBal); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"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":false,"internalType":"address","name":"who","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ErcSwept","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":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SFI_minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"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":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"erc_sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint_SFI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"set_governance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"set_minter","outputs":[],"stateMutability":"nonpayable","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"}]
Contract Creation Code
608060405269152d02c7e14af68000006007553480156200001f57600080fd5b5060405162001a9238038062001a92833981810160405260408110156200004557600080fd5b81019080805160405193929190846401000000008211156200006657600080fd5b9083019060208201858111156200007c57600080fd5b82516401000000008111828201881017156200009757600080fd5b82525081516020918201929091019080838360005b83811015620000c6578181015183820152602001620000ac565b50505050905090810190601f168015620000f45780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011857600080fd5b9083019060208201858111156200012e57600080fd5b82516401000000008111828201881017156200014957600080fd5b82525081516020918201929091019080838360005b83811015620001785781810151838201526020016200015e565b50505050905090810190601f168015620001a65780820380516001836020036101000a031916815260200191505b50604052505082518391508290620001c690600390602085019062000208565b508051620001dc90600490602084019062000208565b505060058054601260ff1990911617610100600160a81b031916610100330217905550620002b4915050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200024057600085556200028b565b82601f106200025b57805160ff19168380011785556200028b565b828001600101855582156200028b579182015b828111156200028b5782518255916020019190600101906200026e565b50620002999291506200029d565b5090565b5b808211156200029957600081556001016200029e565b6117ce80620002c46000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c80635aa6e675116100b2578063a5ccf91b11610081578063c21b27c711610066578063c21b27c714610442578063dd62ed3e1461047b578063f47c84c5146104b657610136565b8063a5ccf91b14610401578063a9059cbb1461040957610136565b80635aa6e6751461035c57806370a082311461038d57806395d89b41146103c0578063a457c2d7146103c857610136565b806318160ddd116101095780632b666fcf116100ee5780632b666fcf146102ca578063313ce56714610305578063395093511461032357610136565b806318160ddd1461026d57806323b872dd1461028757610136565b806306fdde031461013b578063070313fa146101b8578063095ea7b3146101ed5780631652e9fc1461023a575b600080fd5b6101436104be565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017d578181015183820152602001610165565b50505050905090810190601f1680156101aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101eb600480360360208110156101ce57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610572565b005b6102266004803603604081101561020357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610649565b604080519115158252519081900360200190f35b6101eb6004803603602081101561025057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610666565b610275610738565b60408051918252519081900360200190f35b6102266004803603606081101561029d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561073e565b6101eb600480360360408110156102e057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166107e0565b61030d61098e565b6040805160ff9092168252519081900360200190f35b6102266004803603604081101561033957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610997565b6103646109f2565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610275600480360360208110156103a357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a13565b610143610a3b565b610226600480360360408110156103de57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610aba565b610364610b2f565b6102266004803603604081101561041f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b4b565b6101eb6004803603604081101561045857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b5f565b6102756004803603604081101561049157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610cd6565b610275610d0e565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105685780601f1061053d57610100808354040283529160200191610568565b820191906000526020600020905b81548152906001019060200180831161054b57829003601f168201915b5050505050905090565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1633146105fd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6d75737420626520676f7665726e616e63650000000000000000000000000000604482015290519081900360640190fd5b6005805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600061065d610656610d14565b8484610d18565b50600192915050565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1633146106f157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6d75737420626520676f7665726e616e63650000000000000000000000000000604482015290519081900360640190fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60025490565b600061074b848484610e5f565b6107d584610757610d14565b6107d0856040518060600160405280602881526020016116d96028913973ffffffffffffffffffffffffffffffffffffffff8a166000908152600160205260408120906107a2610d14565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919061102f565b610d18565b5060015b9392505050565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16331461086b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6d75737420626520676f7665726e616e63650000000000000000000000000000604482015290519081900360640190fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051839160009173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b1580156108dc57600080fd5b505afa1580156108f0573d6000803e3d6000fd5b505050506040513d602081101561090657600080fd5b5051905061092b73ffffffffffffffffffffffffffffffffffffffff831684836110e0565b6040805133815273ffffffffffffffffffffffffffffffffffffffff80861660208301528616818301526060810183905290517f2c4e64c7c0957a81c0076a0a3f3c7d9f0a5d6158292071c794436f829d12cfb79181900360800190a150505050565b60055460ff1690565b600061065d6109a4610d14565b846107d085600160006109b5610d14565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490611172565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105685780601f1061053d57610100808354040283529160200191610568565b600061065d610ac7610d14565b846107d0856040518060600160405280602581526020016117746025913960016000610af1610d14565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919061102f565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b600061065d610b58610d14565b8484610e5f565b60065473ffffffffffffffffffffffffffffffffffffffff163314610be557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6d757374206265205346495f6d696e7465720000000000000000000000000000604482015290519081900360640190fd5b600754813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c2f57600080fd5b505afa158015610c43573d6000803e3d6000fd5b505050506040513d6020811015610c5957600080fd5b50510110610cc857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f63616e6e6f74206d696e74206d6f7265207468616e204d41585f544f4b454e53604482015290519081900360640190fd5b610cd282826111e6565b5050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60075481565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610d84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806117266024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610df0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061166b6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ecb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806117016025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610f37576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806116486023913960400191505060405180910390fd5b610f4283838361116d565b610f8c8160405180606001604052806026815260200161168d6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919061102f565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054610fc89082611172565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561109d578181015183820152602001611085565b50505050905090810190601f1680156110ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261116d908490611317565b505050565b6000828201838110156107d957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821661126857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6112746000838361116d565b6002546112819082611172565b60025573ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020546112b49082611172565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6060611379826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166113ef9092919063ffffffff16565b80519091501561116d5780806020019051602081101561139857600080fd5b505161116d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061174a602a913960400191505060405180910390fd5b60606113fe8484600085611406565b949350505050565b606082471015611461576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806116b36026913960400191505060405180910390fd5b61146a856115c1565b6114d557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061153f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611502565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146115a1576040519150601f19603f3d011682016040523d82523d6000602084013e6115a6565b606091505b50915091506115b68282866115c7565b979650505050505050565b3b151590565b606083156115d65750816107d9565b8251156115e65782518084602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815284516024840152845185939192839260440191908501908083836000831561109d57818101518382015260200161108556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ff6c374c6f421befcf268a571dbd8193265d4efad96dd96de5b0348aeda32d0764736f6c63430007040033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005537069636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035346490000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101365760003560e01c80635aa6e675116100b2578063a5ccf91b11610081578063c21b27c711610066578063c21b27c714610442578063dd62ed3e1461047b578063f47c84c5146104b657610136565b8063a5ccf91b14610401578063a9059cbb1461040957610136565b80635aa6e6751461035c57806370a082311461038d57806395d89b41146103c0578063a457c2d7146103c857610136565b806318160ddd116101095780632b666fcf116100ee5780632b666fcf146102ca578063313ce56714610305578063395093511461032357610136565b806318160ddd1461026d57806323b872dd1461028757610136565b806306fdde031461013b578063070313fa146101b8578063095ea7b3146101ed5780631652e9fc1461023a575b600080fd5b6101436104be565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561017d578181015183820152602001610165565b50505050905090810190601f1680156101aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101eb600480360360208110156101ce57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610572565b005b6102266004803603604081101561020357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610649565b604080519115158252519081900360200190f35b6101eb6004803603602081101561025057600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610666565b610275610738565b60408051918252519081900360200190f35b6102266004803603606081101561029d57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561073e565b6101eb600480360360408110156102e057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166107e0565b61030d61098e565b6040805160ff9092168252519081900360200190f35b6102266004803603604081101561033957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610997565b6103646109f2565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b610275600480360360208110156103a357600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a13565b610143610a3b565b610226600480360360408110156103de57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610aba565b610364610b2f565b6102266004803603604081101561041f57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b4b565b6101eb6004803603604081101561045857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b5f565b6102756004803603604081101561049157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516610cd6565b610275610d0e565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105685780601f1061053d57610100808354040283529160200191610568565b820191906000526020600020905b81548152906001019060200180831161054b57829003601f168201915b5050505050905090565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1633146105fd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6d75737420626520676f7665726e616e63650000000000000000000000000000604482015290519081900360640190fd5b6005805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b600061065d610656610d14565b8484610d18565b50600192915050565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1633146106f157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6d75737420626520676f7665726e616e63650000000000000000000000000000604482015290519081900360640190fd5b600680547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60025490565b600061074b848484610e5f565b6107d584610757610d14565b6107d0856040518060600160405280602881526020016116d96028913973ffffffffffffffffffffffffffffffffffffffff8a166000908152600160205260408120906107a2610d14565b73ffffffffffffffffffffffffffffffffffffffff168152602081019190915260400160002054919061102f565b610d18565b5060015b9392505050565b600554610100900473ffffffffffffffffffffffffffffffffffffffff16331461086b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6d75737420626520676f7665726e616e63650000000000000000000000000000604482015290519081900360640190fd5b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051839160009173ffffffffffffffffffffffffffffffffffffffff8416916370a08231916024808301926020929190829003018186803b1580156108dc57600080fd5b505afa1580156108f0573d6000803e3d6000fd5b505050506040513d602081101561090657600080fd5b5051905061092b73ffffffffffffffffffffffffffffffffffffffff831684836110e0565b6040805133815273ffffffffffffffffffffffffffffffffffffffff80861660208301528616818301526060810183905290517f2c4e64c7c0957a81c0076a0a3f3c7d9f0a5d6158292071c794436f829d12cfb79181900360800190a150505050565b60055460ff1690565b600061065d6109a4610d14565b846107d085600160006109b5610d14565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490611172565b600554610100900473ffffffffffffffffffffffffffffffffffffffff1681565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105685780601f1061053d57610100808354040283529160200191610568565b600061065d610ac7610d14565b846107d0856040518060600160405280602581526020016117746025913960016000610af1610d14565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d1681529252902054919061102f565b60065473ffffffffffffffffffffffffffffffffffffffff1681565b600061065d610b58610d14565b8484610e5f565b60065473ffffffffffffffffffffffffffffffffffffffff163314610be557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6d757374206265205346495f6d696e7465720000000000000000000000000000604482015290519081900360640190fd5b600754813073ffffffffffffffffffffffffffffffffffffffff166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c2f57600080fd5b505afa158015610c43573d6000803e3d6000fd5b505050506040513d6020811015610c5957600080fd5b50510110610cc857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f63616e6e6f74206d696e74206d6f7265207468616e204d41585f544f4b454e53604482015290519081900360640190fd5b610cd282826111e6565b5050565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60075481565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316610d84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806117266024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610df0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061166b6022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8316610ecb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806117016025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216610f37576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806116486023913960400191505060405180910390fd5b610f4283838361116d565b610f8c8160405180606001604052806026815260200161168d6026913973ffffffffffffffffffffffffffffffffffffffff8616600090815260208190526040902054919061102f565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152602081905260408082209390935590841681522054610fc89082611172565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561109d578181015183820152602001611085565b50505050905090810190601f1680156110ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261116d908490611317565b505050565b6000828201838110156107d957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821661126857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6112746000838361116d565b6002546112819082611172565b60025573ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020546112b49082611172565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6060611379826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166113ef9092919063ffffffff16565b80519091501561116d5780806020019051602081101561139857600080fd5b505161116d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061174a602a913960400191505060405180910390fd5b60606113fe8484600085611406565b949350505050565b606082471015611461576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806116b36026913960400191505060405180910390fd5b61146a856115c1565b6114d557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061153f57805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611502565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146115a1576040519150601f19603f3d011682016040523d82523d6000602084013e6115a6565b606091505b50915091506115b68282866115c7565b979650505050505050565b3b151590565b606083156115d65750816107d9565b8251156115e65782518084602001fd5b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181815284516024840152845185939192839260440191908501908083836000831561109d57818101518382015260200161108556fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ff6c374c6f421befcf268a571dbd8193265d4efad96dd96de5b0348aeda32d0764736f6c63430007040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000005537069636500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035346490000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Spice
Arg [1] : symbol (string): SFI
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [3] : 5370696365000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 5346490000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
31743:1226:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19308:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32454:135;;;;;;;;;;;;;;;;-1:-1:-1;32454:135:0;;;;:::i;:::-;;21414:169;;;;;;;;;;;;;;;;-1:-1:-1;21414:169:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;32317:131;;;;;;;;;;;;;;;;-1:-1:-1;32317:131:0;;;;:::i;20383:100::-;;;:::i;:::-;;;;;;;;;;;;;;;;22057:321;;;;;;;;;;;;;;;;-1:-1:-1;22057:321:0;;;;;;;;;;;;;;;;;;:::i;32670:296::-;;;;;;;;;;;;;;;;-1:-1:-1;32670:296:0;;;;;;;;;;;:::i;20235:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22787:218;;;;;;;;;;;;;;;;-1:-1:-1;22787:218:0;;;;;;;;;:::i;31803:25::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20546:119;;;;;;;;;;;;;;;;-1:-1:-1;20546:119:0;;;;:::i;19510:87::-;;;:::i;23508:269::-;;;;;;;;;;;;;;;;-1:-1:-1;23508:269:0;;;;;;;;;:::i;31833:25::-;;;:::i;20878:175::-;;;;;;;;;;;;;;;;-1:-1:-1;20878:175:0;;;;;;;;;:::i;32074:237::-;;;;;;;;;;;;;;;;-1:-1:-1;32074:237:0;;;;;;;;;:::i;21116:151::-;;;;;;;;;;;;;;;;-1:-1:-1;21116:151:0;;;;;;;;;;;:::i;31863:40::-;;;:::i;19308:83::-;19378:5;19371:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19345:13;;19371:12;;19378:5;;19371:12;;19378:5;19371:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19308:83;:::o;32454:135::-;32528:10;;;;;;;32514;:24;32506:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32568:10;:15;;;;;;;;;;;;;;;;;;32454:135::o;21414:169::-;21497:4;21514:39;21523:12;:10;:12::i;:::-;21537:7;21546:6;21514:8;:39::i;:::-;-1:-1:-1;21571:4:0;21414:169;;;;:::o;32317:131::-;32387:10;;;;;;;32373;:24;32365:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32427:10;:15;;;;;;;;;;;;;;;32317:131::o;20383:100::-;20463:12;;20383:100;:::o;22057:321::-;22163:4;22180:36;22190:6;22198:9;22209:6;22180:9;:36::i;:::-;22227:121;22236:6;22244:12;:10;:12::i;:::-;22258:89;22296:6;22258:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;22278:12;:10;:12::i;:::-;22258:33;;;;;;;;;;;;;-1:-1:-1;22258:33:0;;;:89;:37;:89::i;:::-;22227:8;:121::i;:::-;-1:-1:-1;22366:4:0;22057:321;;;;;;:::o;32670:296::-;32754:10;;;;;;;32740;:24;32732:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32845:28;;;;;;32867:4;32845:28;;;;;;32816:6;;32796:10;;32845:13;;;;;;:28;;;;;;;;;;;;;;:13;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32845:28:0;;-1:-1:-1;32880:27:0;:16;;;32897:3;32845:28;32880:16;:27::i;:::-;32921:39;;;32930:10;32921:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32670:296;;;;:::o;20235:83::-;20301:9;;;;20235:83;:::o;22787:218::-;22875:4;22892:83;22901:12;:10;:12::i;:::-;22915:7;22924:50;22963:10;22924:11;:25;22936:12;:10;:12::i;:::-;22924:25;;;;;;;;;;;;;;;;;;-1:-1:-1;22924:25:0;;;:34;;;;;;;;;;;:38;:50::i;31803:25::-;;;;;;;;;:::o;20546:119::-;20639:18;;20612:7;20639:18;;;;;;;;;;;;20546:119::o;19510:87::-;19582:7;19575:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19549:13;;19575:14;;19582:7;;19575:14;;19582:7;19575:14;;;;;;;;;;;;;;;;;;;;;;;;23508:269;23601:4;23618:129;23627:12;:10;:12::i;:::-;23641:7;23650:96;23689:15;23650:96;;;;;;;;;;;;;;;;;:11;:25;23662:12;:10;:12::i;:::-;23650:25;;;;;;;;;;;;;;;;;;-1:-1:-1;23650:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;31833:25::-;;;;;;:::o;20878:175::-;20964:4;20981:42;20991:12;:10;:12::i;:::-;21005:9;21016:6;20981:9;:42::i;32074:237::-;32156:10;;;;32142;:24;32134:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32234:10;;32225:6;32204:4;:16;;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32204:18:0;:27;:40;32196:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32288:17;32294:2;32298:6;32288:5;:17::i;:::-;32074:237;;:::o;21116:151::-;21232:18;;;;21205:7;21232:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;21116:151::o;31863:40::-;;;;:::o;643:106::-;731:10;643:106;:::o;26655:346::-;26757:19;;;26749:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26836:21;;;26828:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26909:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;26961:32;;;;;;;;;;;;;;;;;26655:346;;;:::o;24267:539::-;24373:20;;;24365:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24454:23;;;24446:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24530:47;24551:6;24559:9;24570:6;24530:20;:47::i;:::-;24610:71;24632:6;24610:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;24590:17;;;;:9;:17;;;;;;;;;;;:91;;;;24715:20;;;;;;;:32;;24740:6;24715:24;:32::i;:::-;24692:20;;;;:9;:20;;;;;;;;;;;;:55;;;;24763:35;;;;;;;24692:20;;24763:35;;;;;;;;;;;;;24267:539;;;:::o;5583:192::-;5669:7;5705:12;5697:6;;;;5689:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5741:5:0;;;5583:192::o;28751:171::-;28857:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28880:23;28857:58;;;28830:86;;28850:5;;28830:19;:86::i;:::-;28751:171;;;:::o;4680:181::-;4738:7;4770:5;;;4794:6;;;;4786:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25087:378;25171:21;;;25163:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25241:49;25270:1;25274:7;25283:6;25241:20;:49::i;:::-;25318:12;;:24;;25335:6;25318:16;:24::i;:::-;25303:12;:39;25374:18;;;:9;:18;;;;;;;;;;;:30;;25397:6;25374:22;:30::i;:::-;25353:18;;;:9;:18;;;;;;;;;;;:51;;;;25420:37;;;;;;;25353:18;;:9;;25420:37;;;;;;;;;;25087:378;;:::o;30952:723::-;31360:23;31386:69;31414:4;31386:69;;;;;;;;;;;;;;;;;31394:5;31386:27;;;;:69;;;;;:::i;:::-;31466:17;;31360:95;;-1:-1:-1;31466:21:0;31462:208;;31596:10;31585:30;;;;;;;;;;;;;;;-1:-1:-1;31585:30:0;31577:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12806:195;12909:12;12941:52;12963:6;12971:4;12977:1;12980:12;12941:21;:52::i;:::-;12934:59;12806:195;-1:-1:-1;;;;12806:195:0:o;13858:530::-;13985:12;14043:5;14018:21;:30;;14010:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14110:18;14121:6;14110:10;:18::i;:::-;14102:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14236:12;14250:23;14277:6;:11;;14297:5;14305:4;14277:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14235:75;;;;14328:52;14346:7;14355:10;14367:12;14328:17;:52::i;:::-;14321:59;13858:530;-1:-1:-1;;;;;;;13858:530:0:o;9886:422::-;10253:20;10292:8;;;9886:422::o;16398:742::-;16513:12;16542:7;16538:595;;;-1:-1:-1;16573:10:0;16566:17;;16538:595;16687:17;;:21;16683:439;;16950:10;16944:17;17011:15;16998:10;16994:2;16990:19;16983:44;16898:148;17086:20;;;;;;;;;;;;;;;;;;;;17093:12;;17086:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://ff6c374c6f421befcf268a571dbd8193265d4efad96dd96de5b0348aeda32d07
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.