ERC-20
DeFi
Overview
Max Total Supply
1,295,571,336.97536621319509781 PSWAP
Holders
9,227 ( 0.022%)
Market
Price
$0.00 @ 0.000000 ETH (+11.86%)
Onchain Market Cap
$260,189.59
Circulating Supply Market Cap
$709,226.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
620.034834690617884295 PSWAPValue
$0.12 ( ~3.52778310719616E-05 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MasterToken
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity Multiple files format)
pragma solidity ^0.7.4; // "SPDX-License-Identifier: Apache License 2.0" import "./ERC20Detailed.sol"; import "./ERC20Burnable.sol"; import "./Ownable.sol"; contract MasterToken is ERC20Burnable, ERC20Detailed, Ownable { bytes32 public _sidechainAssetId; /** * @dev Constructor that gives the specified address all of existing tokens. */ constructor( string memory name, string memory symbol, uint8 decimals, address beneficiary, uint256 supply, bytes32 sidechainAssetId) ERC20Detailed(name, symbol, decimals) { _sidechainAssetId = sidechainAssetId; _mint(beneficiary, supply); } fallback() external { revert(); } function mintTokens(address beneficiary, uint256 amount) public onlyOwner { _mint(beneficiary, amount); } }
pragma solidity ^0.7.4; // "SPDX-License-Identifier: Apache License 2.0" import "./IERC20.sol"; import "./SafeMath.sol"; /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md * Originally based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol * * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for * all accounts just by listening to said events. Note that this isn't required by the specification, and other * compliant implementations may not do it. */ contract ERC20 is IERC20 { using SafeMath for uint256; mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowed; uint256 private _totalSupply; /** * @dev Total number of tokens in existence */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view override returns (uint256) { return _balances[owner]; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param owner address The address which owns the funds. * @param spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address owner, address spender) public view override returns (uint256) { return _allowed[owner][spender]; } /** * @dev Transfer token for a specified address * @param to The address to transfer to. * @param value The amount to be transferred. */ function transfer(address to, uint256 value) public override returns (bool) { _transfer(msg.sender, to, value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * 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 * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. */ function approve(address spender, uint256 value) public override returns (bool) { _approve(msg.sender, spender, value); return true; } /** * @dev Transfer tokens from one address to another. * Note that while this function emits an Approval event, this is not required as per the specification, * and other compliant implementations may not emit the event. * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 the amount of tokens to be transferred */ function transferFrom(address from, address to, uint256 value) public override returns (bool) { _transfer(from, to, value); _approve(from, msg.sender, _allowed[from][msg.sender].sub(value)); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * approve should be called when allowed_[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue)); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * approve should be called when allowed_[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue)); return true; } /** * @dev Transfer token for a specified addresses * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Internal function that mints an amount of the token and assigns it to * an account. This encapsulates the modification of balances such that the * proper events are emitted. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Approve an address to spend another addresses' tokens. * @param owner The address that owns the tokens. * @param spender The address that will spend the tokens. * @param value The number of tokens that can be spent. */ function _approve(address owner, address spender, uint256 value) internal { require(spender != address(0)); require(owner != address(0)); _allowed[owner][spender] = value; emit Approval(owner, spender, value); } /** * @dev Internal function that burns an amount of the token of a given * account, deducting from the sender's allowance for said account. Uses the * internal burn function. * Emits an Approval event (reflecting the reduced allowance). * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burnFrom(address account, uint256 value) internal { _burn(account, value); _approve(account, msg.sender, _allowed[account][msg.sender].sub(value)); } }
pragma solidity ^0.7.4; // "SPDX-License-Identifier: Apache License 2.0" import "./ERC20.sol"; /** * @title Burnable Token * @dev Token that can be irreversibly burned (destroyed). */ contract ERC20Burnable is ERC20 { /** * @dev Burns a specific amount of tokens. * @param value The amount of token to be burned. */ function burn(uint256 value) public { _burn(msg.sender, value); } /** * @dev Burns a specific amount of tokens from the target address and decrements allowance * @param from address The address which you want to send tokens from * @param value uint256 The amount of token to be burned */ function burnFrom(address from, uint256 value) public { _burnFrom(from, value); } }
pragma solidity ^0.7.4; // "SPDX-License-Identifier: Apache License 2.0" import "./IERC20.sol"; /** * @title ERC20Detailed token * @dev The decimals are only for visualization purposes. * All the operations are done using the smallest and indivisible token unit, * just as on Ethereum all the operations are done in wei. */ abstract contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; constructor ( string memory name_, string memory symbol_, uint8 decimals_) { _name = name_; _symbol = symbol_; _decimals = decimals_; } /** * @return the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns (string memory) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns (uint8) { return _decimals; } }
pragma solidity ^0.7.4; // "SPDX-License-Identifier: MIT" interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); }
pragma solidity ^0.7.4; // "SPDX-License-Identifier: Apache License 2.0" /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ abstract contract Ownable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor () { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } /** * @return the address of the owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner()); _; } /** * @return true if `msg.sender` is the owner of the contract. */ function isOwner() public view returns (bool) { return msg.sender == _owner; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0)); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
pragma solidity ^0.7.4; // "SPDX-License-Identifier: Apache License 2.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, 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) { // Solidity only automatically asserts when dividing by 0 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; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint8","name":"decimals","type":"uint8"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"bytes32","name":"sidechainAssetId","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"_sidechainAssetId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200100238038062001002833981810160405260c08110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b506040908152602082810151918301516060840151608090940151885193965090945091879187918791620001d39160039186019062000388565b508151620001e990600490602085019062000388565b506005805460ff191660ff9290921691909117610100600160a81b03191661010033810291909117918290556040516001600160a01b0391909204169250600091507f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360068190556200026183836200026d565b50505050505062000434565b6001600160a01b0382166200028157600080fd5b6200029d816002546200032660201b620007171790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620002d09183906200071762000326821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008282018381101562000381576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620003c057600085556200040b565b82601f10620003db57805160ff19168380011785556200040b565b828001600101855582156200040b579182015b828111156200040b578251825591602001919060010190620003ee565b50620004199291506200041d565b5090565b5b808211156200041957600081556001016200041e565b610bbe80620004446000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806379cc6790116100ad578063a9059cbb11610071578063a9059cbb14610356578063dd62ed3e14610382578063f0dda65c146103b0578063f2fde38b146103dc578063fcec35a91461040257610121565b806379cc6790146102ca5780638da5cb5b146102f65780638f32d59b1461031a57806395d89b4114610322578063a457c2d71461032a57610121565b8063313ce567116100f4578063313ce56714610233578063395093511461025157806342966c681461027d57806370a082311461029c578063715018a6146102c257610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806323b872dd146101fd575b600080fd5b61012e61040a565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104a0565b604080519115158252519081900360200190f35b6101eb6104b6565b60408051918252519081900360200190f35b6101cf6004803603606081101561021357600080fd5b506001600160a01b038135811691602081013590911690604001356104bc565b61023b61050d565b6040805160ff9092168252519081900360200190f35b6101cf6004803603604081101561026757600080fd5b506001600160a01b038135169060200135610516565b61029a6004803603602081101561029357600080fd5b503561054c565b005b6101eb600480360360208110156102b257600080fd5b50356001600160a01b0316610559565b61029a610574565b61029a600480360360408110156102e057600080fd5b506001600160a01b0381351690602001356105d5565b6102fe6105e3565b604080516001600160a01b039092168252519081900360200190f35b6101cf6105f7565b61012e61060d565b6101cf6004803603604081101561034057600080fd5b506001600160a01b03813516906020013561066e565b6101cf6004803603604081101561036c57600080fd5b506001600160a01b0381351690602001356106a4565b6101eb6004803603604081101561039857600080fd5b506001600160a01b03813581169160200135166106b1565b61029a600480360360408110156103c657600080fd5b506001600160a01b0381351690602001356106dc565b61029a600480360360208110156103f257600080fd5b50356001600160a01b03166106f7565b6101eb610711565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104965780601f1061046b57610100808354040283529160200191610496565b820191906000526020600020905b81548152906001019060200180831161047957829003601f168201915b5050505050905090565b60006104ad338484610778565b50600192915050565b60025490565b60006104c9848484610800565b6001600160a01b0384166000908152600160209081526040808320338085529252909120546105039186916104fe90866108bf565b610778565b5060019392505050565b60055460ff1690565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104ad9185906104fe9086610717565b6105563382610901565b50565b6001600160a01b031660009081526020819052604090205490565b61057c6105f7565b61058557600080fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6105df828261099c565b5050565b60055461010090046001600160a01b031690565b60055461010090046001600160a01b0316331490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104965780601f1061046b57610100808354040283529160200191610496565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104ad9185906104fe90866108bf565b60006104ad338484610800565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6106e46105f7565b6106ed57600080fd5b6105df82826109db565b6106ff6105f7565b61070857600080fd5b61055681610a77565b60065481565b600082820183811015610771576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661078b57600080fd5b6001600160a01b03831661079e57600080fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03821661081357600080fd5b6001600160a01b03831660009081526020819052604090205461083690826108bf565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546108659082610717565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600061077183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610af1565b6001600160a01b03821661091457600080fd5b60025461092190826108bf565b6002556001600160a01b03821660009081526020819052604090205461094790826108bf565b6001600160a01b038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6109a68282610901565b6001600160a01b0382166000908152600160209081526040808320338085529252909120546105df9184916104fe90856108bf565b6001600160a01b0382166109ee57600080fd5b6002546109fb9082610717565b6002556001600160a01b038216600090815260208190526040902054610a219082610717565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038116610a8a57600080fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60008184841115610b805760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b45578181015183820152602001610b2d565b50505050905090810190601f168015610b725780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fea26469706673582212201745b67515403da237cfceff0ec52402e781e4bdab86640854feeb20c207f96464736f6c6343000706003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000120000000000000000000000001485e9852ac841b52ed44d573036429504f4f602000000000000000000000000000000000000000000000000000000000000000002000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009506f6c6b6173776170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055053574150000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c806379cc6790116100ad578063a9059cbb11610071578063a9059cbb14610356578063dd62ed3e14610382578063f0dda65c146103b0578063f2fde38b146103dc578063fcec35a91461040257610121565b806379cc6790146102ca5780638da5cb5b146102f65780638f32d59b1461031a57806395d89b4114610322578063a457c2d71461032a57610121565b8063313ce567116100f4578063313ce56714610233578063395093511461025157806342966c681461027d57806370a082311461029c578063715018a6146102c257610121565b806306fdde0314610126578063095ea7b3146101a357806318160ddd146101e357806323b872dd146101fd575b600080fd5b61012e61040a565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610168578181015183820152602001610150565b50505050905090810190601f1680156101955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101cf600480360360408110156101b957600080fd5b506001600160a01b0381351690602001356104a0565b604080519115158252519081900360200190f35b6101eb6104b6565b60408051918252519081900360200190f35b6101cf6004803603606081101561021357600080fd5b506001600160a01b038135811691602081013590911690604001356104bc565b61023b61050d565b6040805160ff9092168252519081900360200190f35b6101cf6004803603604081101561026757600080fd5b506001600160a01b038135169060200135610516565b61029a6004803603602081101561029357600080fd5b503561054c565b005b6101eb600480360360208110156102b257600080fd5b50356001600160a01b0316610559565b61029a610574565b61029a600480360360408110156102e057600080fd5b506001600160a01b0381351690602001356105d5565b6102fe6105e3565b604080516001600160a01b039092168252519081900360200190f35b6101cf6105f7565b61012e61060d565b6101cf6004803603604081101561034057600080fd5b506001600160a01b03813516906020013561066e565b6101cf6004803603604081101561036c57600080fd5b506001600160a01b0381351690602001356106a4565b6101eb6004803603604081101561039857600080fd5b506001600160a01b03813581169160200135166106b1565b61029a600480360360408110156103c657600080fd5b506001600160a01b0381351690602001356106dc565b61029a600480360360208110156103f257600080fd5b50356001600160a01b03166106f7565b6101eb610711565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104965780601f1061046b57610100808354040283529160200191610496565b820191906000526020600020905b81548152906001019060200180831161047957829003601f168201915b5050505050905090565b60006104ad338484610778565b50600192915050565b60025490565b60006104c9848484610800565b6001600160a01b0384166000908152600160209081526040808320338085529252909120546105039186916104fe90866108bf565b610778565b5060019392505050565b60055460ff1690565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104ad9185906104fe9086610717565b6105563382610901565b50565b6001600160a01b031660009081526020819052604090205490565b61057c6105f7565b61058557600080fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6105df828261099c565b5050565b60055461010090046001600160a01b031690565b60055461010090046001600160a01b0316331490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104965780601f1061046b57610100808354040283529160200191610496565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916104ad9185906104fe90866108bf565b60006104ad338484610800565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6106e46105f7565b6106ed57600080fd5b6105df82826109db565b6106ff6105f7565b61070857600080fd5b61055681610a77565b60065481565b600082820183811015610771576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b03821661078b57600080fd5b6001600160a01b03831661079e57600080fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03821661081357600080fd5b6001600160a01b03831660009081526020819052604090205461083690826108bf565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546108659082610717565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600061077183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610af1565b6001600160a01b03821661091457600080fd5b60025461092190826108bf565b6002556001600160a01b03821660009081526020819052604090205461094790826108bf565b6001600160a01b038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6109a68282610901565b6001600160a01b0382166000908152600160209081526040808320338085529252909120546105df9184916104fe90856108bf565b6001600160a01b0382166109ee57600080fd5b6002546109fb9082610717565b6002556001600160a01b038216600090815260208190526040902054610a219082610717565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038116610a8a57600080fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60008184841115610b805760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b45578181015183820152602001610b2d565b50505050905090810190601f168015610b725780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50505090039056fea26469706673582212201745b67515403da237cfceff0ec52402e781e4bdab86640854feeb20c207f96464736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000120000000000000000000000001485e9852ac841b52ed44d573036429504f4f602000000000000000000000000000000000000000000000000000000000000000002000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009506f6c6b6173776170000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055053574150000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Polkaswap
Arg [1] : symbol (string): PSWAP
Arg [2] : decimals (uint8): 18
Arg [3] : beneficiary (address): 0x1485E9852ac841b52eD44D573036429504f4F602
Arg [4] : supply (uint256): 0
Arg [5] : sidechainAssetId (bytes32): 0x0200050000000000000000000000000000000000000000000000000000000000
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000001485e9852ac841b52ed44d573036429504f4f602
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0200050000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [7] : 506f6c6b61737761700000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 5053574150000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
166:749:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;767:8;;;741:83:2;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2880:157:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2880:157:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;1003:100;;;:::i;:::-;;;;;;;;;;;;;;;;3510:237;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;3510:237:0;;;;;;;;;;;;;;;;;:::i;1057:83:2:-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4262:203:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4262:203:0;;;;;;;;:::i;358:79:1:-;;;;;;;;;;;;;;;;-1:-1:-1;358:79:1;;:::i;:::-;;1319:115:0;;;;;;;;;;;;;;;;-1:-1:-1;1319:115:0;-1:-1:-1;;;;;1319:115:0;;:::i;1446:140:5:-;;;:::i;696:95:1:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;696:95:1;;;;;;;;:::i;733:79:5:-;;;:::i;:::-;;;;-1:-1:-1;;;;;733:79:5;;;;;;;;;;;;;;1068:92;;;:::i;891:87:2:-;;;:::i;4985:213:0:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;4985:213:0;;;;;;;;:::i;2084:149::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2084:149:0;;;;;;;;:::i;1773:140::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;1773:140:0;;;;;;;;;;:::i;791:119:4:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;791:119:4;;;;;;;;:::i;1763:109:5:-;;;;;;;;;;;;;;;;-1:-1:-1;1763:109:5;-1:-1:-1;;;;;1763:109:5;;:::i;237:32:4:-;;;:::i;741:83:2:-;811:5;804:12;;;;;;;;-1:-1:-1;;804:12:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;778:13;;804:12;;811:5;;804:12;;811:5;804:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;741:83;:::o;2880:157:0:-;2954:4;2971:36;2980:10;2992:7;3001:5;2971:8;:36::i;:::-;-1:-1:-1;3025:4:0;2880:157;;;;:::o;1003:100::-;1083:12;;1003:100;:::o;3510:237::-;3598:4;3615:26;3625:4;3631:2;3635:5;3615:9;:26::i;:::-;-1:-1:-1;;;;;3679:14:0;;;;;;:8;:14;;;;;;;;3667:10;3679:26;;;;;;;;;3652:65;;3661:4;;3679:37;;3710:5;3679:30;:37::i;:::-;3652:8;:65::i;:::-;-1:-1:-1;3735:4:0;3510:237;;;;;:::o;1057:83:2:-;1123:9;;;;1057:83;:::o;4262:203:0:-;4368:10;4342:4;4389:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;4389:29:0;;;;;;;;;;4342:4;;4359:76;;4380:7;;4389:45;;4423:10;4389:33;:45::i;358:79:1:-;405:24;411:10;423:5;405;:24::i;:::-;358:79;:::o;1319:115:0:-;-1:-1:-1;;;;;1410:16:0;1383:7;1410:16;;;;;;;;;;;;1319:115::o;1446:140:5:-;945:9;:7;:9::i;:::-;937:18;;;;;;1529:6:::1;::::0;1508:40:::1;::::0;1545:1:::1;::::0;1529:6:::1;::::0;::::1;-1:-1:-1::0;;;;;1529:6:5::1;::::0;1508:40:::1;::::0;1545:1;;1508:40:::1;1559:6;:19:::0;;-1:-1:-1;;;;;;1559:19:5::1;::::0;;1446:140::o;696:95:1:-;761:22;771:4;777:5;761:9;:22::i;:::-;696:95;;:::o;733:79:5:-;798:6;;;;;-1:-1:-1;;;;;798:6:5;;733:79::o;1068:92::-;1146:6;;;;;-1:-1:-1;;;;;1146:6:5;1132:10;:20;;1068:92::o;891:87:2:-;963:7;956:14;;;;;;;;-1:-1:-1;;956:14:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;930:13;;956:14;;963:7;;956:14;;963:7;956:14;;;;;;;;;;;;;;;;;;;;;;;;4985:213:0;5096:10;5070:4;5117:20;;;:8;:20;;;;;;;;-1:-1:-1;;;;;5117:29:0;;;;;;;;;;5070:4;;5087:81;;5108:7;;5117:50;;5151:15;5117:33;:50::i;2084:149::-;2154:4;2171:32;2181:10;2193:2;2197:5;2171:9;:32::i;1773:140::-;-1:-1:-1;;;;;1881:15:0;;;1854:7;1881:15;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;1773:140::o;791:119:4:-;945:9:5;:7;:9::i;:::-;937:18;;;;;;876:26:4::1;882:11;895:6;876:5;:26::i;1763:109:5:-:0;945:9;:7;:9::i;:::-;937:18;;;;;;1836:28:::1;1855:8;1836:18;:28::i;237:32:4:-:0;;;;:::o;911:181:6:-;969:7;1001:5;;;1025:6;;;;1017:46;;;;;-1:-1:-1;;;1017:46:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;1083:1;911:181;-1:-1:-1;;;911:181:6:o;7079:254:0:-;-1:-1:-1;;;;;7172:21:0;;7164:30;;;;;;-1:-1:-1;;;;;7213:19:0;;7205:28;;;;;;-1:-1:-1;;;;;7246:15:0;;;;;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;:32;;;7294:31;;;;;;;;;;;;;;;;;7079:254;;;:::o;5420:262::-;-1:-1:-1;;;;;5508:16:0;;5500:25;;;;;;-1:-1:-1;;;;;5556:15:0;;:9;:15;;;;;;;;;;;:26;;5576:5;5556:19;:26::i;:::-;-1:-1:-1;;;;;5538:15:0;;;:9;:15;;;;;;;;;;;:44;;;;5609:13;;;;;;;:24;;5627:5;5609:17;:24::i;:::-;-1:-1:-1;;;;;5593:13:0;;;:9;:13;;;;;;;;;;;;:40;;;;5649:25;;;;;;;5593:13;;5649:25;;;;;;;;;;;;;5420:262;;;:::o;1367:136:6:-;1425:7;1452:43;1456:1;1459;1452:43;;;;;;;;;;;;;;;;;:3;:43::i;6537:269:0:-;-1:-1:-1;;;;;6612:21:0;;6604:30;;;;;;6662:12;;:23;;6679:5;6662:16;:23::i;:::-;6647:12;:38;-1:-1:-1;;;;;6717:18:0;;:9;:18;;;;;;;;;;;:29;;6740:5;6717:22;:29::i;:::-;-1:-1:-1;;;;;6696:18:0;;:9;:18;;;;;;;;;;;:50;;;;6762:36;;;;;;;6696:9;;6762:36;;;;;;;;;;;6537:269;;:::o;7732:182::-;7803:21;7809:7;7818:5;7803;:21::i;:::-;-1:-1:-1;;;;;7865:17:0;;;;;;:8;:17;;;;;;;;7853:10;7865:29;;;;;;;;;7835:71;;7844:7;;7865:40;;7899:5;7865:33;:40::i;6034:269::-;-1:-1:-1;;;;;6109:21:0;;6101:30;;;;;;6159:12;;:23;;6176:5;6159:16;:23::i;:::-;6144:12;:38;-1:-1:-1;;;;;6214:18:0;;:9;:18;;;;;;;;;;;:29;;6237:5;6214:22;:29::i;:::-;-1:-1:-1;;;;;6193:18:0;;:9;:18;;;;;;;;;;;:50;;;;6259:36;;;;;;;6193:18;;:9;;6259:36;;;;;;;;;;6034:269;;:::o;2022:187:5:-;-1:-1:-1;;;;;2096:22:5;;2088:31;;;;;;2156:6;;2135:38;;-1:-1:-1;;;;;2135:38:5;;;;2156:6;;;;;2135:38;;;;;2184:6;:17;;-1:-1:-1;;;;;2184:17:5;;;;;-1:-1:-1;;;;;;2184:17:5;;;;;;;;;2022:187::o;1798:192:6:-;1884:7;1920:12;1912:6;;;;1904:29;;;;-1:-1:-1;;;1904:29:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1956:5:6;;;1798:192::o
Swarm Source
ipfs://1745b67515403da237cfceff0ec52402e781e4bdab86640854feeb20c207f964
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.