Source Code
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
Drops
Compiler Version
v0.5.11+commit.c082d0b4
Contract Source Code (Solidity Multiple files format)
pragma solidity ^0.5.1;
import "./ERC20_Token.sol";
/**
*
* @title Drops (DRP)
* @dev Drops crypto currency smart contract based upon the ERC20 standart token
*
* Drops (DRP) Smart Contract v1.0 08.09.2019 (c) Mark R Rogers, 2019.
*
**/
contract Drops is ERC20_Token { // Build on ERC20 standard contract
// Initalise variables and data
string constant TOKEN_NAME = "Drops"; // Token description
string constant TOKEN_SYMBOL = "DRP"; // Token symbol
uint8 constant TOKEN_DECIMALS = 8; // Token decimals
// Initial contract deployment setup
// @notice only run when the contract is created
// @param initialMint_ The amount of coins to create
constructor(uint256 initialMint_) public {
name = TOKEN_NAME; // Set description
symbol = TOKEN_SYMBOL; // Set symbol
decimals = TOKEN_DECIMALS; // Set decimals
coinOwner = msg.sender; // Set coin owner identity
coinSupply = initialMint_.toklets(TOKEN_DECIMALS); // Set total supply in droplets
balances[msg.sender] = coinSupply; // Set owners balance
}
}pragma solidity ^0.5.1;
import "../Genesis.sol";
/**
*
* @title ERC20 Standard Token
*
* Inherits events, modifiers & data from the genesis contract which complies with the ERC20 token Standard.
* Inizalizes genesis functions & extra added functions
*
**/
contract ERC20_Token is Genesis { // Build on genesis contract
// Initalise global constants
string constant ERR_INSUFFICENT_BALANCE = "Insufficent amount of DRP"; // Error message 102
string constant ERR_INVALID_DELEGATE = "Invalid delegate address"; // Error message 103
string constant ERR_ALLOWANCE_EXCEEDED = "Allowance exceeded!"; // Error message 104
string constant ERR_INVALID_KILL_CODE = "Invalid kill code!"; // Error message 105
string constant KILL_CODE = "K-C102-473"; // WARNING! Contracts kill code
// Create new tokens
// @para tokens_ number of new tokens to create
function mintCoins(uint tokens_) ownerOnly public returns (uint balance) {
tokens_ = tokens_.toklets(decimals); // Convert tokens to toklets
coinSupply = coinSupply.add(tokens_); // Create new tokens
balances[coinOwner] = balances[coinOwner].add(tokens_); // Update owners balace
return coinSupply;
}
// Destroy tokens
// @para tokens_ number of tokens to destroy
function burnCoins(uint tokens_) ownerOnly public returns (uint balance) { // Restricted to owner only
tokens_ = tokens_.toklets(decimals); // Convert tokens to toklets
if (valid(tokens_ <= balances[coinOwner], 102)) { // Check enough tokens available
coinSupply = coinSupply.sub(tokens_); // Decrease total coin supply
balances[coinOwner] = balances[coinOwner].sub(tokens_); // Update owners token balance
return coinSupply;
}
}
// Genesis: Transfer tokens to receiver
function transfer(address receiver_,
uint tokens_) public returns (bool sucess) {
super.transfer(receiver_, tokens_);
if (valid(tokens_ <= balances[msg.sender] && // Check enough tokens available
tokens_ > 0, 102)) { // and amount greater than zero
balances[msg.sender] = balances[msg.sender].sub(tokens_); // Decrease senders token balance
balances[receiver_] = balances[receiver_].add(tokens_); // Increase receivers token balance
emit Transfer(msg.sender, receiver_, tokens_); // Transfer tokens
return true;
}
}
// Genesis: Approve token allowence for delegate
function approve(address delegate_,
uint tokens_) public returns (bool sucess) {
super.approve(delegate_, tokens_);
if (valid(delegate_ != msg.sender, 103)) { // Check not delegating to yourself
if (tokens_ > coinSupply) { tokens_ = coinSupply; } // Limit allowance to total supply
allowed[msg.sender][delegate_] = tokens_; // Update token allowence
emit Approval(msg.sender, delegate_, tokens_); // Approve token allowance
return true;
}
}
// Genesis: Transfer token from delegated address
function transferFrom(address owner_, address receiver_,
uint tokens_) public returns (bool sucess) {
super.transferFrom(owner_ , receiver_, tokens_);
if (valid(tokens_ > 0 && tokens_ <= balances[owner_], 102) && // Check amount greater than zero and enough tokens available
valid(tokens_ <= allowed[owner_][msg.sender], 104)) { // Make sure smount is equal or less than token allowance
balances[owner_] = balances[owner_].sub(tokens_); // Decrease owner of tokens balance
allowed[owner_][msg.sender] = allowed[owner_][msg.sender].sub(tokens_); // Decrease senders tokens allowance
balances[receiver_] = balances[receiver_].add(tokens_); // Increase receivers tokens balance
emit Transfer(owner_, receiver_, tokens_); // Transfer tokens from the owner to the receiver
return true;
}
}
// Validation for autherisation and input error handler
function valid(bool valid_, uint errorID_) internal pure returns (bool) { // Check for fatal errors
if (errorID_ == 101) {require(valid_, ERR_PERMISSION_DENIED);} // Calling address doesn't have permission
else if (errorID_ == 102) {require(valid_, ERR_INSUFFICENT_BALANCE);} // Cancel trasaction due to insufficent value
else if (errorID_ == 103) {require(valid_, ERR_INVALID_DELEGATE);} // Cannot delegate to address
else if (errorID_ == 104) {require(valid_, ERR_ALLOWANCE_EXCEEDED);} // Cancel trasaction due to insufficent value
else if (errorID_ == 105) {require(valid_, ERR_INVALID_KILL_CODE);} // Cancel trasaction due to insufficent value
else if (errorID_ == 100) {require (valid_);} // Check if required?
return valid_;
}
// WARNING! CONFIRM NOTHING ELSE NEEDS THIS CONTRACT BEFORE BURNING IT!
// Terminates contract
// @param killCode_ The contracts kill code
// @return if contract has been terminated
function burnContract(string memory killCode_) ownerOnly public {
if (valid((keccak256(abi.encodePacked(killCode_)) ==
keccak256(abi.encodePacked(KILL_CODE))), 105)) // Authenticate kill code
{ selfdestruct(address(0)); } // Kill contract
}
}pragma solidity ^0.5.1;
/**
*
* @title SafeMath Library
*
* @dev Math operations with safety checks that throw on logic error
*
*
*/
library SafeMath {
// Converts Tokens into Toklets
function toklets(uint256 numA_, uint8 numD_) internal pure returns (uint256) {
uint256 numB_ = 10**uint256(numD_);
uint256 numC_ = numA_ * numB_;
require(numA_ > 0 && numC_ / numA_ == numB_, "Invalid amount of tokens");
return numC_;
}
// Multipy unsigned integer value and check logic
function mul(uint256 numA_, uint256 numB_) internal pure returns (uint256) {
uint256 numC_ = numA_ * numB_;
assert(numA_ == 0 || numC_ / numA_ == numB_);
return numC_;
}
// Divide unsigned integer value and check logic
function div(uint256 numA_, uint256 numB_) internal pure returns (uint256) {
uint256 numC_ = numA_ / numB_; // Solidity automatically throws when dividing by 0
return numC_;
}
// Subtract unsigned integer value and check logic
function sub(uint256 numA_, uint256 numB_) internal pure returns (uint256) {
assert(numB_ <= numA_);
return numA_ - numB_;
}
// Add unsigned integer values and check logic
function add(uint256 numA_, uint256 numB_) internal pure returns (uint256) {
uint256 numC_ = numA_ + numB_;
assert(numC_ >= numA_);
return numC_;
}
}
/**
*
* @title Genesis Contract
*
* Initializes events, modifiers & data in the contract and defines default functionality
* that follows the ERC20 standard token format
*
**/
contract Genesis {
using SafeMath for uint256; // Use SafeMath library to test the logic of uint256 calculations
// Initalise contract global constants
string constant ERR_PERMISSION_DENIED = "Permission denied!"; // Error message 101
// Initalise token information
string public name; // Token Name
string public symbol; // Token Symbol
uint8 public decimals; // Token decimals (droplets)
address coinOwner ; // Token owners address
uint256 coinSupply; // Total token supply
mapping(address => uint256) balances; // Token balance state
mapping(address => mapping (address => uint256)) allowed; // Token allowance state
// Owner privelages only
modifier ownerOnly() {
require(msg.sender == coinOwner, ERR_PERMISSION_DENIED) ;
_;
}
// Transfer tokens
event Transfer(address indexed owner_, address indexed receiver_, uint256 tokens_);
// Approve token allowances
event Approval(address indexed owner_, address indexed delegate_, uint256 tokens_);
// Fallback function handles unidentified calls and allows contract to receive payments
function() payable external { }
// @return total supply of tokens
function totalSupply() external view returns (uint256 supply) { return coinSupply; }
// @return number of tokens at address
function balanceOf(address owner_) external view returns (uint balance) { return balances[owner_]; }
// Transfer tokens to receiver
// @notice send `token_` token to `receiver_` from `msg.sender`
// @param receiver_ The address of the recipient
// @param token_ The amount of token to be transferred
// @return whether the transfer was successful or not
function transfer(address receiver_, uint tokens_) public returns (bool sucess) {}
// Approve tokens allowence for delegate
// @notice `msg.sender` approves `delegate_` to spend `_tokens`
// @param _receiver The address of the account able to transfer the tokens
// @param _tokens The amount of wei to be approved for transfer
// @return Whether the approval was successful or not
function approve(address delegate_, uint tokens_) public returns (bool sucess) {}
// Returns approved tokens allowance for delegate
// @param _owner The address of the account owning tokens
// @param _spender The address of the account able to transfer the tokens
// @return Amount of remaining tokens allowed to spent
function allowance(address owner_, address delegate_) external view returns (uint remaining) { return allowed[owner_][delegate_]; }
// Transfer tokens from delegated address
// @notice send `_value` token to `_to` from `_from` on the condition it is approved by `_from`
// @param _from The address of the sender
// @param _to The address of the recipient
// @param _value The amount of token to be transferred
// @return Whether the transfer was successful or not
function transferFrom(address owner_, address receiver_, uint tokens_) public returns (bool sucess) { }
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":false,"inputs":[{"internalType":"uint256","name":"tokens_","type":"uint256"}],"name":"burnCoins","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegate_","type":"address"},{"internalType":"uint256","name":"tokens_","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"sucess","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"uint256","name":"tokens_","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"sucess","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"killCode_","type":"string"}],"name":"burnContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"tokens_","type":"uint256"}],"name":"mintCoins","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"uint256","name":"tokens_","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"sucess","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"delegate_","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"initialMint_","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner_","type":"address"},{"indexed":true,"internalType":"address","name":"receiver_","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens_","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner_","type":"address"},{"indexed":true,"internalType":"address","name":"delegate_","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens_","type":"uint256"}],"name":"Approval","type":"event"}]Contract Creation Code
60806040523480156200001157600080fd5b506040516200122438038062001224833981810160405260208110156200003757600080fd5b50516040805180820190915260058082527f44726f707300000000000000000000000000000000000000000000000000000060209092019182526200007f91600091620001b7565b506040805180820190915260038082527f44525000000000000000000000000000000000000000000000000000000000006020909201918252620000c691600191620001b7565b5060028054600860ff199091168117610100600160a81b031916610100330217909155620001029082906200011e602090811b62000c2617901c565b600381905533600090815260046020526040902055506200025c565b600060ff8216600a0a8381028415801590620001435750818582816200014057fe5b04145b620001af57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f496e76616c696420616d6f756e74206f6620746f6b656e730000000000000000604482015290519081900360640190fd5b949350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001fa57805160ff19168380011785556200022a565b828001600101855582156200022a579182015b828111156200022a5782518255916020019190600101906200020d565b50620002389291506200023c565b5090565b6200025991905b8082111562000238576000815560010162000243565b90565b610fb8806200026c6000396000f3fe6080604052600436106100a75760003560e01c806370a082311161006457806370a082311461023f57806387bb70fb1461027257806395d89b4114610325578063a77b6efb1461033a578063a9059cbb14610364578063dd62ed3e1461039d576100a7565b806305a8749d146100a957806306fdde03146100e5578063095ea7b31461016f57806318160ddd146101bc57806323b872dd146101d1578063313ce56714610214575b005b3480156100b557600080fd5b506100d3600480360360208110156100cc57600080fd5b50356103d8565b60408051918252519081900360200190f35b3480156100f157600080fd5b506100fa610557565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561013457818101518382015260200161011c565b50505050905090810190601f1680156101615780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561017b57600080fd5b506101a86004803603604081101561019257600080fd5b506001600160a01b0381351690602001356105e5565b604080519115158252519081900360200190f35b3480156101c857600080fd5b506100d3610686565b3480156101dd57600080fd5b506101a8600480360360608110156101f457600080fd5b506001600160a01b0381358116916020810135909116906040013561068c565b34801561022057600080fd5b50610229610816565b6040805160ff9092168252519081900360200190f35b34801561024b57600080fd5b506100d36004803603602081101561026257600080fd5b50356001600160a01b031661081f565b34801561027e57600080fd5b506100a76004803603602081101561029557600080fd5b8101906020810181356401000000008111156102b057600080fd5b8201836020820111156102c257600080fd5b803590602001918460018302840111640100000000831117156102e457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061083a945050505050565b34801561033157600080fd5b506100fa6109d2565b34801561034657600080fd5b506100d36004803603602081101561035d57600080fd5b5035610a2c565b34801561037057600080fd5b506101a86004803603604081101561038757600080fd5b506001600160a01b038135169060200135610b11565b3480156103a957600080fd5b506100d3600480360360408110156103c057600080fd5b506001600160a01b0381358116916020013516610bfb565b6002546040805180820190915260128152715065726d697373696f6e2064656e6965642160701b602082015260009161010090046001600160a01b0316331461049f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561046457818101518382015260200161044c565b50505050905090810190601f1680156104915780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506002546104b790839060ff1663ffffffff610c2616565b60025461010090046001600160a01b03166000908152600460205260409020549092506104e8908311156066610ca2565b1561055257600354610500908363ffffffff610f5116565b60035560025461010090046001600160a01b031660009081526004602052604090205461052d9083610f51565b60025461010090046001600160a01b0316600090815260046020526040902055506003545b919050565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105dd5780601f106105b2576101008083540402835291602001916105dd565b820191906000526020600020905b8154815290600101906020018083116105c057829003601f168201915b505050505081565b60006105f18383610f63565b506106096001600160a01b0384163314156067610ca2565b156106805760035482111561061e5760035491505b3360008181526005602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60035490565b6000610699848484610f6b565b506106cc6000831180156106c557506001600160a01b0385166000908152600460205260409020548311155b6066610ca2565b801561070557506001600160a01b0384166000908152600560209081526040808320338452909152902054610705908311156068610ca2565b1561080f576001600160a01b038416600090815260046020526040902054610733908363ffffffff610f5116565b6001600160a01b0385166000908152600460209081526040808320939093556005815282822033835290522054610770908363ffffffff610f5116565b6001600160a01b0380861660009081526005602090815260408083203384528252808320949094559186168152600490915220546107b4908363ffffffff610f7416565b6001600160a01b0380851660008181526004602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b9392505050565b60025460ff1681565b6001600160a01b031660009081526004602052604090205490565b6002546040805180820190915260128152715065726d697373696f6e2064656e6965642160701b60208201529061010090046001600160a01b031633146108c25760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b50604080518082018252600a808252694b2d433130322d34373360b01b602080840191825293516109c69401918291908083835b602083106109155780518252601f1990920191602091820191016108f6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120826040516020018082805190602001908083835b602083106109835780518252601f199092019160209182019101610964565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120146069610ca2565b156109cf576000ff5b50565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105dd5780601f106105b2576101008083540402835291602001916105dd565b6002546040805180820190915260128152715065726d697373696f6e2064656e6965642160701b602082015260009161010090046001600160a01b03163314610ab65760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b50600254610ace90839060ff1663ffffffff610c2616565b600354909250610ae4908363ffffffff610f7416565b60035560025461010090046001600160a01b031660009081526004602052604090205461052d9083610f74565b6000610b1d8383610f63565b5033600090815260046020526040902054610b479083118015906106c55750600083116066610ca2565b156106805733600090815260046020526040902054610b6c908363ffffffff610f5116565b33600090815260046020526040808220929092556001600160a01b03851681522054610b9e908363ffffffff610f7416565b6001600160a01b0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001610680565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b600060ff8216600a0a8381028415801590610c49575081858281610c4657fe5b04145b610c9a576040805162461bcd60e51b815260206004820152601860248201527f496e76616c696420616d6f756e74206f6620746f6b656e730000000000000000604482015290519081900360640190fd5b949350505050565b60008160651415610d28576040805180820190915260128152715065726d697373696f6e2064656e6965642160701b602082015283610d225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b50610f4a565b8160661415610db15760408051808201909152601981527f496e737566666963656e7420616d6f756e74206f662044525000000000000000602082015283610d225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b8160671415610e3a5760408051808201909152601881527f496e76616c69642064656c656761746520616464726573730000000000000000602082015283610d225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b8160681415610eb957604080518082019091526013815272416c6c6f77616e63652065786365656465642160681b602082015283610d225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b8160691415610f3757604080518082019091526012815271496e76616c6964206b696c6c20636f64652160701b602082015283610d225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b8160641415610f4a5782610f4a57600080fd5b5090919050565b600082821115610f5d57fe5b50900390565b600092915050565b60009392505050565b60008282018381101561080f57fefea265627a7a7231582066c898132a394a38078772b37a08ad69946d62e368e1eddc4f9fde925a526fef64736f6c634300050b0032000000000000000000000000000000000000000000000000000000003b9aca00
Deployed Bytecode
0x6080604052600436106100a75760003560e01c806370a082311161006457806370a082311461023f57806387bb70fb1461027257806395d89b4114610325578063a77b6efb1461033a578063a9059cbb14610364578063dd62ed3e1461039d576100a7565b806305a8749d146100a957806306fdde03146100e5578063095ea7b31461016f57806318160ddd146101bc57806323b872dd146101d1578063313ce56714610214575b005b3480156100b557600080fd5b506100d3600480360360208110156100cc57600080fd5b50356103d8565b60408051918252519081900360200190f35b3480156100f157600080fd5b506100fa610557565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561013457818101518382015260200161011c565b50505050905090810190601f1680156101615780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561017b57600080fd5b506101a86004803603604081101561019257600080fd5b506001600160a01b0381351690602001356105e5565b604080519115158252519081900360200190f35b3480156101c857600080fd5b506100d3610686565b3480156101dd57600080fd5b506101a8600480360360608110156101f457600080fd5b506001600160a01b0381358116916020810135909116906040013561068c565b34801561022057600080fd5b50610229610816565b6040805160ff9092168252519081900360200190f35b34801561024b57600080fd5b506100d36004803603602081101561026257600080fd5b50356001600160a01b031661081f565b34801561027e57600080fd5b506100a76004803603602081101561029557600080fd5b8101906020810181356401000000008111156102b057600080fd5b8201836020820111156102c257600080fd5b803590602001918460018302840111640100000000831117156102e457600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061083a945050505050565b34801561033157600080fd5b506100fa6109d2565b34801561034657600080fd5b506100d36004803603602081101561035d57600080fd5b5035610a2c565b34801561037057600080fd5b506101a86004803603604081101561038757600080fd5b506001600160a01b038135169060200135610b11565b3480156103a957600080fd5b506100d3600480360360408110156103c057600080fd5b506001600160a01b0381358116916020013516610bfb565b6002546040805180820190915260128152715065726d697373696f6e2064656e6965642160701b602082015260009161010090046001600160a01b0316331461049f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561046457818101518382015260200161044c565b50505050905090810190601f1680156104915780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506002546104b790839060ff1663ffffffff610c2616565b60025461010090046001600160a01b03166000908152600460205260409020549092506104e8908311156066610ca2565b1561055257600354610500908363ffffffff610f5116565b60035560025461010090046001600160a01b031660009081526004602052604090205461052d9083610f51565b60025461010090046001600160a01b0316600090815260046020526040902055506003545b919050565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105dd5780601f106105b2576101008083540402835291602001916105dd565b820191906000526020600020905b8154815290600101906020018083116105c057829003601f168201915b505050505081565b60006105f18383610f63565b506106096001600160a01b0384163314156067610ca2565b156106805760035482111561061e5760035491505b3360008181526005602090815260408083206001600160a01b03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060015b92915050565b60035490565b6000610699848484610f6b565b506106cc6000831180156106c557506001600160a01b0385166000908152600460205260409020548311155b6066610ca2565b801561070557506001600160a01b0384166000908152600560209081526040808320338452909152902054610705908311156068610ca2565b1561080f576001600160a01b038416600090815260046020526040902054610733908363ffffffff610f5116565b6001600160a01b0385166000908152600460209081526040808320939093556005815282822033835290522054610770908363ffffffff610f5116565b6001600160a01b0380861660009081526005602090815260408083203384528252808320949094559186168152600490915220546107b4908363ffffffff610f7416565b6001600160a01b0380851660008181526004602090815260409182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a35060015b9392505050565b60025460ff1681565b6001600160a01b031660009081526004602052604090205490565b6002546040805180820190915260128152715065726d697373696f6e2064656e6965642160701b60208201529061010090046001600160a01b031633146108c25760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b50604080518082018252600a808252694b2d433130322d34373360b01b602080840191825293516109c69401918291908083835b602083106109155780518252601f1990920191602091820191016108f6565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120826040516020018082805190602001908083835b602083106109835780518252601f199092019160209182019101610964565b6001836020036101000a03801982511681845116808217855250505050505090500191505060405160208183030381529060405280519060200120146069610ca2565b156109cf576000ff5b50565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105dd5780601f106105b2576101008083540402835291602001916105dd565b6002546040805180820190915260128152715065726d697373696f6e2064656e6965642160701b602082015260009161010090046001600160a01b03163314610ab65760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b50600254610ace90839060ff1663ffffffff610c2616565b600354909250610ae4908363ffffffff610f7416565b60035560025461010090046001600160a01b031660009081526004602052604090205461052d9083610f74565b6000610b1d8383610f63565b5033600090815260046020526040902054610b479083118015906106c55750600083116066610ca2565b156106805733600090815260046020526040902054610b6c908363ffffffff610f5116565b33600090815260046020526040808220929092556001600160a01b03851681522054610b9e908363ffffffff610f7416565b6001600160a01b0384166000818152600460209081526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001610680565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b600060ff8216600a0a8381028415801590610c49575081858281610c4657fe5b04145b610c9a576040805162461bcd60e51b815260206004820152601860248201527f496e76616c696420616d6f756e74206f6620746f6b656e730000000000000000604482015290519081900360640190fd5b949350505050565b60008160651415610d28576040805180820190915260128152715065726d697373696f6e2064656e6965642160701b602082015283610d225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b50610f4a565b8160661415610db15760408051808201909152601981527f496e737566666963656e7420616d6f756e74206f662044525000000000000000602082015283610d225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b8160671415610e3a5760408051808201909152601881527f496e76616c69642064656c656761746520616464726573730000000000000000602082015283610d225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b8160681415610eb957604080518082019091526013815272416c6c6f77616e63652065786365656465642160681b602082015283610d225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b8160691415610f3757604080518082019091526012815271496e76616c6964206b696c6c20636f64652160701b602082015283610d225760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561046457818101518382015260200161044c565b8160641415610f4a5782610f4a57600080fd5b5090919050565b600082821115610f5d57fe5b50900390565b600092915050565b60009392505050565b60008282018381101561080f57fefea265627a7a7231582066c898132a394a38078772b37a08ad69946d62e368e1eddc4f9fde925a526fef64736f6c634300050b0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000003b9aca00
-----Decoded View---------------
Arg [0] : initialMint_ (uint256): 1000000000
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000003b9aca00
Deployed Bytecode Sourcemap
260:1321:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1576:618:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1576:618:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1576:618:1;;:::i;:::-;;;;;;;;;;;;;;;;2084:18:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2084:18:2;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2084:18:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3080:649:1;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3080:649:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3080:649:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3399:84:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3399:84:2;;;:::i;3792:1013:1:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3792:1013:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;3792:1013:1;;;;;;;;;;;;;;;;;:::i;2284:22:2:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2284:22:2;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3539:100;;8:9:-1;5:2;;;30:1;27;20:12;5:2;3539:100:2;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3539:100:2;-1:-1:-1;;;;;3539:100:2;;:::i;5972:349:1:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5972:349:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5972:349:1;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;5972:349:1;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5972:349:1;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;5972:349:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;5972:349:1;;-1:-1:-1;5972:349:1;;-1:-1:-1;;;;;5972:349:1:i;2183:20:2:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2183:20:2;;;:::i;1055:436:1:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1055:436:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1055:436:1;;:::i;2251:767::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2251:767:1;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2251:767:1;;;;;;;;:::i;4692:131:2:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4692:131:2;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4692:131:2;;;;;;;;;;:::i;1576:618:1:-;2919:9:2;;2930:21;;;;;;;;;;;;-1:-1:-1;;;2930:21:2;;;;-1:-1:-1;;2919:9:2;;;-1:-1:-1;;;;;2919:9:2;2905:10;:23;2897:55;;;;-1:-1:-1;;;2897:55:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2897:55:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1719:8:1;;1703:25;;:7;;1719:8;;1703:25;:15;:25;:::i;:::-;1837:9;;;;;-1:-1:-1;;;;;1837:9:1;1828:19;;;;:8;:19;;;;;;1693:35;;-1:-1:-1;1811:42:1;;1817:30;;;1849:3;1811:5;:42::i;:::-;1807:380;;;1942:10;;:23;;1957:7;1942:23;:14;:23;:::i;:::-;1929:10;:36;2075:9;;;;;-1:-1:-1;;;;;2075:9:1;2066:19;;;;:8;:19;;;;;;:32;;2090:7;2066:23;:32::i;:::-;2053:9;;;;;-1:-1:-1;;;;;2053:9:1;2044:19;;;;:8;:19;;;;;:54;-1:-1:-1;2165:10:1;;1807:380;1576:618;;;:::o;2084:18:2:-;;;;;;;;;;;;;;;-1:-1:-1;;2084:18:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3080:649:1:-;3167:11;3189:33;3203:9;3214:7;3189:13;:33::i;:::-;-1:-1:-1;3237:35:1;-1:-1:-1;;;;;3243:23:1;;3256:10;3243:23;;3268:3;3237:5;:35::i;:::-;3233:489;;;3372:10;;3362:7;:20;3358:51;;;3396:10;;3386:20;;3358:51;3486:10;3478:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;3478:30:1;;;;;;;;;;;;:40;;;3594;;;;;;;3478:30;;3486:10;3594:40;;;;;;;;;;;-1:-1:-1;3706:4:1;3233:489;3080:649;;;;:::o;3399:84:2:-;3470:10;;3399:84;:::o;3792:1013:1:-;3905:11;3927:47;3946:6;3955:9;3966:7;3927:18;:47::i;:::-;;3989:54;4005:1;3995:7;:11;:42;;;;-1:-1:-1;;;;;;4021:16:1;;;;;;:8;:16;;;;;;4010:27;;;3995:42;4039:3;3989:5;:54::i;:::-;:197;;;;-1:-1:-1;;;;;;4153:15:1;;;;;;:7;:15;;;;;;;;4169:10;4153:27;;;;;;;;4136:50;;4142:38;;;4182:3;4136:5;:50::i;:::-;3985:813;;;-1:-1:-1;;;;;4298:16:1;;;;;;:8;:16;;;;;;:29;;4319:7;4298:29;:20;:29;:::i;:::-;-1:-1:-1;;;;;4279:16:1;;;;;;:8;:16;;;;;;;;:48;;;;4430:7;:15;;;;;4446:10;4430:27;;;;;;:40;;4462:7;4430:40;:31;:40;:::i;:::-;-1:-1:-1;;;;;4400:15:1;;;;;;;:7;:15;;;;;;;;4416:10;4400:27;;;;;;;:70;;;;4544:19;;;;;:8;:19;;;;;:32;;4568:7;4544:32;:23;:32;:::i;:::-;-1:-1:-1;;;;;4522:19:1;;;;;;;:8;:19;;;;;;;;;:54;;;;4649:36;;;;;;;4522:19;;4649:36;;;;;;;;;;;;;-1:-1:-1;4782:4:1;3985:813;3792:1013;;;;;:::o;2284:22:2:-;;;;;;:::o;3539:100::-;-1:-1:-1;;;;;3620:16:2;3597:12;3620:16;;;:8;:16;;;;;;;3539:100::o;5972:349:1:-;2919:9:2;;2930:21;;;;;;;;;;;;-1:-1:-1;;;2930:21:2;;;;;2919:9;;;-1:-1:-1;;;;;2919:9:2;2905:10;:23;2897:55;;;;-1:-1:-1;;;2897:55:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;2897:55:2;-1:-1:-1;6147:9:1;;;;;;;;;;;;-1:-1:-1;;;6147:9:1;;;;;;;6130:27;;6051:114;;6130:27;;;;6147:9;;6130:27;6147:9;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;6130:27:1;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;6130:27:1;;;6120:38;;;;;;6085:9;6068:27;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;6068:27:1;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;6068:27:1;;;6058:38;;;;;;:100;6161:3;6051:5;:114::i;:::-;6047:214;;;6255:1;6234:24;6047:214;5972:349;:::o;2183:20:2:-;;;;;;;;;;;;;;;-1:-1:-1;;2183:20:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1055:436:1;2919:9:2;;2930:21;;;;;;;;;;;;-1:-1:-1;;;2930:21:2;;;;-1:-1:-1;;2919:9:2;;;-1:-1:-1;;;;;2919:9:2;2905:10;:23;2897:55;;;;-1:-1:-1;;;2897:55:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;2897:55:2;-1:-1:-1;1165:8:1;;1149:25;;:7;;1165:8;;1149:25;:15;:25;:::i;:::-;1266:10;;1139:35;;-1:-1:-1;1266:23:1;;1139:35;1266:23;:14;:23;:::i;:::-;1253:10;:36;1390:9;;;;;-1:-1:-1;;;;;1390:9:1;1381:19;;;;:8;:19;;;;;;:32;;1405:7;1381:23;:32::i;2251:767::-;2340:11;2362:34;2377:9;2388:7;2362:14;:34::i;:::-;-1:-1:-1;2437:10:1;2428:20;;;;:8;:20;;;;;;2411:135;;2417:31;;;;;:123;;;2539:1;2529:7;:11;2542:3;2411:5;:135::i;:::-;2407:604;;;2678:10;2669:20;;;;:8;:20;;;;;;:33;;2694:7;2669:33;:24;:33;:::i;:::-;2655:10;2646:20;;;;:8;:20;;;;;;:56;;;;-1:-1:-1;;;;;2787:19:1;;;;;;:32;;2811:7;2787:32;:23;:32;:::i;:::-;-1:-1:-1;;;;;2765:19:1;;;;;;:8;:19;;;;;;;;;:54;;;;2891:40;;;;;;;2765:19;;2900:10;;2891:40;;;;;;;;;;-1:-1:-1;2995:4:1;2988:11;;4692:131:2;-1:-1:-1;;;;;4794:15:2;;;4769:14;4794:15;;;:7;:15;;;;;;;;:26;;;;;;;;;;;;;4692:131::o;215:274::-;283:7;323:14;;;319:2;:18;364:13;;;396:9;;;;;:35;;;426:5;417;409;:13;;;;;;:22;396:35;388:72;;;;;-1:-1:-1;;;388:72:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;476:5;215:274;-1:-1:-1;;;;215:274:2:o;4878:880:1:-;4944:4;4997:8;5009:3;4997:15;4993:684;;;5031:21;;;;;;;;;;;;-1:-1:-1;;;5031:21:1;;;;5023:6;5015:38;;;;-1:-1:-1;;;5015:38:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5015:38:1;;4993:684;;;5132:8;5144:3;5132:15;5128:549;;;5166:23;;;;;;;;;;;;;;;;;5158:6;5150:40;;;;-1:-1:-1;;;5150:40:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5128:549:1;5263:8;5275:3;5263:15;5259:418;;;5297:20;;;;;;;;;;;;;;;;;5289:6;5281:37;;;;-1:-1:-1;;;5281:37:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5259:418:1;5379:8;5391:3;5379:15;5375:302;;;5413:22;;;;;;;;;;;;-1:-1:-1;;;5413:22:1;;;;5405:6;5397:39;;;;-1:-1:-1;;;5397:39:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5375:302:1;5510:8;5522:3;5510:15;5506:171;;;5544:21;;;;;;;;;;;;-1:-1:-1;;;5544:21:1;;;;5536:6;5528:38;;;;-1:-1:-1;;;5528:38:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5506:171:1;5641:8;5653:3;5641:15;5637:40;;;5668:6;5659:16;;;;;;-1:-1:-1;5744:6:1;;4878:880;-1:-1:-1;4878:880:1:o;1134:145:2:-;1200:7;1236:5;1227;:14;;1220:22;;;;-1:-1:-1;1258:13:2;;;1134:145::o;4342:81::-;4408:11;4342:81;;;;:::o;5193:103::-;5280:11;5193:103;;;;;:::o;1340:177::-;1406:7;1442:13;;;1473:14;;;;1466:22;;
Swarm Source
bzzr://66c898132a394a38078772b37a08ad69946d62e368e1eddc4f9fde925a526fef
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.