Feature Tip: Add private address tag to any address under My Name Tag !
Source Code
Latest 22 from a total of 22 transactions
| Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Sell All Amount ... | 16782571 | 981 days ago | IN | 0 ETH | 0.0008347 | ||||
| Sell All Amount ... | 16782545 | 981 days ago | IN | 0 ETH | 0.00074337 | ||||
| 0x41678700 | 16782537 | 981 days ago | IN | 0 ETH | 0.00045515 | ||||
| Create And Sell ... | 5319777 | 2790 days ago | IN | 1 ETH | 0.00357304 | ||||
| Create And Sell ... | 5301275 | 2793 days ago | IN | 0.01 ETH | 0.00583686 | ||||
| Create And Sell ... | 5261689 | 2800 days ago | IN | 0.03 ETH | 0.00142908 | ||||
| Transfer | 5261679 | 2800 days ago | IN | 0.03 ETH | 0.00004208 | ||||
| Create And Sell ... | 5244825 | 2803 days ago | IN | 0.01 ETH | 0.0007146 | ||||
| Create And Sell ... | 5243369 | 2803 days ago | IN | 0.01 ETH | 0.00145908 | ||||
| Create And Sell ... | 5222217 | 2806 days ago | IN | 0.025 ETH | 0.00291817 | ||||
| Create And Sell ... | 5214445 | 2808 days ago | IN | 0 ETH | 0.0045071 | ||||
| Create And Sell ... | 5201742 | 2810 days ago | IN | 0.001 ETH | 0.00214382 | ||||
| Create And Sell ... | 5184787 | 2813 days ago | IN | 0.005 ETH | 0.00136908 | ||||
| Create And Sell ... | 5184504 | 2813 days ago | IN | 0 ETH | 0.00138875 | ||||
| Create And Sell ... | 5184498 | 2813 days ago | IN | 0 ETH | 0.00151277 | ||||
| Create And Sell ... | 5178543 | 2814 days ago | IN | 0.1 ETH | 0.00218901 | ||||
| Create And Sell ... | 5138592 | 2821 days ago | IN | 0.1 ETH | 0.00218863 | ||||
| Create And Sell ... | 5127402 | 2823 days ago | IN | 0.01 ETH | 0.00713402 | ||||
| Create And Sell ... | 5127400 | 2823 days ago | IN | 0.01 ETH | 0.0007134 | ||||
| Create And Sell ... | 5127237 | 2823 days ago | IN | 0.01 ETH | 0.0007134 | ||||
| Create And Sell ... | 5124299 | 2823 days ago | IN | 0.46015679 ETH | 0.00372336 | ||||
| Create And Sell ... | 5120281 | 2824 days ago | IN | 0.000001 ETH | 0.0030143 |
Latest 21 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
To
|
|||
|---|---|---|---|---|---|---|---|
| Transfer | 16782571 | 981 days ago | 0.029 ETH | ||||
| Transfer | 16782545 | 981 days ago | 1 wei | ||||
| Transfer | 5319777 | 2790 days ago | 1 ETH | ||||
| Transfer | 5301275 | 2793 days ago | 0.01 ETH | ||||
| Transfer | 5261689 | 2800 days ago | 0.03 ETH | ||||
| Transfer | 5244825 | 2803 days ago | 0.01 ETH | ||||
| Transfer | 5243369 | 2803 days ago | 0.01 ETH | ||||
| Transfer | 5222217 | 2806 days ago | 0.025 ETH | ||||
| Transfer | 5214445 | 2808 days ago | 0.99303182 ETH | ||||
| Transfer | 5214445 | 2808 days ago | 0.99303182 ETH | ||||
| Transfer | 5201742 | 2810 days ago | 0.001 ETH | ||||
| Transfer | 5184787 | 2813 days ago | 0.005 ETH | ||||
| Transfer | 5184504 | 2813 days ago | 0.00583559 ETH | ||||
| Transfer | 5184504 | 2813 days ago | 0.00583559 ETH | ||||
| Transfer | 5178543 | 2814 days ago | 0.1 ETH | ||||
| Transfer | 5138592 | 2821 days ago | 0.1 ETH | ||||
| Transfer | 5127402 | 2823 days ago | 0.01 ETH | ||||
| Transfer | 5127400 | 2823 days ago | 0.01 ETH | ||||
| Transfer | 5127237 | 2823 days ago | 0.01 ETH | ||||
| Transfer | 5124299 | 2823 days ago | 0.46015679 ETH | ||||
| Transfer | 5120281 | 2824 days ago | 0.000001 ETH |
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
ProxyCreationAndExecute
Compiler Version
v0.4.20+commit.3155dd80
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2018-02-19
*/
pragma solidity ^0.4.16;
contract DSMath {
function add(uint x, uint y) internal pure returns (uint z) {
require((z = x + y) >= x);
}
function sub(uint x, uint y) internal pure returns (uint z) {
require((z = x - y) <= x);
}
function mul(uint x, uint y) internal pure returns (uint z) {
require(y == 0 || (z = x * y) / y == x);
}
function min(uint x, uint y) internal pure returns (uint z) {
return x <= y ? x : y;
}
function max(uint x, uint y) internal pure returns (uint z) {
return x >= y ? x : y;
}
function imin(int x, int y) internal pure returns (int z) {
return x <= y ? x : y;
}
function imax(int x, int y) internal pure returns (int z) {
return x >= y ? x : y;
}
uint constant WAD = 10 ** 18;
uint constant RAY = 10 ** 27;
function wmul(uint x, uint y) internal pure returns (uint z) {
z = add(mul(x, y), WAD / 2) / WAD;
}
function rmul(uint x, uint y) internal pure returns (uint z) {
z = add(mul(x, y), RAY / 2) / RAY;
}
function wdiv(uint x, uint y) internal pure returns (uint z) {
z = add(mul(x, WAD), y / 2) / y;
}
function rdiv(uint x, uint y) internal pure returns (uint z) {
z = add(mul(x, RAY), y / 2) / y;
}
// This famous algorithm is called "exponentiation by squaring"
// and calculates x^n with x as fixed-point and n as regular unsigned.
//
// It's O(log n), instead of O(n) for naive repeated multiplication.
//
// These facts are why it works:
//
// If n is even, then x^n = (x^2)^(n/2).
// If n is odd, then x^n = x * x^(n-1),
// and applying the equation for even x gives
// x^n = x * (x^2)^((n-1) / 2).
//
// Also, EVM division is flooring and
// floor[(n-1) / 2] = floor[n / 2].
//
function rpow(uint x, uint n) internal pure returns (uint z) {
z = n % 2 != 0 ? x : RAY;
for (n /= 2; n != 0; n /= 2) {
x = rmul(x, x);
if (n % 2 != 0) {
z = rmul(z, x);
}
}
}
}
contract OtcInterface {
function sellAllAmount(address, uint, address, uint) public returns (uint);
function buyAllAmount(address, uint, address, uint) public returns (uint);
function getPayAmount(address, address, uint) public constant returns (uint);
}
contract TokenInterface {
function balanceOf(address) public returns (uint);
function allowance(address, address) public returns (uint);
function approve(address, uint) public;
function transfer(address,uint) public returns (bool);
function transferFrom(address, address, uint) public returns (bool);
function deposit() public payable;
function withdraw(uint) public;
}
contract OasisDirectProxy is DSMath {
function withdrawAndSend(TokenInterface wethToken, uint wethAmt) internal {
wethToken.withdraw(wethAmt);
require(msg.sender.call.value(wethAmt)());
}
function sellAllAmount(OtcInterface otc, TokenInterface payToken, uint payAmt, TokenInterface buyToken, uint minBuyAmt) public returns (uint buyAmt) {
require(payToken.transferFrom(msg.sender, this, payAmt));
if (payToken.allowance(this, otc) < payAmt) {
payToken.approve(otc, uint(-1));
}
buyAmt = otc.sellAllAmount(payToken, payAmt, buyToken, minBuyAmt);
require(buyToken.transfer(msg.sender, buyAmt));
}
function sellAllAmountPayEth(OtcInterface otc, TokenInterface wethToken, TokenInterface buyToken, uint minBuyAmt) public payable returns (uint buyAmt) {
wethToken.deposit.value(msg.value)();
if (wethToken.allowance(this, otc) < msg.value) {
wethToken.approve(otc, uint(-1));
}
buyAmt = otc.sellAllAmount(wethToken, msg.value, buyToken, minBuyAmt);
require(buyToken.transfer(msg.sender, buyAmt));
}
function sellAllAmountBuyEth(OtcInterface otc, TokenInterface payToken, uint payAmt, TokenInterface wethToken, uint minBuyAmt) public returns (uint wethAmt) {
require(payToken.transferFrom(msg.sender, this, payAmt));
if (payToken.allowance(this, otc) < payAmt) {
payToken.approve(otc, uint(-1));
}
wethAmt = otc.sellAllAmount(payToken, payAmt, wethToken, minBuyAmt);
withdrawAndSend(wethToken, wethAmt);
}
function buyAllAmount(OtcInterface otc, TokenInterface buyToken, uint buyAmt, TokenInterface payToken, uint maxPayAmt) public returns (uint payAmt) {
uint payAmtNow = otc.getPayAmount(payToken, buyToken, buyAmt);
require(payAmtNow <= maxPayAmt);
require(payToken.transferFrom(msg.sender, this, payAmtNow));
if (payToken.allowance(this, otc) < payAmtNow) {
payToken.approve(otc, uint(-1));
}
payAmt = otc.buyAllAmount(buyToken, buyAmt, payToken, payAmtNow);
require(buyToken.transfer(msg.sender, min(buyAmt, buyToken.balanceOf(this)))); // To avoid rounding issues we check the minimum value
}
function buyAllAmountPayEth(OtcInterface otc, TokenInterface buyToken, uint buyAmt, TokenInterface wethToken) public payable returns (uint wethAmt) {
// In this case user needs to send more ETH than a estimated value, then contract will send back the rest
wethToken.deposit.value(msg.value)();
if (wethToken.allowance(this, otc) < msg.value) {
wethToken.approve(otc, uint(-1));
}
wethAmt = otc.buyAllAmount(buyToken, buyAmt, wethToken, msg.value);
require(buyToken.transfer(msg.sender, min(buyAmt, buyToken.balanceOf(this)))); // To avoid rounding issues we check the minimum value
withdrawAndSend(wethToken, sub(msg.value, wethAmt));
}
function buyAllAmountBuyEth(OtcInterface otc, TokenInterface wethToken, uint wethAmt, TokenInterface payToken, uint maxPayAmt) public returns (uint payAmt) {
uint payAmtNow = otc.getPayAmount(payToken, wethToken, wethAmt);
require(payAmtNow <= maxPayAmt);
require(payToken.transferFrom(msg.sender, this, payAmtNow));
if (payToken.allowance(this, otc) < payAmtNow) {
payToken.approve(otc, uint(-1));
}
payAmt = otc.buyAllAmount(wethToken, wethAmt, payToken, payAmtNow);
withdrawAndSend(wethToken, wethAmt);
}
function() public payable {}
}
contract DSAuthority {
function canCall(
address src, address dst, bytes4 sig
) public view returns (bool);
}
contract DSAuthEvents {
event LogSetAuthority (address indexed authority);
event LogSetOwner (address indexed owner);
}
contract DSAuth is DSAuthEvents {
DSAuthority public authority;
address public owner;
function DSAuth() public {
owner = msg.sender;
LogSetOwner(msg.sender);
}
function setOwner(address owner_)
public
auth
{
owner = owner_;
LogSetOwner(owner);
}
function setAuthority(DSAuthority authority_)
public
auth
{
authority = authority_;
LogSetAuthority(authority);
}
modifier auth {
require(isAuthorized(msg.sender, msg.sig));
_;
}
function isAuthorized(address src, bytes4 sig) internal view returns (bool) {
if (src == address(this)) {
return true;
} else if (src == owner) {
return true;
} else if (authority == DSAuthority(0)) {
return false;
} else {
return authority.canCall(src, this, sig);
}
}
}
contract DSNote {
event LogNote(
bytes4 indexed sig,
address indexed guy,
bytes32 indexed foo,
bytes32 indexed bar,
uint wad,
bytes fax
) anonymous;
modifier note {
bytes32 foo;
bytes32 bar;
assembly {
foo := calldataload(4)
bar := calldataload(36)
}
LogNote(msg.sig, msg.sender, foo, bar, msg.value, msg.data);
_;
}
}
// DSProxy
// Allows code execution using a persistant identity This can be very
// useful to execute a sequence of atomic actions. Since the owner of
// the proxy can be changed, this allows for dynamic ownership models
// i.e. a multisig
contract DSProxy is DSAuth, DSNote {
DSProxyCache public cache; // global cache for contracts
function DSProxy(address _cacheAddr) public {
require(setCache(_cacheAddr));
}
function() public payable {
}
// use the proxy to execute calldata _data on contract _code
function execute(bytes _code, bytes _data)
public
payable
returns (address target, bytes32 response)
{
target = cache.read(_code);
if (target == 0x0) {
// deploy contract & store its address in cache
target = cache.write(_code);
}
response = execute(target, _data);
}
function execute(address _target, bytes _data)
public
auth
note
payable
returns (bytes32 response)
{
require(_target != 0x0);
// call contract in current context
assembly {
let succeeded := delegatecall(sub(gas, 5000), _target, add(_data, 0x20), mload(_data), 0, 32)
response := mload(0) // load delegatecall output
switch iszero(succeeded)
case 1 {
// throw if delegatecall failed
revert(0, 0)
}
}
}
//set new cache
function setCache(address _cacheAddr)
public
auth
note
returns (bool)
{
require(_cacheAddr != 0x0); // invalid cache address
cache = DSProxyCache(_cacheAddr); // overwrite cache
return true;
}
}
// DSProxyFactory
// This factory deploys new proxy instances through build()
// Deployed proxy addresses are logged
contract DSProxyFactory {
event Created(address indexed sender, address proxy, address cache);
mapping(address=>bool) public isProxy;
DSProxyCache public cache = new DSProxyCache();
// deploys a new proxy instance
// sets owner of proxy to caller
function build() public returns (DSProxy proxy) {
proxy = build(msg.sender);
}
// deploys a new proxy instance
// sets custom owner of proxy
function build(address owner) public returns (DSProxy proxy) {
proxy = new DSProxy(cache);
Created(owner, address(proxy), address(cache));
proxy.setOwner(owner);
isProxy[proxy] = true;
}
}
// DSProxyCache
// This global cache stores addresses of contracts previously deployed
// by a proxy. This saves gas from repeat deployment of the same
// contracts and eliminates blockchain bloat.
// By default, all proxies deployed from the same factory store
// contracts in the same cache. The cache a proxy instance uses can be
// changed. The cache uses the sha3 hash of a contract's bytecode to
// lookup the address
contract DSProxyCache {
mapping(bytes32 => address) cache;
function read(bytes _code) public view returns (address) {
bytes32 hash = keccak256(_code);
return cache[hash];
}
function write(bytes _code) public returns (address target) {
assembly {
target := create(0, add(_code, 0x20), mload(_code))
switch iszero(extcodesize(target))
case 1 {
// throw if contract failed to deploy
revert(0, 0)
}
}
bytes32 hash = keccak256(_code);
cache[hash] = target;
}
}
contract ProxyCreationAndExecute is OasisDirectProxy {
function createAndSellAllAmount(DSProxyFactory factory, OtcInterface otc, TokenInterface payToken, uint payAmt, TokenInterface buyToken, uint minBuyAmt) public returns (DSProxy proxy, uint buyAmt) {
proxy = factory.build(msg.sender);
buyAmt = sellAllAmount(otc, payToken, payAmt, buyToken, minBuyAmt);
}
function createAndSellAllAmountPayEth(DSProxyFactory factory, OtcInterface otc, TokenInterface wethToken, TokenInterface buyToken, uint minBuyAmt) public payable returns (DSProxy proxy, uint buyAmt) {
proxy = factory.build(msg.sender);
buyAmt = sellAllAmountPayEth(otc, wethToken, buyToken, minBuyAmt);
}
function createAndSellAllAmountBuyEth(DSProxyFactory factory, OtcInterface otc, TokenInterface payToken, uint payAmt, TokenInterface wethToken, uint minBuyAmt) public returns (DSProxy proxy, uint wethAmt) {
proxy = factory.build(msg.sender);
wethAmt = sellAllAmountBuyEth(otc, payToken, payAmt, wethToken, minBuyAmt);
}
function createAndBuyAllAmount(DSProxyFactory factory, OtcInterface otc, TokenInterface buyToken, uint buyAmt, TokenInterface payToken, uint maxPayAmt) public returns (DSProxy proxy, uint payAmt) {
proxy = factory.build(msg.sender);
payAmt = buyAllAmount(otc, buyToken, buyAmt, payToken, maxPayAmt);
}
function createAndBuyAllAmountPayEth(DSProxyFactory factory, OtcInterface otc, TokenInterface buyToken, uint buyAmt, TokenInterface wethToken) public payable returns (DSProxy proxy, uint wethAmt) {
proxy = factory.build(msg.sender);
wethAmt = buyAllAmountPayEth(otc, buyToken, buyAmt, wethToken);
}
function createAndBuyAllAmountBuyEth(DSProxyFactory factory, OtcInterface otc, TokenInterface wethToken, uint wethAmt, TokenInterface payToken, uint maxPayAmt) public returns (DSProxy proxy, uint payAmt) {
proxy = factory.build(msg.sender);
payAmt = buyAllAmountBuyEth(otc, wethToken, wethAmt, payToken, maxPayAmt);
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":false,"inputs":[{"name":"otc","type":"address"},{"name":"payToken","type":"address"},{"name":"payAmt","type":"uint256"},{"name":"wethToken","type":"address"},{"name":"minBuyAmt","type":"uint256"}],"name":"sellAllAmountBuyEth","outputs":[{"name":"wethAmt","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"otc","type":"address"},{"name":"payToken","type":"address"},{"name":"payAmt","type":"uint256"},{"name":"buyToken","type":"address"},{"name":"minBuyAmt","type":"uint256"}],"name":"sellAllAmount","outputs":[{"name":"buyAmt","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"otc","type":"address"},{"name":"buyToken","type":"address"},{"name":"buyAmt","type":"uint256"},{"name":"payToken","type":"address"},{"name":"maxPayAmt","type":"uint256"}],"name":"buyAllAmount","outputs":[{"name":"payAmt","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"factory","type":"address"},{"name":"otc","type":"address"},{"name":"wethToken","type":"address"},{"name":"buyToken","type":"address"},{"name":"minBuyAmt","type":"uint256"}],"name":"createAndSellAllAmountPayEth","outputs":[{"name":"proxy","type":"address"},{"name":"buyAmt","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"factory","type":"address"},{"name":"otc","type":"address"},{"name":"buyToken","type":"address"},{"name":"buyAmt","type":"uint256"},{"name":"payToken","type":"address"},{"name":"maxPayAmt","type":"uint256"}],"name":"createAndBuyAllAmount","outputs":[{"name":"proxy","type":"address"},{"name":"payAmt","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"otc","type":"address"},{"name":"buyToken","type":"address"},{"name":"buyAmt","type":"uint256"},{"name":"wethToken","type":"address"}],"name":"buyAllAmountPayEth","outputs":[{"name":"wethAmt","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"factory","type":"address"},{"name":"otc","type":"address"},{"name":"wethToken","type":"address"},{"name":"wethAmt","type":"uint256"},{"name":"payToken","type":"address"},{"name":"maxPayAmt","type":"uint256"}],"name":"createAndBuyAllAmountBuyEth","outputs":[{"name":"proxy","type":"address"},{"name":"payAmt","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"factory","type":"address"},{"name":"otc","type":"address"},{"name":"buyToken","type":"address"},{"name":"buyAmt","type":"uint256"},{"name":"wethToken","type":"address"}],"name":"createAndBuyAllAmountPayEth","outputs":[{"name":"proxy","type":"address"},{"name":"wethAmt","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"factory","type":"address"},{"name":"otc","type":"address"},{"name":"payToken","type":"address"},{"name":"payAmt","type":"uint256"},{"name":"buyToken","type":"address"},{"name":"minBuyAmt","type":"uint256"}],"name":"createAndSellAllAmount","outputs":[{"name":"proxy","type":"address"},{"name":"buyAmt","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"factory","type":"address"},{"name":"otc","type":"address"},{"name":"payToken","type":"address"},{"name":"payAmt","type":"uint256"},{"name":"wethToken","type":"address"},{"name":"minBuyAmt","type":"uint256"}],"name":"createAndSellAllAmountBuyEth","outputs":[{"name":"proxy","type":"address"},{"name":"wethAmt","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"otc","type":"address"},{"name":"wethToken","type":"address"},{"name":"buyToken","type":"address"},{"name":"minBuyAmt","type":"uint256"}],"name":"sellAllAmountPayEth","outputs":[{"name":"buyAmt","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"otc","type":"address"},{"name":"wethToken","type":"address"},{"name":"wethAmt","type":"uint256"},{"name":"payToken","type":"address"},{"name":"maxPayAmt","type":"uint256"}],"name":"buyAllAmountBuyEth","outputs":[{"name":"payAmt","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"}]Contract Creation Code
6060604052341561000f57600080fd5b6117268061001e6000396000f3006060604052600436106100a05763ffffffff60e060020a60003504166303e1b3c681146100a25780631ebf0d11146100e65780633c0ab65014610118578063529af3691461014a57806392eeee63146101955780639a22dec5146101cd578063a0b28861146101f1578063ae8f648914610229578063b126d0e514610253578063d5af8f241461028b578063e50278a6146102c3578063f9a87d4f146102e6575b005b34156100ad57600080fd5b6100d4600160a060020a036004358116906024358116906044359060643516608435610318565b60405190815260200160405180910390f35b34156100f157600080fd5b6100d4600160a060020a036004358116906024358116906044359060643516608435610537565b341561012357600080fd5b6100d4600160a060020a0360043581169060243581169060443590606435166084356107c5565b610173600160a060020a0360043581169060243581169060443581169060643516608435610b62565b604051600160a060020a03909216825260208201526040908101905180910390f35b34156101a057600080fd5b610173600160a060020a03600435811690602435811690604435811690606435906084351660a435610bf1565b6100d4600160a060020a036004358116906024358116906044359060643516610c82565b34156101fc57600080fd5b610173600160a060020a03600435811690602435811690604435811690606435906084351660a435610f3e565b610173600160a060020a036004358116906024358116906044358116906064359060843516610fc2565b341561025e57600080fd5b610173600160a060020a03600435811690602435811690604435811690606435906084351660a435611045565b341561029657600080fd5b610173600160a060020a03600435811690602435811690604435811690606435906084351660a4356110c9565b6100d4600160a060020a036004358116906024358116906044351660643561114d565b34156102f157600080fd5b6100d4600160a060020a03600435811690602435811690604435906064351660843561139d565b600084600160a060020a03166323b872dd33308760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561038457600080fd5b6102c65a03f1151561039557600080fd5b5050506040518051905015156103aa57600080fd5b8385600160a060020a031663dd62ed3e308960006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b151561040a57600080fd5b6102c65a03f1151561041b57600080fd5b5050506040518051905010156104965784600160a060020a031663095ea7b38760001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561048157600080fd5b6102c65a03f1151561049257600080fd5b5050505b85600160a060020a0316630621b4f68686868660006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b151561050757600080fd5b6102c65a03f1151561051857600080fd5b50505060405180519050905061052e8382611643565b95945050505050565b600084600160a060020a03166323b872dd33308760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156105a357600080fd5b6102c65a03f115156105b457600080fd5b5050506040518051905015156105c957600080fd5b8385600160a060020a031663dd62ed3e308960006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b151561062957600080fd5b6102c65a03f1151561063a57600080fd5b5050506040518051905010156106b55784600160a060020a031663095ea7b38760001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156106a057600080fd5b6102c65a03f115156106b157600080fd5b5050505b85600160a060020a0316630621b4f68686868660006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b151561072657600080fd5b6102c65a03f1151561073757600080fd5b5050506040518051915050600160a060020a03831663a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561079f57600080fd5b6102c65a03f115156107b057600080fd5b50505060405180519050151561052e57600080fd5b60008086600160a060020a031663ff1fd97485888860006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561083257600080fd5b6102c65a03f1151561084357600080fd5b50505060405180519150508281111561085b57600080fd5b83600160a060020a03166323b872dd33308460006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156108c557600080fd5b6102c65a03f115156108d657600080fd5b5050506040518051905015156108eb57600080fd5b8084600160a060020a031663dd62ed3e308a60006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b151561094b57600080fd5b6102c65a03f1151561095c57600080fd5b5050506040518051905010156109d75783600160a060020a031663095ea7b38860001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156109c257600080fd5b6102c65a03f115156109d357600080fd5b5050505b86600160a060020a0316638185402b8787878560006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b1515610a4857600080fd5b6102c65a03f11515610a5957600080fd5b5050506040518051925050600160a060020a03861663a9059cbb33610ae688846370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610ac657600080fd5b6102c65a03f11515610ad757600080fd5b505050604051805190506116cf565b60006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610b3257600080fd5b6102c65a03f11515610b4357600080fd5b505050604051805190501515610b5857600080fd5b5095945050505050565b60008086600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610bbc57600080fd5b6102c65a03f11515610bcd57600080fd5b505050604051805190509150610be58686868661114d565b90509550959350505050565b60008087600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610c4b57600080fd5b6102c65a03f11515610c5c57600080fd5b505050604051805190509150610c7587878787876107c5565b9050965096945050505050565b600081600160a060020a031663d0e30db0346040518263ffffffff1660e060020a0281526004016000604051808303818588803b1515610cc157600080fd5b6125ee5a03f11515610cd257600080fd5b505050503482600160a060020a031663dd62ed3e308860006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b1515610d3657600080fd5b6102c65a03f11515610d4757600080fd5b505050604051805190501015610dc25781600160a060020a031663095ea7b38660001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610dad57600080fd5b6102c65a03f11515610dbe57600080fd5b5050505b84600160a060020a0316638185402b8585853460006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b1515610e3357600080fd5b6102c65a03f11515610e4457600080fd5b5050506040518051915050600160a060020a03841663a9059cbb33610eb186846370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610ac657600080fd5b60006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610efd57600080fd5b6102c65a03f11515610f0e57600080fd5b505050604051805190501515610f2357600080fd5b610f3682610f3134846116ea565b611643565b949350505050565b60008087600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610f9857600080fd5b6102c65a03f11515610fa957600080fd5b505050604051805190509150610c75878787878761139d565b60008086600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561101c57600080fd5b6102c65a03f1151561102d57600080fd5b505050604051805190509150610be586868686610c82565b60008087600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561109f57600080fd5b6102c65a03f115156110b057600080fd5b505050604051805190509150610c758787878787610537565b60008087600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561112357600080fd5b6102c65a03f1151561113457600080fd5b505050604051805190509150610c758787878787610318565b600083600160a060020a031663d0e30db0346040518263ffffffff1660e060020a0281526004016000604051808303818588803b151561118c57600080fd5b6125ee5a03f1151561119d57600080fd5b505050503484600160a060020a031663dd62ed3e308860006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b151561120157600080fd5b6102c65a03f1151561121257600080fd5b50505060405180519050101561128d5783600160a060020a031663095ea7b38660001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561127857600080fd5b6102c65a03f1151561128957600080fd5b5050505b84600160a060020a0316630621b4f68534868660006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b15156112fe57600080fd5b6102c65a03f1151561130f57600080fd5b5050506040518051915050600160a060020a03831663a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561137757600080fd5b6102c65a03f1151561138857600080fd5b505050604051805190501515610f3657600080fd5b60008086600160a060020a031663ff1fd97485888860006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561140a57600080fd5b6102c65a03f1151561141b57600080fd5b50505060405180519150508281111561143357600080fd5b83600160a060020a03166323b872dd33308460006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561149d57600080fd5b6102c65a03f115156114ae57600080fd5b5050506040518051905015156114c357600080fd5b8084600160a060020a031663dd62ed3e308a60006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b151561152357600080fd5b6102c65a03f1151561153457600080fd5b5050506040518051905010156115af5783600160a060020a031663095ea7b38860001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561159a57600080fd5b6102c65a03f115156115ab57600080fd5b5050505b86600160a060020a0316638185402b8787878560006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b151561162057600080fd5b6102c65a03f1151561163157600080fd5b505050604051805190509150610b5886865b81600160a060020a0316632e1a7d4d8260405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b151561168957600080fd5b6102c65a03f1151561169a57600080fd5b50505033600160a060020a03168160405160006040518083038185876187965a03f19250505015156116cb57600080fd5b5050565b6000818311156116df57816116e1565b825b90505b92915050565b808203828111156116e457600080fd00a165627a7a72305820a0b611aa35fcf308373fe3807198fcd95ddf02d95aae3c420abdaffc2679ff6d0029
Deployed Bytecode
0x6060604052600436106100a05763ffffffff60e060020a60003504166303e1b3c681146100a25780631ebf0d11146100e65780633c0ab65014610118578063529af3691461014a57806392eeee63146101955780639a22dec5146101cd578063a0b28861146101f1578063ae8f648914610229578063b126d0e514610253578063d5af8f241461028b578063e50278a6146102c3578063f9a87d4f146102e6575b005b34156100ad57600080fd5b6100d4600160a060020a036004358116906024358116906044359060643516608435610318565b60405190815260200160405180910390f35b34156100f157600080fd5b6100d4600160a060020a036004358116906024358116906044359060643516608435610537565b341561012357600080fd5b6100d4600160a060020a0360043581169060243581169060443590606435166084356107c5565b610173600160a060020a0360043581169060243581169060443581169060643516608435610b62565b604051600160a060020a03909216825260208201526040908101905180910390f35b34156101a057600080fd5b610173600160a060020a03600435811690602435811690604435811690606435906084351660a435610bf1565b6100d4600160a060020a036004358116906024358116906044359060643516610c82565b34156101fc57600080fd5b610173600160a060020a03600435811690602435811690604435811690606435906084351660a435610f3e565b610173600160a060020a036004358116906024358116906044358116906064359060843516610fc2565b341561025e57600080fd5b610173600160a060020a03600435811690602435811690604435811690606435906084351660a435611045565b341561029657600080fd5b610173600160a060020a03600435811690602435811690604435811690606435906084351660a4356110c9565b6100d4600160a060020a036004358116906024358116906044351660643561114d565b34156102f157600080fd5b6100d4600160a060020a03600435811690602435811690604435906064351660843561139d565b600084600160a060020a03166323b872dd33308760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561038457600080fd5b6102c65a03f1151561039557600080fd5b5050506040518051905015156103aa57600080fd5b8385600160a060020a031663dd62ed3e308960006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b151561040a57600080fd5b6102c65a03f1151561041b57600080fd5b5050506040518051905010156104965784600160a060020a031663095ea7b38760001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561048157600080fd5b6102c65a03f1151561049257600080fd5b5050505b85600160a060020a0316630621b4f68686868660006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b151561050757600080fd5b6102c65a03f1151561051857600080fd5b50505060405180519050905061052e8382611643565b95945050505050565b600084600160a060020a03166323b872dd33308760006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156105a357600080fd5b6102c65a03f115156105b457600080fd5b5050506040518051905015156105c957600080fd5b8385600160a060020a031663dd62ed3e308960006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b151561062957600080fd5b6102c65a03f1151561063a57600080fd5b5050506040518051905010156106b55784600160a060020a031663095ea7b38760001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156106a057600080fd5b6102c65a03f115156106b157600080fd5b5050505b85600160a060020a0316630621b4f68686868660006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b151561072657600080fd5b6102c65a03f1151561073757600080fd5b5050506040518051915050600160a060020a03831663a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561079f57600080fd5b6102c65a03f115156107b057600080fd5b50505060405180519050151561052e57600080fd5b60008086600160a060020a031663ff1fd97485888860006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561083257600080fd5b6102c65a03f1151561084357600080fd5b50505060405180519150508281111561085b57600080fd5b83600160a060020a03166323b872dd33308460006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b15156108c557600080fd5b6102c65a03f115156108d657600080fd5b5050506040518051905015156108eb57600080fd5b8084600160a060020a031663dd62ed3e308a60006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b151561094b57600080fd5b6102c65a03f1151561095c57600080fd5b5050506040518051905010156109d75783600160a060020a031663095ea7b38860001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b15156109c257600080fd5b6102c65a03f115156109d357600080fd5b5050505b86600160a060020a0316638185402b8787878560006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b1515610a4857600080fd5b6102c65a03f11515610a5957600080fd5b5050506040518051925050600160a060020a03861663a9059cbb33610ae688846370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610ac657600080fd5b6102c65a03f11515610ad757600080fd5b505050604051805190506116cf565b60006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610b3257600080fd5b6102c65a03f11515610b4357600080fd5b505050604051805190501515610b5857600080fd5b5095945050505050565b60008086600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610bbc57600080fd5b6102c65a03f11515610bcd57600080fd5b505050604051805190509150610be58686868661114d565b90509550959350505050565b60008087600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610c4b57600080fd5b6102c65a03f11515610c5c57600080fd5b505050604051805190509150610c7587878787876107c5565b9050965096945050505050565b600081600160a060020a031663d0e30db0346040518263ffffffff1660e060020a0281526004016000604051808303818588803b1515610cc157600080fd5b6125ee5a03f11515610cd257600080fd5b505050503482600160a060020a031663dd62ed3e308860006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b1515610d3657600080fd5b6102c65a03f11515610d4757600080fd5b505050604051805190501015610dc25781600160a060020a031663095ea7b38660001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610dad57600080fd5b6102c65a03f11515610dbe57600080fd5b5050505b84600160a060020a0316638185402b8585853460006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b1515610e3357600080fd5b6102c65a03f11515610e4457600080fd5b5050506040518051915050600160a060020a03841663a9059cbb33610eb186846370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610ac657600080fd5b60006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610efd57600080fd5b6102c65a03f11515610f0e57600080fd5b505050604051805190501515610f2357600080fd5b610f3682610f3134846116ea565b611643565b949350505050565b60008087600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610f9857600080fd5b6102c65a03f11515610fa957600080fd5b505050604051805190509150610c75878787878761139d565b60008086600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561101c57600080fd5b6102c65a03f1151561102d57600080fd5b505050604051805190509150610be586868686610c82565b60008087600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561109f57600080fd5b6102c65a03f115156110b057600080fd5b505050604051805190509150610c758787878787610537565b60008087600160a060020a031663f3701da23360006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b151561112357600080fd5b6102c65a03f1151561113457600080fd5b505050604051805190509150610c758787878787610318565b600083600160a060020a031663d0e30db0346040518263ffffffff1660e060020a0281526004016000604051808303818588803b151561118c57600080fd5b6125ee5a03f1151561119d57600080fd5b505050503484600160a060020a031663dd62ed3e308860006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b151561120157600080fd5b6102c65a03f1151561121257600080fd5b50505060405180519050101561128d5783600160a060020a031663095ea7b38660001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561127857600080fd5b6102c65a03f1151561128957600080fd5b5050505b84600160a060020a0316630621b4f68534868660006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b15156112fe57600080fd5b6102c65a03f1151561130f57600080fd5b5050506040518051915050600160a060020a03831663a9059cbb338360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561137757600080fd5b6102c65a03f1151561138857600080fd5b505050604051805190501515610f3657600080fd5b60008086600160a060020a031663ff1fd97485888860006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561140a57600080fd5b6102c65a03f1151561141b57600080fd5b50505060405180519150508281111561143357600080fd5b83600160a060020a03166323b872dd33308460006040516020015260405160e060020a63ffffffff8616028152600160a060020a0393841660048201529190921660248201526044810191909152606401602060405180830381600087803b151561149d57600080fd5b6102c65a03f115156114ae57600080fd5b5050506040518051905015156114c357600080fd5b8084600160a060020a031663dd62ed3e308a60006040516020015260405160e060020a63ffffffff8516028152600160a060020a03928316600482015291166024820152604401602060405180830381600087803b151561152357600080fd5b6102c65a03f1151561153457600080fd5b5050506040518051905010156115af5783600160a060020a031663095ea7b38860001960405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b151561159a57600080fd5b6102c65a03f115156115ab57600080fd5b5050505b86600160a060020a0316638185402b8787878560006040516020015260405160e060020a63ffffffff8716028152600160a060020a0394851660048201526024810193909352921660448201526064810191909152608401602060405180830381600087803b151561162057600080fd5b6102c65a03f1151561163157600080fd5b505050604051805190509150610b5886865b81600160a060020a0316632e1a7d4d8260405160e060020a63ffffffff84160281526004810191909152602401600060405180830381600087803b151561168957600080fd5b6102c65a03f1151561169a57600080fd5b50505033600160a060020a03168160405160006040518083038185876187965a03f19250505015156116cb57600080fd5b5050565b6000818311156116df57816116e1565b825b90505b92915050565b808203828111156116e457600080fd00a165627a7a72305820a0b611aa35fcf308373fe3807198fcd95ddf02d95aae3c420abdaffc2679ff6d0029
Swarm Source
bzzr://a0b611aa35fcf308373fe3807198fcd95ddf02d95aae3c420abdaffc2679ff6d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $3,205 | 0.001 | $3.2 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.