Contract 0x557461d81574030b5DfEBf238762f00EC8228cD7 1

 

Contract Overview

Kingfund: KING Token
Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x447bb072422eabdd3a3a0ecee9487d5f95f08b4790ff21596c116fd905393dc9Transfer423478432023-05-05 20:35:5424 days 20 hrs ago0xc005bc17b77a9276f29948456a4f3dfb11c0efac IN  Kingfund: KING Token0 MATIC0.011256141664 239.7627466
0xed2b7a5775c7b477b95dadb44fe774dffdc96f5dc84b755ba8d7665d6f942809Approve410291442023-04-01 19:19:0158 days 22 hrs ago0xe66a5a7ddda004ac66926ea8ab91c1b1014dd840 IN  Kingfund: KING Token0 MATIC0.005712727384122.899283276
0x9b7a998a3dc9989e741fe485e83c895f088b6feba1ebea8de138073ee4002986Approve408380882023-03-27 21:01:2763 days 20 hrs ago ferris88.wallet  IN  Kingfund: KING Token0 MATIC0.00218865136 83.5395
0xc41a34b54c0ddff837d149a479d66ddbd0a6239ace9a789a0ed247592fbea86fApprove408380832023-03-27 21:01:1763 days 20 hrs ago ferris88.wallet  IN  Kingfund: KING Token0 MATIC0.001992158476 82.324
0x7833879228e6b8a171ede272d97f81e90162c89637f7c87407661824741b2671Approve405890692023-03-21 4:29:5970 days 12 hrs ago0x9840efde2979a5bf46a200305f5f415e035ab5e3 IN  Kingfund: KING Token0 MATIC0.007076653765 152.241760763
0x06723bfd68c65f29f9fca08be8537abc3f804f70cf4adb0bbc8f67cf9621f88fApprove405877682023-03-21 3:35:2670 days 13 hrs ago0xf7a3dde6483861503b98c501057318ef8a0f66ee IN  Kingfund: KING Token0 MATIC0.012067769288 259.61683386
0x41d8e7f02d7ff73878f99ffd7a9affc336bd9a4919b412290602bc4d9caa0b39Approve405745772023-03-20 18:14:2070 days 23 hrs ago0xe66a5a7ddda004ac66926ea8ab91c1b1014dd840 IN  Kingfund: KING Token0 MATIC0.011741213248252.591554936
0x83873573d9a910aa0c032170c2bcc067c9a3a235e49d6370b6d69ca71ad21bc0Approve405741062023-03-20 17:54:2670 days 23 hrs ago0x001b041b36f8de7df821cfc5c2a1bffdca44ec37 IN  Kingfund: KING Token0 MATIC0.011744032772252.652212046
0x158a83d65cb33fbd5683abc3ff125f58dca7740fb85b2485f0492230ccfe43b8Approve359981852022-11-24 6:53:23187 days 10 hrs ago0x12e1e9b175d19015080243656174886d9cd0526d IN  Kingfund: KING Token0 MATIC0.001687333258 36.300007709
0xa57c6e694d6668b4ce2633ec49886756d2e4e28195e87864d3c45b0ad73013e5Approve353975802022-11-09 13:36:47202 days 3 hrs ago0xfcfa4369eaa965ac4e36f1dd9fd2852c6542b0f7 IN  Kingfund: KING Token0 MATIC0.003556845171 76.519268787
0x498d4066ecdc92876c7affda3b1718281b09c5ae245a8dbaf5917394cfc47bf8Transfer351563032022-11-03 16:45:48208 days 33 mins ago0x0e9086cd9ddb604c9f73f5f8fcac4a4b1fd6fcbb IN  Kingfund: KING Token0 MATIC0.003729333503 79.457409256
0x215ae89d338e52cd0c4becdb6cadc06c574fdab9cdabf0a85b49abd94896b9b1Approve349850742022-10-30 11:39:52212 days 5 hrs ago0x61c41492c69dd33a44e9e4861399736e53dbd4df IN  Kingfund: KING Token0 MATIC0.00237063351
0xbf123188439a47ea4bb5b0f8c7ccfdcf95f5deaf57c6584f7b93af8ff27895ffApprove347799252022-10-25 11:30:46217 days 5 hrs ago0xc005bc17b77a9276f29948456a4f3dfb11c0efac IN  Kingfund: KING Token0 MATIC0.004113764865 88.500416608
0x85cb06c57b4c58105695aa56aab02f459ec93ebb0a5434bf09eb552c3df082ffApprove347778122022-10-25 10:16:58217 days 7 hrs ago0xd9abd7a27e00fae479eb7a9469ddcebc846e1300 IN  Kingfund: KING Token0 MATIC0.00340426943 73.236870051
0x0bca79975ee2268a09dc1140d8dce05ec3f420868cc7eb94e5af7f7ac3a9eabdApprove345332752022-10-19 10:29:15223 days 6 hrs ago ferris88.wallet  IN  Kingfund: KING Token0 MATIC0.006975488511 150.065368242
0x95445488df89a134464f04d77cda3cb0dd480369acbc42dda7365fac6105e1fbApprove345288662022-10-19 7:34:39223 days 9 hrs ago0x2ceaf3a7da6b2bef8e44440b01ec3dd91491e8c0 IN  Kingfund: KING Token0 MATIC0.005293895834202.064805311
0xd30b507454d4edc047d5e0cc4c4d51d696b7e9331128efc1c5528f601cd348f7Approve345288602022-10-19 7:34:27223 days 9 hrs ago0x2ceaf3a7da6b2bef8e44440b01ec3dd91491e8c0 IN  Kingfund: KING Token0 MATIC0.004772749934197.229221648
0xc7b8dff5c07cf4a218df51fd5e67934dd3921a68481b0e833ea1d2882321580cApprove335174232022-09-24 18:26:28247 days 22 hrs ago0xc005bc17b77a9276f29948456a4f3dfb11c0efac IN  Kingfund: KING Token0 MATIC0.00348622575
0x94e24ef9ae719b7376f4373ed2858750b04dcd9a6f68e5cbde7cc0d3177f00c7Transfer324575492022-08-29 19:07:56273 days 22 hrs ago0x59dabbe59bccc000674a0c8d50d3c2004f8babf9 IN  Kingfund: KING Token0 MATIC0.002430419587 47.00005004
0xb9a37edffdf1e91653cda4ad1e670ea221cb583c4a4427cb0fb594b5e4df386cApprove324575072022-08-29 19:05:32273 days 22 hrs ago0x59dabbe59bccc000674a0c8d50d3c2004f8babf9 IN  Kingfund: KING Token0 MATIC0.001394492102 30.000045229
0x6c8c97da3542dad605438a11013b85b7417a2f5fab1840ae239a797c1f939edaTransfer323282712022-08-26 2:54:16277 days 14 hrs ago0x52483b460485cbc625c4452f2e71bd4218accd96 IN  Kingfund: KING Token0 MATIC0.001410613807 30.070000796
0x29290ceccd72d9907c36abb00a5dd22adaffe7f3772786787855fb323ee3ea7bApprove302820902022-07-03 7:53:25331 days 9 hrs ago0x20a45d52aa172adaf854a58037a2a22af1a1caf9 IN  Kingfund: KING Token0 MATIC0.00139449 30.000000018
0x5bd008ce254a32b04daec7499e276bedcb9fe89220f5f4c7b8e1055fdd97bb14Approve302818622022-07-03 7:45:37331 days 9 hrs ago0x20a45d52aa172adaf854a58037a2a22af1a1caf9 IN  Kingfund: KING Token0 MATIC0.00139774381 30.070000015
0x54121fabf9ca0ea304f9bc736b773b0677666075f187a4632cd4aaf1ebc1b3f1Approve278625012022-05-03 5:21:48392 days 11 hrs ago0xc945a5a960fef1a9c3fef8593fc2446d1d7c6146 IN  Kingfund: KING Token0 MATIC0.002052273743 44.173868221
0x842f20be05d4a1e06445b6f751934d33094e3a3de10a2cea9b75f989892ed6b3Approve264979952022-03-29 11:18:28427 days 6 hrs ago0xc945a5a960fef1a9c3fef8593fc2446d1d7c6146 IN  Kingfund: KING Token0 MATIC0.000909959503 37.603186208
[ Download CSV Export 

OVERVIEW

Kingfund is a tokenized asset management and derivatives trading protocol. The concept of Kingfund was first incepted in late 2021 and was developed quickly into its current state. Inspired by tranche funds’ ability to satisfy users’ varying risk appetites.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
KingToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-11-30
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 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;
    }
}



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @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) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @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) {
        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, reverting 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) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * 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);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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;
    }
}



pragma solidity >=0.6.0 <0.8.0;




/**
 * @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;

    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_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 virtual returns (uint8) {
        return _decimals;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _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 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 virtual {
        _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 { }
}


pragma solidity >=0.6.10 <0.8.0;


contract KingToken is ERC20 {
    constructor(uint256 initialSupply) public ERC20("KingFund", "KING") {
        _mint(msg.sender, initialSupply);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"}],"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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"}]

608060405234801561001057600080fd5b5060405162000cb638038062000cb68339818101604052602081101561003557600080fd5b5051604080518082018252600881526712da5b99d19d5b9960c21b6020828101918252835180850190945260048452634b494e4760e01b90840152815191929161008191600391610221565b508051610095906004906020840190610221565b50506005805460ff19166012179055506100af33826100b5565b506102b4565b6001600160a01b038216610110576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61011c600083836101bb565b610135816002546101c060201b6105731790919060201c565b6002556001600160a01b038216600090815260208181526040909120546101659183906105736101c0821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008282018381101561021a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061026257805160ff191683800117855561028f565b8280016001018555821561028f579182015b8281111561028f578251825591602001919060010190610274565b5061029b92915061029f565b5090565b5b8082111561029b57600081556001016102a0565b6109f280620002c46000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c8063395093511161007157806339509351146101d957806370a082311461020557806395d89b411461022b578063a457c2d714610233578063a9059cbb1461025f578063dd62ed3e1461028b576100a9565b806306fdde03146100ae578063095ea7b31461012b57806318160ddd1461016b57806323b872dd14610185578063313ce567146101bb575b600080fd5b6100b66102b9565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f05781810151838201526020016100d8565b50505050905090810190601f16801561011d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101576004803603604081101561014157600080fd5b506001600160a01b03813516906020013561034f565b604080519115158252519081900360200190f35b61017361036c565b60408051918252519081900360200190f35b6101576004803603606081101561019b57600080fd5b506001600160a01b03813581169160208101359091169060400135610372565b6101c36103f9565b6040805160ff9092168252519081900360200190f35b610157600480360360408110156101ef57600080fd5b506001600160a01b038135169060200135610402565b6101736004803603602081101561021b57600080fd5b50356001600160a01b0316610450565b6100b661046b565b6101576004803603604081101561024957600080fd5b506001600160a01b0381351690602001356104cc565b6101576004803603604081101561027557600080fd5b506001600160a01b038135169060200135610534565b610173600480360360408110156102a157600080fd5b506001600160a01b0381358116916020013516610548565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103455780601f1061031a57610100808354040283529160200191610345565b820191906000526020600020905b81548152906001019060200180831161032857829003601f168201915b5050505050905090565b600061036361035c6105d4565b84846105d8565b50600192915050565b60025490565b600061037f8484846106c4565b6103ef8461038b6105d4565b6103ea85604051806060016040528060288152602001610927602891396001600160a01b038a166000908152600160205260408120906103c96105d4565b6001600160a01b03168152602081019190915260400160002054919061081f565b6105d8565b5060019392505050565b60055460ff1690565b600061036361040f6105d4565b846103ea85600160006104206105d4565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610573565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103455780601f1061031a57610100808354040283529160200191610345565b60006103636104d96105d4565b846103ea8560405180606001604052806025815260200161099860259139600160006105036105d4565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061081f565b60006103636105416105d4565b84846106c4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000828201838110156105cd576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b03831661061d5760405162461bcd60e51b81526004018080602001828103825260248152602001806109746024913960400191505060405180910390fd5b6001600160a01b0382166106625760405162461bcd60e51b81526004018080602001828103825260228152602001806108df6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166107095760405162461bcd60e51b815260040180806020018281038252602581526020018061094f6025913960400191505060405180910390fd5b6001600160a01b03821661074e5760405162461bcd60e51b81526004018080602001828103825260238152602001806108bc6023913960400191505060405180910390fd5b6107598383836108b6565b61079681604051806060016040528060268152602001610901602691396001600160a01b038616600090815260208190526040902054919061081f565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546107c59082610573565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600081848411156108ae5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561087357818101518382015260200161085b565b50505050905090810190601f1680156108a05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b50505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122061069ea4e446a556eb8d49ec03655ba32fb7819f2312f5e64511abccd19b18e364736f6c634300060c003300000000000000000000000000000000000000000052b7d2dcc80cd2e4000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 100000000000000000000000000

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000


Deployed ByteCode Sourcemap

22152:157:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13239:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15385:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15385:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;14338:108;;;:::i;:::-;;;;;;;;;;;;;;;;16036:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16036:321:0;;;;;;;;;;;;;;;;;:::i;14182:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16766:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16766:218:0;;;;;;;;:::i;14509:127::-;;;;;;;;;;;;;;;;-1:-1:-1;14509:127:0;-1:-1:-1;;;;;14509:127:0;;:::i;13449:95::-;;;:::i;17487:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17487:269:0;;;;;;;;:::i;14849:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14849:175:0;;;;;;;;:::i;15087:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15087:151:0;;;;;;;;;;:::i;13239:91::-;13317:5;13310:12;;;;;;;;-1:-1:-1;;13310:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13284:13;;13310:12;;13317:5;;13310:12;;13317:5;13310:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13239:91;:::o;15385:169::-;15468:4;15485:39;15494:12;:10;:12::i;:::-;15508:7;15517:6;15485:8;:39::i;:::-;-1:-1:-1;15542:4:0;15385:169;;;;:::o;14338:108::-;14426:12;;14338:108;:::o;16036:321::-;16142:4;16159:36;16169:6;16177:9;16188:6;16159:9;:36::i;:::-;16206:121;16215:6;16223:12;:10;:12::i;:::-;16237:89;16275:6;16237:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16237:19:0;;;;;;:11;:19;;;;;;16257:12;:10;:12::i;:::-;-1:-1:-1;;;;;16237:33:0;;;;;;;;;;;;-1:-1:-1;16237:33:0;;;:89;:37;:89::i;:::-;16206:8;:121::i;:::-;-1:-1:-1;16345:4:0;16036:321;;;;;:::o;14182:91::-;14256:9;;;;14182:91;:::o;16766:218::-;16854:4;16871:83;16880:12;:10;:12::i;:::-;16894:7;16903:50;16942:10;16903:11;:25;16915:12;:10;:12::i;:::-;-1:-1:-1;;;;;16903:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;16903:25:0;;;:34;;;;;;;;;;;:38;:50::i;14509:127::-;-1:-1:-1;;;;;14610:18:0;14583:7;14610:18;;;;;;;;;;;;14509:127::o;13449:95::-;13529:7;13522:14;;;;;;;;-1:-1:-1;;13522:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13496:13;;13522:14;;13529:7;;13522:14;;13529:7;13522:14;;;;;;;;;;;;;;;;;;;;;;;;17487:269;17580:4;17597:129;17606:12;:10;:12::i;:::-;17620:7;17629:96;17668:15;17629:96;;;;;;;;;;;;;;;;;:11;:25;17641:12;:10;:12::i;:::-;-1:-1:-1;;;;;17629:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17629:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;14849:175::-;14935:4;14952:42;14962:12;:10;:12::i;:::-;14976:9;14987:6;14952:9;:42::i;15087:151::-;-1:-1:-1;;;;;15203:18:0;;;15176:7;15203:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15087:151::o;6462:179::-;6520:7;6552:5;;;6576:6;;;;6568:46;;;;;-1:-1:-1;;;6568:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6632:1;6462:179;-1:-1:-1;;;6462:179:0:o;613:106::-;701:10;613:106;:::o;20634:346::-;-1:-1:-1;;;;;20736:19:0;;20728:68;;;;-1:-1:-1;;;20728:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20815:21:0;;20807:68;;;;-1:-1:-1;;;20807:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20888:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;20940:32;;;;;;;;;;;;;;;;;20634:346;;;:::o;18246:539::-;-1:-1:-1;;;;;18352:20:0;;18344:70;;;;-1:-1:-1;;;18344:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18433:23:0;;18425:71;;;;-1:-1:-1;;;18425:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18509:47;18530:6;18538:9;18549:6;18509:20;:47::i;:::-;18589:71;18611:6;18589:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18589:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18569:17:0;;;:9;:17;;;;;;;;;;;:91;;;;18694:20;;;;;;;:32;;18719:6;18694:24;:32::i;:::-;-1:-1:-1;;;;;18671:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;18742:35;;;;;;;18671:20;;18742:35;;;;;;;;;;;;;18246:539;;;:::o;9289:166::-;9375:7;9411:12;9403:6;;;;9395:29;;;;-1:-1:-1;;;9395:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9442:5:0;;;9289:166::o;22013:92::-;;;;:::o

Swarm Source

ipfs://61069ea4e446a556eb8d49ec03655ba32fb7819f2312f5e64511abccd19b18e3
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.