Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 182 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Virtualize R Was... | 19146904 | 200 days ago | IN | 0 ETH | 0.00082611 | ||||
Virtualize R Was... | 19059389 | 212 days ago | IN | 0 ETH | 0.00057732 | ||||
Virtualize R Was... | 18981144 | 223 days ago | IN | 0 ETH | 0.00201981 | ||||
Virtualize R Was... | 18732263 | 258 days ago | IN | 0 ETH | 0.00254112 | ||||
Virtualize R Was... | 18694475 | 264 days ago | IN | 0 ETH | 0.00219055 | ||||
Virtualize Scale... | 18678655 | 266 days ago | IN | 0 ETH | 0.0038879 | ||||
Virtualize R Was... | 18672820 | 267 days ago | IN | 0 ETH | 0.00283953 | ||||
Virtualize R Was... | 18672368 | 267 days ago | IN | 0 ETH | 0.00386658 | ||||
Virtualize R Was... | 18672236 | 267 days ago | IN | 0 ETH | 0.00331576 | ||||
Virtualize R Was... | 18671696 | 267 days ago | IN | 0 ETH | 0.00317424 | ||||
Virtualize R Was... | 18671639 | 267 days ago | IN | 0 ETH | 0.00377464 | ||||
Virtualize R Was... | 18670288 | 267 days ago | IN | 0 ETH | 0.00208293 | ||||
Virtualize R Was... | 18669297 | 267 days ago | IN | 0 ETH | 0.00144764 | ||||
Virtualize R Was... | 18669291 | 267 days ago | IN | 0 ETH | 0.00138213 | ||||
Virtualize R Was... | 18669064 | 267 days ago | IN | 0 ETH | 0.00140193 | ||||
Virtualize R Was... | 18669036 | 267 days ago | IN | 0 ETH | 0.00184427 | ||||
Virtualize R Was... | 18668701 | 267 days ago | IN | 0 ETH | 0.0013801 | ||||
Virtualize R Was... | 18668481 | 267 days ago | IN | 0 ETH | 0.00126509 | ||||
Virtualize R Was... | 18667412 | 267 days ago | IN | 0 ETH | 0.00250465 | ||||
Virtualize R Was... | 18661034 | 268 days ago | IN | 0 ETH | 0.00103701 | ||||
Virtualize R Was... | 18660638 | 268 days ago | IN | 0 ETH | 0.00104172 | ||||
Virtualize R Was... | 18660227 | 268 days ago | IN | 0 ETH | 0.00126525 | ||||
Virtualize R Was... | 18657771 | 269 days ago | IN | 0 ETH | 0.00151324 | ||||
Virtualize R Was... | 18657537 | 269 days ago | IN | 0 ETH | 0.00168767 | ||||
Virtualize Scale... | 18655816 | 269 days ago | IN | 0 ETH | 0.00157567 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
KaijuTokenVirtualizer
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { IRWaste } from "./interfaces/IRWaste.sol"; import { IScales } from "./interfaces/IScales.sol"; error KaijuTokenVirtualizer_UninitializedDestination(); /** . :++- *##- +####* -##+ *####- :%######%. -%###* *######: =##########= .######* *#######*-#############*-*#######* *################################* *################################* *################################* *################################* *################################* :*******************************+. .:. *###%*=: .##########+-. +###############=: %##################%+ =###################### -######################++++++++++++++++++=-: =###########################################*: =#############################################. +####%#*+=-:. -#############################################: %############################################################= %############################################################## %##############################################################%=----::. %#######################################################################%: %##########################################+: :+%#######################: *########################################* *####################### -%###################################### %###################### -%###################################% ####################### =###################################- :####################### ....+##################################*. .+######################## +###########################################%*++*%########################## %#########################################################################*. %#######################################################################+ ########################################################################- *#######################################################################- .######################################################################%. :+#################################################################- :=#####################################################:..... :--:.:##############################################+ :: +###############################################%- ####%+-. %##################################################. %#######%*-. :###################################################% %###########%*=*####################################################= %#################################################################### %####################################################################+ %#####################################################################. %#####################################################################% %######################################################################- .+*********************************************************************. * @title Kaiju Token Virtualizer * @notice Burn Kaiju ecosystem tokens to virtualize them to a destination * @author Augminted Labs, LLC */ contract KaijuTokenVirtualizer is Ownable { event Virtualize( address indexed token, address indexed from, uint256 indexed destination, uint256 amount ); IRWaste public rwaste; IScales public scales; mapping(uint256 => string) public destinations; mapping(address => mapping(uint256 => uint256)) internal _rwasteVirtualized; mapping(address => mapping(uint256 => uint256)) internal _scalesVirtualized; constructor( address _rwaste, address _scales, address _owner ) { rwaste = IRWaste(_rwaste); scales = IScales(_scales); transferOwnership(_owner); } /** * @notice Modifier that ensures the specified destination has been initialized * @param _destination Destination to validate */ modifier validateDestination(uint256 _destination) { if (bytes(destinations[_destination]).length == 0) revert KaijuTokenVirtualizer_UninitializedDestination(); _; } /** * @notice Returns the amount of $RWASTE virtualized by a specified address for a specified destination * @param _from Address to return the amount of virtualized $RWASTE for * @param _destination Destination to return the amount of virtualized $RWASTE for * @return uint256 Amount of $RWASTE virtualized by the address to the specified destination */ function rwasteVirtualized(address _from, uint256 _destination) public view returns (uint256) { return _rwasteVirtualized[_from][_destination]; } /** * @notice Returns the amount of $SCALES virtualized by a specified address for a specified destination * @param _from Address to return the amount of virtualized $SCALES for * @param _destination Destination to return the amount of virtualized $SCALES for * @return uint256 Amount of $SCALES virtualized by the address to the specified destination */ function scalesVirtualized(address _from, uint256 _destination) public view returns (uint256) { return _scalesVirtualized[_from][_destination]; } /** * @notice Set the $RWASTE token contract * @param _rwaste New $RWASTE token contract */ function setRWaste(address _rwaste) public payable onlyOwner { rwaste = IRWaste(_rwaste); } /** * @notice Set the $SCALES token contract * @param _scales New $SCALES token contract */ function setScales(address _scales) public payable onlyOwner { scales = IScales(_scales); } /** * @notice Set the values of a destination * @param _id Identifier of the destination * @param _name Name of the destination */ function setDestination(uint256 _id, string calldata _name) public payable onlyOwner { destinations[_id] = _name; } /** * @notice Virtualize $RWASTE to a specified destination * @param _amount Amount of $RWASTE to virtualize * @param _destination Destination to virtualize $RWASTE to */ function virtualizeRWaste(uint256 _amount, uint256 _destination) public validateDestination(_destination) { rwaste.burn(msg.sender, _amount); unchecked { _rwasteVirtualized[msg.sender][_destination] += _amount; } emit Virtualize( address(rwaste), msg.sender, _destination, _amount ); } /** * @notice Virtualize $SCALES to a specified destination * @param _amount Amount of $SCALES to virtualize * @param _destination Destination to virtualize $SCALES to */ function virtualizeScales(uint256 _amount, uint256 _destination) public validateDestination(_destination) { scales.spend(msg.sender, _amount); unchecked { _scalesVirtualized[msg.sender][_destination] += _amount; } emit Virtualize( address(scales), msg.sender, _destination, _amount ); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IRWaste is IERC20 { function burn(address from, uint256 amount) external; }
// SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; interface IScales is IERC20 { function spend(address from, uint256 amount) external; }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_rwaste","type":"address"},{"internalType":"address","name":"_scales","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"KaijuTokenVirtualizer_UninitializedDestination","type":"error"},{"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":"token","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"uint256","name":"destination","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Virtualize","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"destinations","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":"rwaste","outputs":[{"internalType":"contract IRWaste","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_destination","type":"uint256"}],"name":"rwasteVirtualized","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"scales","outputs":[{"internalType":"contract IScales","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_destination","type":"uint256"}],"name":"scalesVirtualized","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"string","name":"_name","type":"string"}],"name":"setDestination","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_rwaste","type":"address"}],"name":"setRWaste","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_scales","type":"address"}],"name":"setScales","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_destination","type":"uint256"}],"name":"virtualizeRWaste","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_destination","type":"uint256"}],"name":"virtualizeScales","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610c27380380610c2783398101604081905261002f916101bf565b61003833610079565b600180546001600160a01b038086166001600160a01b0319928316179092556002805492851692909116919091179055610071816100c9565b505050610202565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6100d1610147565b6001600160a01b03811661013b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61014481610079565b50565b6000546001600160a01b031633146101a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610132565b565b80516001600160a01b03811681146101ba57600080fd5b919050565b6000806000606084860312156101d457600080fd5b6101dd846101a3565b92506101eb602085016101a3565b91506101f9604085016101a3565b90509250925092565b610a16806102116000396000f3fe6080604052600436106100c25760003560e01c80638dd4ba2e1161007f578063d0cbef3b11610059578063d0cbef3b1461024d578063d70dc71a14610260578063df06976b14610273578063f2fde38b1461029357600080fd5b80638dd4ba2e146101bd578063ace9aa10146101ea578063bc4036521461022d57600080fd5b80630694ed91146100c7578063076d83291461010457806368a4860214610126578063707f4e5d14610139578063715018a61461018a5780638da5cb5b1461019f575b600080fd5b3480156100d357600080fd5b506002546100e7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561011057600080fd5b5061012461011f366004610713565b6102b3565b005b610124610134366004610751565b6103bf565b34801561014557600080fd5b5061017c610154366004610773565b6001600160a01b03919091166000908152600460209081526040808320938352929052205490565b6040519081526020016100fb565b34801561019657600080fd5b506101246103e9565b3480156101ab57600080fd5b506000546001600160a01b03166100e7565b3480156101c957600080fd5b506101dd6101d836600461079d565b6103fd565b6040516100fb91906107b6565b3480156101f657600080fd5b5061017c610205366004610773565b6001600160a01b03919091166000908152600560209081526040808320938352929052205490565b34801561023957600080fd5b506001546100e7906001600160a01b031681565b61012461025b366004610804565b610497565b61012461026e366004610751565b6104be565b34801561027f57600080fd5b5061012461028e366004610713565b6104e8565b34801561029f57600080fd5b506101246102ae366004610751565b6105eb565b600081815260036020526040902080548291906102cf90610880565b90506000036102f1576040516359df0a7960e01b815260040160405180910390fd5b60025460405163af7d6ca360e01b8152336004820152602481018590526001600160a01b039091169063af7d6ca390604401600060405180830381600087803b15801561033d57600080fd5b505af1158015610351573d6000803e3d6000fd5b505033600081815260056020908152604080832088845282529182902080548901905560025491518881528795509293506001600160a01b03909116917fee50b330f9c56109eca09eedaef6f1102e9f3b262a0d3b6eab4559f5b987f1bf91015b60405180910390a4505050565b6103c7610669565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6103f1610669565b6103fb60006106c3565b565b6003602052600090815260409020805461041690610880565b80601f016020809104026020016040519081016040528092919081815260200182805461044290610880565b801561048f5780601f106104645761010080835404028352916020019161048f565b820191906000526020600020905b81548152906001019060200180831161047257829003601f168201915b505050505081565b61049f610669565b60008381526003602052604090206104b882848361091f565b50505050565b6104c6610669565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600360205260409020805482919061050490610880565b9050600003610526576040516359df0a7960e01b815260040160405180910390fd5b600154604051632770a7eb60e21b8152336004820152602481018590526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b15801561057257600080fd5b505af1158015610586573d6000803e3d6000fd5b505033600081815260046020908152604080832088845282529182902080548901905560015491518881528795509293506001600160a01b03909116917fee50b330f9c56109eca09eedaef6f1102e9f3b262a0d3b6eab4559f5b987f1bf91016103b2565b6105f3610669565b6001600160a01b03811661065d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610666816106c3565b50565b6000546001600160a01b031633146103fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610654565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806040838503121561072657600080fd5b50508035926020909101359150565b80356001600160a01b038116811461074c57600080fd5b919050565b60006020828403121561076357600080fd5b61076c82610735565b9392505050565b6000806040838503121561078657600080fd5b61078f83610735565b946020939093013593505050565b6000602082840312156107af57600080fd5b5035919050565b600060208083528351808285015260005b818110156107e3578581018301518582016040015282016107c7565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060006040848603121561081957600080fd5b83359250602084013567ffffffffffffffff8082111561083857600080fd5b818601915086601f83011261084c57600080fd5b81358181111561085b57600080fd5b87602082850101111561086d57600080fd5b6020830194508093505050509250925092565b600181811c9082168061089457607f821691505b6020821081036108b457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b601f82111561091a57600081815260208120601f850160051c810160208610156108f75750805b601f850160051c820191505b8181101561091657828155600101610903565b5050505b505050565b67ffffffffffffffff831115610937576109376108ba565b61094b836109458354610880565b836108d0565b6000601f84116001811461097f57600085156109675750838201355b600019600387901b1c1916600186901b1783556109d9565b600083815260209020601f19861690835b828110156109b05786850135825560209485019460019092019101610990565b50868210156109cd5760001960f88860031b161c19848701351681555b505060018560011b0183555b505050505056fea26469706673582212200723447ab62a7aa10d3181ac93bb2013cb025557764be5e9a7a2751d46e049c464736f6c634300081300330000000000000000000000005cd2fac9702d68dde5a94b1af95962bcfb80fc7d00000000000000000000000027192b750ff796514f039512aaf5a3655a095ea0000000000000000000000000084fd17c6a5697bd651b6482fa916c0b3a0e6161
Deployed Bytecode
0x6080604052600436106100c25760003560e01c80638dd4ba2e1161007f578063d0cbef3b11610059578063d0cbef3b1461024d578063d70dc71a14610260578063df06976b14610273578063f2fde38b1461029357600080fd5b80638dd4ba2e146101bd578063ace9aa10146101ea578063bc4036521461022d57600080fd5b80630694ed91146100c7578063076d83291461010457806368a4860214610126578063707f4e5d14610139578063715018a61461018a5780638da5cb5b1461019f575b600080fd5b3480156100d357600080fd5b506002546100e7906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561011057600080fd5b5061012461011f366004610713565b6102b3565b005b610124610134366004610751565b6103bf565b34801561014557600080fd5b5061017c610154366004610773565b6001600160a01b03919091166000908152600460209081526040808320938352929052205490565b6040519081526020016100fb565b34801561019657600080fd5b506101246103e9565b3480156101ab57600080fd5b506000546001600160a01b03166100e7565b3480156101c957600080fd5b506101dd6101d836600461079d565b6103fd565b6040516100fb91906107b6565b3480156101f657600080fd5b5061017c610205366004610773565b6001600160a01b03919091166000908152600560209081526040808320938352929052205490565b34801561023957600080fd5b506001546100e7906001600160a01b031681565b61012461025b366004610804565b610497565b61012461026e366004610751565b6104be565b34801561027f57600080fd5b5061012461028e366004610713565b6104e8565b34801561029f57600080fd5b506101246102ae366004610751565b6105eb565b600081815260036020526040902080548291906102cf90610880565b90506000036102f1576040516359df0a7960e01b815260040160405180910390fd5b60025460405163af7d6ca360e01b8152336004820152602481018590526001600160a01b039091169063af7d6ca390604401600060405180830381600087803b15801561033d57600080fd5b505af1158015610351573d6000803e3d6000fd5b505033600081815260056020908152604080832088845282529182902080548901905560025491518881528795509293506001600160a01b03909116917fee50b330f9c56109eca09eedaef6f1102e9f3b262a0d3b6eab4559f5b987f1bf91015b60405180910390a4505050565b6103c7610669565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6103f1610669565b6103fb60006106c3565b565b6003602052600090815260409020805461041690610880565b80601f016020809104026020016040519081016040528092919081815260200182805461044290610880565b801561048f5780601f106104645761010080835404028352916020019161048f565b820191906000526020600020905b81548152906001019060200180831161047257829003601f168201915b505050505081565b61049f610669565b60008381526003602052604090206104b882848361091f565b50505050565b6104c6610669565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6000818152600360205260409020805482919061050490610880565b9050600003610526576040516359df0a7960e01b815260040160405180910390fd5b600154604051632770a7eb60e21b8152336004820152602481018590526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b15801561057257600080fd5b505af1158015610586573d6000803e3d6000fd5b505033600081815260046020908152604080832088845282529182902080548901905560015491518881528795509293506001600160a01b03909116917fee50b330f9c56109eca09eedaef6f1102e9f3b262a0d3b6eab4559f5b987f1bf91016103b2565b6105f3610669565b6001600160a01b03811661065d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b610666816106c3565b50565b6000546001600160a01b031633146103fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610654565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806040838503121561072657600080fd5b50508035926020909101359150565b80356001600160a01b038116811461074c57600080fd5b919050565b60006020828403121561076357600080fd5b61076c82610735565b9392505050565b6000806040838503121561078657600080fd5b61078f83610735565b946020939093013593505050565b6000602082840312156107af57600080fd5b5035919050565b600060208083528351808285015260005b818110156107e3578581018301518582016040015282016107c7565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060006040848603121561081957600080fd5b83359250602084013567ffffffffffffffff8082111561083857600080fd5b818601915086601f83011261084c57600080fd5b81358181111561085b57600080fd5b87602082850101111561086d57600080fd5b6020830194508093505050509250925092565b600181811c9082168061089457607f821691505b6020821081036108b457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b601f82111561091a57600081815260208120601f850160051c810160208610156108f75750805b601f850160051c820191505b8181101561091657828155600101610903565b5050505b505050565b67ffffffffffffffff831115610937576109376108ba565b61094b836109458354610880565b836108d0565b6000601f84116001811461097f57600085156109675750838201355b600019600387901b1c1916600186901b1783556109d9565b600083815260209020601f19861690835b828110156109b05786850135825560209485019460019092019101610990565b50868210156109cd5760001960f88860031b161c19848701351681555b505060018560011b0183555b505050505056fea26469706673582212200723447ab62a7aa10d3181ac93bb2013cb025557764be5e9a7a2751d46e049c464736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005cd2fac9702d68dde5a94b1af95962bcfb80fc7d00000000000000000000000027192b750ff796514f039512aaf5a3655a095ea0000000000000000000000000084fd17c6a5697bd651b6482fa916c0b3a0e6161
-----Decoded View---------------
Arg [0] : _rwaste (address): 0x5cd2FAc9702D68dde5a94B1af95962bCFb80fC7d
Arg [1] : _scales (address): 0x27192b750fF796514f039512aaf5A3655a095ea0
Arg [2] : _owner (address): 0x084FD17c6A5697bd651b6482fa916C0b3a0e6161
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000005cd2fac9702d68dde5a94b1af95962bcfb80fc7d
Arg [1] : 00000000000000000000000027192b750ff796514f039512aaf5a3655a095ea0
Arg [2] : 000000000000000000000000084fd17c6a5697bd651b6482fa916c0b3a0e6161
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.