xDAI Price: $0.999828 (-0.01%)
Gas: 1.1 Gwei

Contract

0x90D280b6456F8233e115e6aABb2CA89249DAfD39
Transaction Hash
Block
From
To
Transfer446977622026-02-15 19:52:0049 mins ago1771185120IN
0x90D280b6...249DAfD39
0 XDAI0.000262731.5
Approve446781242026-02-14 15:45:5028 hrs ago1771083950IN
0x90D280b6...249DAfD39
0 XDAI00.00010002
Approve446683932026-02-14 1:51:3042 hrs ago1771033890IN
0x90D280b6...249DAfD39
0 XDAI00.00014294
Transfer446681262026-02-14 1:28:5543 hrs ago1771032535IN
0x90D280b6...249DAfD39
0 XDAI0.000000030.00017375
Transfer446552352026-02-13 7:00:202 days ago1770966020IN
0x90D280b6...249DAfD39
0 XDAI0.000000010.00010001
Approve446439542026-02-12 14:57:203 days ago1770908240IN
0x90D280b6...249DAfD39
0 XDAI0.000132972
Transfer446286992026-02-11 17:12:004 days ago1770829920IN
0x90D280b6...249DAfD39
0 XDAI0.000168951
Transfer446286782026-02-11 17:10:154 days ago1770829815IN
0x90D280b6...249DAfD39
0 XDAI0.000192231
Approve446280732026-02-11 16:18:254 days ago1770826705IN
0x90D280b6...249DAfD39
0 XDAI0.000066471
Approve446279732026-02-11 16:10:004 days ago1770826200IN
0x90D280b6...249DAfD39
0 XDAI00.00010075
Transfer446097752026-02-10 13:56:005 days ago1770731760IN
0x90D280b6...249DAfD39
0 XDAI00.00000008
Transfer445747782026-02-08 12:21:507 days ago1770553310IN
0x90D280b6...249DAfD39
0 XDAI0.000179091
Approve445627052026-02-07 19:17:308 days ago1770491850IN
0x90D280b6...249DAfD39
0 XDAI0.000066481
Transfer445611952026-02-07 17:09:108 days ago1770484150IN
0x90D280b6...249DAfD39
0 XDAI0.000000010.00010035
Transfer445398012026-02-06 10:59:559 days ago1770375595IN
0x90D280b6...249DAfD39
0 XDAI0.000000040.0002242
Transfer445326782026-02-06 0:53:509 days ago1770339230IN
0x90D280b6...249DAfD39
0 XDAI0.000003120.01784425
Approve444956142026-02-03 20:32:2512 days ago1770150745IN
0x90D280b6...249DAfD39
0 XDAI0.000073131.1
Approve444933152026-02-03 17:16:0012 days ago1770138960IN
0x90D280b6...249DAfD39
0 XDAI0.000166212.50000036
Transfer444928062026-02-03 16:32:4512 days ago1770136365IN
0x90D280b6...249DAfD39
0 XDAI0.000000010.00010012
Approve444802092026-02-02 22:42:2512 days ago1770072145IN
0x90D280b6...249DAfD39
0 XDAI0.000166212.50000015
Transfer444769302026-02-02 18:02:5513 days ago1770055375IN
0x90D280b6...249DAfD39
0 XDAI0.000268641.5
Transfer444754702026-02-02 15:58:2513 days ago1770047905IN
0x90D280b6...249DAfD39
0 XDAI0.000268641.5
Transfer444713992026-02-02 10:11:3013 days ago1770027090IN
0x90D280b6...249DAfD39
0 XDAI0.000000010.00010016
Transfer444612242026-02-01 19:36:5014 days ago1769974610IN
0x90D280b6...249DAfD39
0 XDAI00.0000001
Approve444467862026-01-31 22:58:0014 days ago1769900280IN
0x90D280b6...249DAfD39
0 XDAI00.00010001
View all transactions

Latest 1 internal transaction

Parent Transaction Hash Block From To
296271332023-08-24 19:46:05906 days ago1692906365  Contract Creation0 XDAI
Cross-Chain Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x22C1f605...fEf83B415
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
AdminUpgradeabilityProxy

Compiler Version
v0.5.2+commit.1df8f40c

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at gnosisscan.io on 2022-08-24
*/

pragma solidity ^0.5.0;

/**
 * Utility library of inline functions on addresses
 *
 * Source https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-solidity/v2.1.3/contracts/utils/Address.sol
 * This contract is copied here and renamed from the original to avoid clashes in the compiled artifacts
 * when the user imports a zos-lib contract (that transitively causes this contract to be compiled and added to the
 * build/artifacts folder) as well as the vanilla Address implementation from an openzeppelin version.
 */
library ZOSLibAddress {
    /**
     * Returns whether the target address is a contract
     * @dev This function will return false if invoked during the constructor of a contract,
     * as the code is not actually created until after the constructor finishes.
     * @param account address of the account to check
     * @return whether the target address is a contract
     */
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        // XXX Currently there is no better way to check if there is a contract in an address
        // than to check the size of the code at that address.
        // See https://ethereum.stackexchange.com/a/14016/36603
        // for more details about how this works.
        // TODO Check this again before the Serenity release, because all addresses will be
        // contracts then.
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }
}          
          

/**
 * @title Proxy
 * @dev Implements delegation of calls to other contracts, with proper
 * forwarding of return values and bubbling of failures.
 * It defines a fallback function that delegates all calls to the address
 * returned by the abstract _implementation() internal function.
 */
contract Proxy {
  /**
   * @dev Fallback function.
   * Implemented entirely in `_fallback`.
   */
  function () payable external {
    _fallback();
  }

  /**
   * @return The Address of the implementation.
   */
  function _implementation() internal view returns (address);

  /**
   * @dev Delegates execution to an implementation contract.
   * This is a low level function that doesn't return to its internal call site.
   * It will return to the external caller whatever the implementation returns.
   * @param implementation Address to delegate.
   */
  function _delegate(address implementation) internal {
    assembly {
      // Copy msg.data. We take full control of memory in this inline assembly
      // block because it will not return to Solidity code. We overwrite the
      // Solidity scratch pad at memory position 0.
      calldatacopy(0, 0, calldatasize)

      // Call the implementation.
      // out and outsize are 0 because we don't know the size yet.
      let result := delegatecall(gas, implementation, 0, calldatasize, 0, 0)

      // Copy the returned data.
      returndatacopy(0, 0, returndatasize)

      switch result
      // delegatecall returns 0 on error.
      case 0 { revert(0, returndatasize) }
      default { return(0, returndatasize) }
    }
  }

  /**
   * @dev Function that is run as the first thing in the fallback function.
   * Can be redefined in derived contracts to add functionality.
   * Redefinitions must call super._willFallback().
   */
  function _willFallback() internal {
  }

  /**
   * @dev fallback implementation.
   * Extracted to enable manual triggering.
   */
  function _fallback() internal {
    _willFallback();
    _delegate(_implementation());
  }
}
          

/**
 * @title BaseUpgradeabilityProxy
 * @dev This contract implements a proxy that allows to change the
 * implementation address to which it will delegate.
 * Such a change is called an implementation upgrade.
 */
contract BaseUpgradeabilityProxy is Proxy {
  /**
   * @dev Emitted when the implementation is upgraded.
   * @param implementation Address of the new implementation.
   */
  event Upgraded(address indexed implementation);

  /**
   * @dev Storage slot with the address of the current implementation.
   * This is the keccak-256 hash of "org.zeppelinos.proxy.implementation", and is
   * validated in the constructor.
   */
  bytes32 internal constant IMPLEMENTATION_SLOT = 0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3;

  /**
   * @dev Returns the current implementation.
   * @return Address of the current implementation
   */
  function _implementation() internal view returns (address impl) {
    bytes32 slot = IMPLEMENTATION_SLOT;
    assembly {
      impl := sload(slot)
    }
  }

  /**
   * @dev Upgrades the proxy to a new implementation.
   * @param newImplementation Address of the new implementation.
   */
  function _upgradeTo(address newImplementation) internal {
    _setImplementation(newImplementation);
    emit Upgraded(newImplementation);
  }

  /**
   * @dev Sets the implementation address of the proxy.
   * @param newImplementation Address of the new implementation.
   */
  function _setImplementation(address newImplementation) internal {
    require(ZOSLibAddress.isContract(newImplementation), "Cannot set a proxy implementation to a non-contract address");

    bytes32 slot = IMPLEMENTATION_SLOT;

    assembly {
      sstore(slot, newImplementation)
    }
  }
}
          

/**
 * @title BaseAdminUpgradeabilityProxy
 * @dev This contract combines an upgradeability proxy with an authorization
 * mechanism for administrative tasks.
 * All external functions in this contract must be guarded by the
 * `ifAdmin` modifier. See ethereum/solidity#3864 for a Solidity
 * feature proposal that would enable this to be done automatically.
 */
contract BaseAdminUpgradeabilityProxy is BaseUpgradeabilityProxy {
  /**
   * @dev Emitted when the administration has been transferred.
   * @param previousAdmin Address of the previous admin.
   * @param newAdmin Address of the new admin.
   */
  event AdminChanged(address previousAdmin, address newAdmin);

  /**
   * @dev Storage slot with the admin of the contract.
   * This is the keccak-256 hash of "org.zeppelinos.proxy.admin", and is
   * validated in the constructor.
   */
  bytes32 internal constant ADMIN_SLOT = 0x10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b;

  /**
   * @dev Modifier to check whether the `msg.sender` is the admin.
   * If it is, it will run the function. Otherwise, it will delegate the call
   * to the implementation.
   */
  modifier ifAdmin() {
    if (msg.sender == _admin()) {
      _;
    } else {
      _fallback();
    }
  }

  /**
   * @return The address of the proxy admin.
   */
  function admin() external ifAdmin returns (address) {
    return _admin();
  }

  /**
   * @return The address of the implementation.
   */
  function implementation() external ifAdmin returns (address) {
    return _implementation();
  }

  /**
   * @dev Changes the admin of the proxy.
   * Only the current admin can call this function.
   * @param newAdmin Address to transfer proxy administration to.
   */
  function changeAdmin(address newAdmin) external ifAdmin {
    require(newAdmin != address(0), "Cannot change the admin of a proxy to the zero address");
    emit AdminChanged(_admin(), newAdmin);
    _setAdmin(newAdmin);
  }

  /**
   * @dev Upgrade the backing implementation of the proxy.
   * Only the admin can call this function.
   * @param newImplementation Address of the new implementation.
   */
  function upgradeTo(address newImplementation) external ifAdmin {
    _upgradeTo(newImplementation);
  }

  /**
   * @dev Upgrade the backing implementation of the proxy and call a function
   * on the new implementation.
   * This is useful to initialize the proxied contract.
   * @param newImplementation Address of the new implementation.
   * @param data Data to send as msg.data in the low level call.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   */
  function upgradeToAndCall(address newImplementation, bytes calldata data) payable external ifAdmin {
    _upgradeTo(newImplementation);
    (bool success,) = newImplementation.delegatecall(data);
    require(success);
  }

  /**
   * @return The admin slot.
   */
  function _admin() internal view returns (address adm) {
    bytes32 slot = ADMIN_SLOT;
    assembly {
      adm := sload(slot)
    }
  }

  /**
   * @dev Sets the address of the proxy admin.
   * @param newAdmin Address of the new proxy admin.
   */
  function _setAdmin(address newAdmin) internal {
    bytes32 slot = ADMIN_SLOT;

    assembly {
      sstore(slot, newAdmin)
    }
  }

  /**
   * @dev Only fall back when the sender is not the admin.
   */
  function _willFallback() internal {
    require(msg.sender != _admin(), "Cannot call fallback function from the proxy admin");
    super._willFallback();
  }
}

/**
 * @title UpgradeabilityProxy
 * @dev Extends BaseUpgradeabilityProxy with a constructor for initializing
 * implementation and init data.
 */
contract UpgradeabilityProxy is BaseUpgradeabilityProxy {
  /**
   * @dev Contract constructor.
   * @param _logic Address of the initial implementation.
   * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  constructor(address _logic, bytes memory _data) public payable {
    assert(IMPLEMENTATION_SLOT == keccak256("org.zeppelinos.proxy.implementation"));
    _setImplementation(_logic);
    if(_data.length > 0) {
      (bool success,) = _logic.delegatecall(_data);
      require(success);
    }
  }  
}   

/**
 * @title AdminUpgradeabilityProxy
 * @dev Extends from BaseAdminUpgradeabilityProxy with a constructor for 
 * initializing the implementation, admin, and init data.
 */
contract AdminUpgradeabilityProxy is BaseAdminUpgradeabilityProxy, UpgradeabilityProxy {
  /**
   * Contract constructor.
   * @param _logic address of the initial implementation.
   * @param _admin Address of the proxy administrator.
   * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  constructor(address _logic, address _admin, bytes memory _data) UpgradeabilityProxy(_logic, _data) public payable {
    assert(ADMIN_SLOT == keccak256("org.zeppelinos.proxy.admin"));
    _setAdmin(_admin);
  }
}

Contract Security Audit

Contract ABI

API
[{"constant":false,"inputs":[{"name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newImplementation","type":"address"},{"name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"implementation","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"admin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_logic","type":"address"},{"name":"_admin","type":"address"},{"name":"_data","type":"bytes"}],"payable":true,"stateMutability":"payable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"previousAdmin","type":"address"},{"indexed":false,"name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"implementation","type":"address"}],"name":"Upgraded","type":"event"}]

0x6080604052604051610c70380380610c708339810180604052606081101561002657600080fd5b810190808051906020019092919080519060200190929190805164010000000081111561005257600080fd5b8281019050602081018481111561006857600080fd5b815185600182028301116401000000008211171561008557600080fd5b505092919050505082816040518080610c1260239139602301905060405180910390207f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c36001021415156100d557fe5b6100ed82610242640100000000026401000000009004565b6000815111156101bd5760008273ffffffffffffffffffffffffffffffffffffffff16826040518082805190602001908083835b6020831015156101465780518252602082019150602081019050602083039250610121565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146101a6576040519150601f19603f3d011682016040523d82523d6000602084013e6101ab565b606091505b505090508015156101bb57600080fd5b505b505060405180807f6f72672e7a657070656c696e6f732e70726f78792e61646d696e000000000000815250601a01905060405180910390207f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b60010214151561022257fe5b61023a826102e4640100000000026401000000009004565b505050610326565b61025e81610313640100000000026107fb176401000000009004565b15156102b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610c35603b913960400191505060405180910390fd5b60007f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360010290508181555050565b60007f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b60010290508181555050565b600080823b905060008111915050919050565b6108dd806103356000396000f3fe608060405260043610610067576000357c0100000000000000000000000000000000000000000000000000000000900480633659cfe6146100715780634f1ef286146100c25780635c60da1b1461015b5780638f283970146101b2578063f851a44014610203575b61006f61025a565b005b34801561007d57600080fd5b506100c06004803603602081101561009457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610274565b005b610159600480360360408110156100d857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561011557600080fd5b82018360208201111561012757600080fd5b8035906020019184600183028401116401000000008311171561014957600080fd5b90919293919293905050506102c9565b005b34801561016757600080fd5b506101706103a1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101be57600080fd5b50610201600480360360208110156101d557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103f9565b005b34801561020f57600080fd5b50610218610574565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102626105cc565b61027261026d610664565b610695565b565b61027c6106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102bd576102b8816106ec565b6102c6565b6102c561025a565b5b50565b6102d16106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103935761030d836106ec565b60008373ffffffffffffffffffffffffffffffffffffffff168383604051808383808284378083019250505092505050600060405180830381855af49150503d8060008114610378576040519150601f19603f3d011682016040523d82523d6000602084013e61037d565b606091505b5050905080151561038d57600080fd5b5061039c565b61039b61025a565b5b505050565b60006103ab6106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103ed576103e6610664565b90506103f6565b6103f561025a565b5b90565b6104016106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561056857600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156104bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806108416036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104e56106bb565b82604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a16105638161073b565b610571565b61057061025a565b5b50565b600061057e6106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156105c0576105b96106bb565b90506105c9565b6105c861025a565b5b90565b6105d46106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415151561065a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603281526020018061080f6032913960400191505060405180910390fd5b61066261076a565b565b6000807f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c36001029050805491505090565b3660008037600080366000845af43d6000803e80600081146106b6573d6000f35b3d6000fd5b6000807f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b6001029050805491505090565b6106f58161076c565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60007f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b60010290508181555050565b565b610775816107fb565b15156107cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610877603b913960400191505060405180910390fd5b60007f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360010290508181555050565b600080823b90506000811191505091905056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a165627a7a72305820b6f16038090c753f0c6f1b3c6169e6efd0704d91ba6bb106c29b5fbd8aa554d700296f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e746174696f6e43616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e7472616374206164647265737300000000000000000000000070be90cd788bef69d52b0d6e767efe3b289bd0b4000000000000000000000000ca8e49cd1f5c82fed96dee64d7a2fbcdd6b06be400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405260043610610067576000357c0100000000000000000000000000000000000000000000000000000000900480633659cfe6146100715780634f1ef286146100c25780635c60da1b1461015b5780638f283970146101b2578063f851a44014610203575b61006f61025a565b005b34801561007d57600080fd5b506100c06004803603602081101561009457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610274565b005b610159600480360360408110156100d857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561011557600080fd5b82018360208201111561012757600080fd5b8035906020019184600183028401116401000000008311171561014957600080fd5b90919293919293905050506102c9565b005b34801561016757600080fd5b506101706103a1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101be57600080fd5b50610201600480360360208110156101d557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103f9565b005b34801561020f57600080fd5b50610218610574565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6102626105cc565b61027261026d610664565b610695565b565b61027c6106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102bd576102b8816106ec565b6102c6565b6102c561025a565b5b50565b6102d16106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103935761030d836106ec565b60008373ffffffffffffffffffffffffffffffffffffffff168383604051808383808284378083019250505092505050600060405180830381855af49150503d8060008114610378576040519150601f19603f3d011682016040523d82523d6000602084013e61037d565b606091505b5050905080151561038d57600080fd5b5061039c565b61039b61025a565b5b505050565b60006103ab6106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103ed576103e6610664565b90506103f6565b6103f561025a565b5b90565b6104016106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561056857600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141515156104bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806108416036913960400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6104e56106bb565b82604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a16105638161073b565b610571565b61057061025a565b5b50565b600061057e6106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156105c0576105b96106bb565b90506105c9565b6105c861025a565b5b90565b6105d46106bb565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415151561065a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603281526020018061080f6032913960400191505060405180910390fd5b61066261076a565b565b6000807f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c36001029050805491505090565b3660008037600080366000845af43d6000803e80600081146106b6573d6000f35b3d6000fd5b6000807f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b6001029050805491505090565b6106f58161076c565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b60007f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b60010290508181555050565b565b610775816107fb565b15156107cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610877603b913960400191505060405180910390fd5b60007f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360010290508181555050565b600080823b90506000811191505091905056fe43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e2066726f6d207468652070726f78792061646d696e43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a165627a7a72305820b6f16038090c753f0c6f1b3c6169e6efd0704d91ba6bb106c29b5fbd8aa554d70029

Deployed Bytecode Sourcemap

10478:888:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2025:11;:9;:11::i;:::-;10478:888;7685:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7685:105:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;7685:105:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;8318:225;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;8318:225:0;;;;;;;;;;;;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;8318:225:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;8318:225:0;;;;;;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;8318:225:0;;;;;;;;;;;;:::i;:::-;;6985:98;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6985:98:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;7266:228;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7266:228:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;7266:228:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;6836:80;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6836:80:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3571:93;3608:15;:13;:15::i;:::-;3630:28;3640:17;:15;:17::i;:::-;3630:9;:28::i;:::-;3571:93::o;7685:105::-;6703:8;:6;:8::i;:::-;6689:22;;:10;:22;;;6685:80;;;7755:29;7766:17;7755:10;:29::i;:::-;6685:80;;;6746:11;:9;:11::i;:::-;6685:80;7685:105;:::o;8318:225::-;6703:8;:6;:8::i;:::-;6689:22;;:10;:22;;;6685:80;;;8424:29;8435:17;8424:10;:29::i;:::-;8461:12;8478:17;:30;;8509:4;;8478:36;;;;;30:3:-1;22:6;14;1:33;57:3;49:6;45:16;35:26;;8478:36:0;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;8460:54:0;;;8529:7;8521:16;;;;;;;;6722:1;6685:80;;;6746:11;:9;:11::i;:::-;6685:80;8318:225;;;:::o;6985:98::-;7037:7;6703:8;:6;:8::i;:::-;6689:22;;:10;:22;;;6685:80;;;7060:17;:15;:17::i;:::-;7053:24;;6685:80;;;6746:11;:9;:11::i;:::-;6685:80;6985:98;:::o;7266:228::-;6703:8;:6;:8::i;:::-;6689:22;;:10;:22;;;6685:80;;;7357:1;7337:22;;:8;:22;;;;7329:89;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7430:32;7443:8;:6;:8::i;:::-;7453;7430:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7469:19;7479:8;7469:9;:19::i;:::-;6685:80;;;6746:11;:9;:11::i;:::-;6685:80;7266:228;:::o;6836:80::-;6879:7;6703:8;:6;:8::i;:::-;6689:22;;:10;:22;;;6685:80;;;6902:8;:6;:8::i;:::-;6895:15;;6685:80;;;6746:11;:9;:11::i;:::-;6685:80;6836;:::o;9075:160::-;9138:8;:6;:8::i;:::-;9124:22;;:10;:22;;;;9116:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9208:21;:19;:21::i;:::-;9075:160::o;4577:161::-;4627:12;4648;4391:66;4663:19;;4648:34;;4721:4;4715:11;4707:19;;4698:35;;:::o;2464:750::-;2771:12;2768:1;2765;2752:32;2965:1;2962;2948:12;2945:1;2929:14;2924:3;2911:56;3032:14;3029:1;3026;3011:36;3064:6;3126:1;3121:36;;;;3185:14;3182:1;3175:25;3121:36;3140:14;3137:1;3130:25;8593:141;8634:11;8654:12;6396:66;8669:10;;8654:25;;8717:4;8711:11;8704:18;;8695:34;;:::o;4879:145::-;4942:37;4961:17;4942:18;:37::i;:::-;5000:17;4991:27;;;;;;;;;;;;4879:145;:::o;8856:139::-;8909:12;6396:66;8924:10;;8909:25;;8974:8;8968:4;8961:22;8952:38;;:::o;3430:40::-;:::o;5167:299::-;5246:43;5271:17;5246:24;:43::i;:::-;5238:115;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5362:12;4391:66;5377:19;;5362:34;;5436:17;5430:4;5423:31;5414:47;;:::o;928:627::-;988:4;1005:12;1512:7;1500:20;1492:28;;1546:1;1539:4;:8;1532:15;;;928:627;;;:::o

Swarm Source

bzzr://b6f16038090c753f0c6f1b3c6169e6efd0704d91ba6bb106c29b5fbd8aa554d7

Block Transaction Gas Used Reward
view all blocks validated

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.

`; } let ensZeroWidthWarningHtml = ""; if ($("#hdnIsEnsContainZeroWidthChars").val() == "true") { ensZeroWidthWarningHtml = `
${zeroWidthWarningMessage} Check the actual text at ENS.
`; } const ensOnL2NoteHtml = ensOnL2Note != "" ? `
  • ${ensOnL2Note}
  • ` : ""; const contentHtml = `
    Additional Info
    Full Name:
    ${ensNameForkIconSrc}


    Note:
    • Name tag is displayed due to forward and reverse resolution. Find out more.
    • ${ensOnL2NoteHtml}
    ${ensUnicodeWarningHtml} ${ensZeroWidthWarningHtml}
    `; $('#ensName').popover({ html: true, content: contentHtml, trigger: 'manual', placement: 'right' }); $('#ensName').click(function (event) { $("#udName").popover('hide') $("#ensName").popover('toggle'); event.stopPropagation(); }); $('#ensName').on('shown.bs.popover', async () => { //disable tooltip when hovering over ens name in the main page $("[rel='tooltipEns']").each(function () { $(this).tooltip('hide'); $(this).tooltip('disable'); }); //call ajax here to get result if (!otherENSNamesHtml) { const resolvedAddressesModel = await getEnsResolvedAddress($("#hdnAddress").val(), primaryDomainNameLabel); otherENSNamesHtml = generateEnsPopoverGrid(resolvedAddressesModel.d); if (!otherENSNamesHtml) { otherENSNamesHtml = "There are no other names resolving to this address." } } $(".popOverEnsOwnedAddressTable").html(otherENSNamesHtml); $("#divENSDisplayName").html(ensDisplayName); // append more copy button for ENS let domainName = $("#hdnEnsText").val(); const copyEnsButtonHtml = ` `; $("#spanCopyENSAddress").html(copyEnsButtonHtml); $("[data-bs-toggle='tooltip']").tooltip(); }); $('#ensName').on('hidden.bs.popover', () => { $("[rel='tooltipEns']").each(function () { $(this).tooltip('enable'); }); }); $('#ensName').on('hide.bs.popover', () => { $("[data-bs-toggle='tooltip']").tooltip('hide'); }); $(document).click(function (e) { const popoverElement = document.getElementById('popover-ens-preview'); const popoverTrigger = document.getElementById('ensName'); if (!popoverTrigger.contains(e.target) && (!popoverElement || !popoverElement.contains(e.target))) { $("#ensName").popover('hide'); } }) } async function getEnsResolvedAddress(address, currentEnsText) { try { const requestModel = { "lookupAddress": address, "primaryDomainName": currentEnsText, "provider": ensNameProvider }; const response = await $.ajax({ url: "/name-lookup-search.aspx/GetOtherDomainNameForAddress", type: "POST", contentType: "application/json", dataType: "json", data: JSON.stringify({ requestModel: requestModel }) }) return response; } catch { return ""; } } function generateEnsPopoverGrid(model) { if (!model || model.DomainNames.length == 0) { return ""; } let listOtherENSNames = ""; model.DomainNames.forEach(x => listOtherENSNames += x.Name); let moreOtherENSNames = ""; if (model.Total > 5) { moreOtherENSNames = `More ` } const result = `
    Other names resolving to this address:
    ${listOtherENSNames} ${moreOtherENSNames}
    `; return result; } function removeSpecificDomain(url, domain) { return url.replace(new RegExp(domain + '$'), ''); } // ===== UD name tag const displayUDName = ''; const primaryUDName = ''; const showUDPublicNote = 'false'; let otherUDNamesHtml = ""; function initUDNamePopOver() { //required to allow bootstrap popover to support table $.fn.popover.Constructor.Default.allowList.table = []; $.fn.popover.Constructor.Default.allowList.tr = []; $.fn.popover.Constructor.Default.allowList.td = []; $.fn.popover.Constructor.Default.allowList.th = []; $.fn.popover.Constructor.Default.allowList.div = []; $.fn.popover.Constructor.Default.allowList.tbody = []; $.fn.popover.Constructor.Default.allowList.thead = []; //allowList my inline styling for bootstrap $.fn.popover.Constructor.Default.allowList['*'].push('style') let unicodeWarningHtml = ""; if ($("#hdnIsUDContainUnicodeChars").val() == "true") { unicodeWarningHtml = `
    ${unicodeWarningMessage} Check the actual text at Unstoppable Domains.
    `; } let zeroWidthWarningHtml = ""; if ($("#hdnIsUDContainZeroWidthChars").val() == "true") { zeroWidthWarningHtml = `
    ${unicodeWarningMessage} Check the actual text at Unstoppable Domains.
    `; } const contentHtml = `
    Additional Info
    Full Name:
    Unstoppable Domains Name


    Note:
    • Name tag is displayed due to forward and reverse resolution. Find out more
    ${unicodeWarningHtml} ${zeroWidthWarningHtml}
    `; $('#udName').popover({ html: true, content: contentHtml, trigger: 'manual' }); $('#udName').click(function (event) { $("#ensName").popover('hide'); $("#udName").popover('toggle'); event.stopPropagation(); }); $('#udName').on('shown.bs.popover', async () => { //disable tooltip when hovering over SID name in the main page $("[rel='tooltipUDName']").each(function () { $(this).tooltip('hide'); $(this).tooltip('disable'); }); //call ajax here to get result if (!otherUDNamesHtml) { const resolvedAddressesModel = await getUDNamesResolvedAddress($("#hdnAddress").val(), primaryUDName); //format the ajax to otherUDNamesHtml otherUDNamesHtml = generateUDPopoverGrid(resolvedAddressesModel.d); if (!otherUDNamesHtml) { otherUDNamesHtml = "There are no other names resolving to this address." } } $(".popoverUDNamesOwnedByAddress").html(otherUDNamesHtml); $("#divDisplayUDName").html(displayUDName); if (showUDPublicNote == true) { $("#noteUD").html('The Unstoppable Domains NFT is minted on the Ethereum blockchain. View and verify its details on Etherscan.'); $("#noteUD").show(); } $("[data-bs-toggle='tooltip']").tooltip(); }); $('#udName').on('hidden.bs.popover', () => { $("[rel='tooltipUDName']").each(function () { $(this).tooltip('enable'); }); }); $('#udName').on('hide.bs.popover', () => { $("[data-bs-toggle='tooltip']").tooltip('hide'); }); // Hide Unstoppable Domains Name popover when click outside the popover popup. $(document).click(function () { $("#udName").popover('hide') }); } async function getUDNamesResolvedAddress(address, primaryUDName) { try { const requestModel = { "lookupAddress": address, "primaryDomainName": primaryUDName, "provider": "UD" }; const response = await $.ajax({ url: "/name-lookup-search.aspx/GetOtherDomainNameForAddress", type: "POST", contentType: "application/json", dataType: "json", data: JSON.stringify({ requestModel: requestModel }) }) return response; } catch { return ""; } } function generateUDPopoverGrid(model) { if (!model || model.DomainNames.length == 0) { return ""; } let listOtherUDNames = ""; model.DomainNames.forEach(x => listOtherUDNames += x.Name); let moreOtherUDNames = ""; if (model.Total > 5) { moreOtherUDNames = `More `; } const result = `
    Other names resolving to this address:
    ${listOtherUDNames} ${moreOtherUDNames}
    `; return result; } // ===== end UD name tag const tooltipForTokenHolding = '15 Token Contracts'; var adjustPosition = 0; $(document).ready(function () { switchAmountToValue(document.getElementById("headerAmountValue"), 'Value (USD)', 'Amount', true); switchAmountToValue(document.getElementById("headerIntAmountValue"), 'Value (USD)', 'Amount', true); switchMethodColumn(document.getElementById("headerMethod"), 'Method', 'Action', true); onDocumentReady(); $("[rel='tooltip']").tooltip(); $("[data-bs-toggle-second='tooltip']").tooltip({ trigger: 'hover' }); $("[rel='tooltipEns']").each(function () { $(this).tooltip({ title: $(this).attr("tooltip-title") }); }); if (hash != '') { activaTab(hash); }; onAddressDocReady(); // Note: this is causing "Copied" tooltip not showing when copy button is clicked in V3, and seems like not applicable to v3, comment out first in case there is issue //$('[data-bs-toggle="tooltip"]').click(function () { // $('[data-bs-toggle="tooltip"]').tooltip("hide"); //}); document.getElementById("copyaddressbutton").classList.remove("disabled"); if ($("#txtSearchContract").length) { initialiseKeyupOnDocReady(); } if (!!$('#ensName')[0]) { initEnsNamePopOver(); } if (!!$("#udName")[0]) { initUDNamePopOver(); } handleToggle(); if (window.matchMedia("(max-width: 767px)").matches) { // Mobile adjustPosition = 90; } else { // Others adjustPosition = 50; } if (tooltipForTokenHolding) { const dropdownMenuBalance = document.getElementById("dropdownMenuBalance"); if (dropdownMenuBalance) { const dropdownWrapper = dropdownMenuBalance.closest(".dropdown"); if (dropdownWrapper) { dropdownWrapper.setAttribute("title", tooltipForTokenHolding); new bootstrap.Tooltip(dropdownWrapper); } } } }); function displayAudit() { $('html, body').animate({ scrollTop: $("#auditReportId").offset().top - adjustPosition }); } var cThemeMode = getCookie('displaymode'); function handleToggle() { var className = document.getElementsByClassName('editor'); var classNameCount = className.length; for (var j = 0; j t.innerWidth()) { if (mb + d > tb) { t.css('padding-bottom', ((mb + d) - tb)); } } else { t.css('overflow', 'visible'); } }).on('hidden.bs.dropdown', function () { $(this).css({ 'padding-bottom': '', 'overflow': '' }); }); var btn_ERC20_sort = { count: 0, reminder_count: 2, list: [], default_list: [], ERC20_sort_start: function (count) { if (document.getElementsByClassName('list-custom-divider-ERC20')[0]) { var self = this if (count != undefined) { self.count = count } var before_el = document.getElementsByClassName('list-custom-divider-ERC20')[0] var parent_el = before_el.parentNode var element_selector = parent_el.querySelectorAll(".list-custom-ERC20"); if (self.list.length == 0) { element_selector.forEach(function (e) { self.list.push(e); self.default_list.push(e); }); } $(".list-custom-ERC20").remove() var type = self.count % self.reminder_count self.sortList(type, parent_el, before_el); self.count++ } }, sortList: function (type, parent_el, before_el) { var self = this var sorted_list = [] var icon_el = $(before_el).find('button').find('i') switch (type) { case 1: icon_el.attr("class", "fad fa-sort-up") sorted_list = self.sortUsdAsc() break; default: icon_el.attr("class", "fad fa-sort-down") sorted_list = self.sortUsdDesc() } for (var i = sorted_list.length - 1; i >= 0; i--) { before_el.insertAdjacentElement('afterend', sorted_list[i]) } }, sortUsdAsc: function () { var self = this var sort_list = self.list sort_list.sort(function (a, b) { var target_a_value = self.formatCurrencyToNumber(a.querySelector('.list-usd-value').textContent.trim() || -1); var target_b_value = self.formatCurrencyToNumber(b.querySelector('.list-usd-value').textContent.trim() || -1); if (target_a_value == -1 || target_b_value == -1) { return 1; } if (target_a_value target_b_value) { return 1; } return 0 }); return sort_list }, sortUsdDesc: function () { var self = this var sort_list = self.list sort_list.sort(function (a, b) { var target_a_value = self.formatCurrencyToNumber(a.querySelector('.list-usd-value').textContent.trim() || -1); var target_b_value = self.formatCurrencyToNumber(b.querySelector('.list-usd-value').textContent.trim() || -1); if (target_a_value target_b_value) { return -1; } return 0 }); return sort_list }, formatCurrencyToNumber: function (strCurrency) { if (typeof strCurrency == "number") return strCurrency else return Number(strCurrency.replace(/[^0-9.-]+/g, "")); }, } function hrefTokenHolding() { var location = "/tokenholdings?a=0x90d280b6456f8233e115e6aabb2ca89249dafd39" var queryString = $("input.form-control.form-control-xs.search.mb-3")[0].value if (queryString) { location += "&q=" + queryString } window.location.href = location } $(document).ready(function () { $("#btn_ERC20_sort").on("click", function (event) { event.preventDefault(); setTimeout(function () { btn_ERC20_sort.ERC20_sort_start() }, 10) }) btn_ERC20_sort.ERC20_sort_start() var mainAddress = $("#hdnAddress").val(); // user search for method filters var searchFuncTimeOut; $("#ContentPlaceHolder1_inputMethodName").on("keyup", function ($event) { if (searchFuncTimeOut) { clearTimeout(searchFuncTimeOut) } var searchTerm = $(this).val(); searchFuncTimeOut = setTimeout(function () { searchFunctions(searchTerm); }, 350); }); var isSearchFunctions = false; $("#dropdownMethod").on("click", function (e) { if (isSearchFunctions === false) { searchFunctions(''); isSearchFunctions = true; } }); const litDefaultMethodFilterHtml = ''; function searchFunctions(searchTerm) { if (searchTerm === '' || searchTerm.length > 3) { const curPath = encodeURIComponent(window.location.search); $.ajax({ type: 'Get', url: `/functionSearchHandler.ashx?ca=${mainAddress}&func=${searchTerm ?? ''}&curPath=${curPath}`, success: function (response) { $("#searchFunctionResult").html(''); if (response && response.length > 0) { for (var i = 0; i ${response[i].name} ${response[i].methodId} ` ); } $("[data-bs-toggle='tooltip']").tooltip(); } else { $("#searchFunctionResult").append( `` ); } $("#inputMethodSpinner").hide(); }, error: function (XMLHttpRequest, textStatus, errorThrown) { $("#searchFunctionResult").html(''); $("#inputMethodSpinner").hide(); } }); } else { $("#inputMethodSpinner").hide(); $("#searchFunctionResult").html(litDefaultMethodFilterHtml); } } // Resize window for analytic tab let isBusy = false; $(window).resize(function () { isBusy = true; if (isBusy) { let analyticFrame = document.getElementById('analytics_pageiframe'); if (analyticFrame && analyticFrame.contentWindow != undefined) { let navtab = analyticFrame.contentWindow.document.getElementsByClassName("nav_tabs1"); let hIframe = "0px"; if (navtab != null && navtab != undefined && navtab.length > 0) { let navH = Number(navtab[0].scrollHeight); hIframe = (Number(analyticFrame.contentWindow.document.getElementsByClassName("tab-content")[0].scrollHeight) + navH + 20) + 'px'; } else { hIframe = analyticFrame.contentWindow.document.body.scrollHeight + 'px'; } analyticFrame.style.height = hIframe } } }); // detect tooltip for token holding dropdown if ($(".addresses-tooltip-over").length > 0) { if (!isMobile()) { $(".addresses-tooltip-over").attr("data-bs-trigger", "hover"); let tooltip = bootstrap.Tooltip.getInstance(".addresses-tooltip-over"); if (tooltip !== null) { tooltip.dispose(); tooltip = new bootstrap.Tooltip($(".addresses-tooltip-over")); tooltip._config.trigger = 'hover'; tooltip.update(); } } } // Quick export transaction csv const quickExportCsvData = '[{"Txhash":"0x4ccb56e19b5e146bfa35ab33d89fdbdf4890522a2fd7884f6f24ab8cc56c8a33","Status":"Success","Method":"Transfer","Blockno":"44697762","DateTime":"2026-02-15 19:52:00","Sender":"0x39665e55950661c82f67e1FC0C9dC82A63314b16","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00026273"},{"Txhash":"0x6c3a683c370b063868f861dafa0365d200d8ad6876688201cdbbb68ba60b8d94","Status":"Success","Method":"Approve","Blockno":"44678124","DateTime":"2026-02-14 15:45:50","Sender":"0x94Ccd7B44629C7a32Be8e85646Dd673F3e1d8B8A","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0"},{"Txhash":"0xcbef2482086c4c456222ae3bc1df4a396a9686c3e1f32981fc53a47dfa3071d4","Status":"Success","Method":"Approve","Blockno":"44668393","DateTime":"2026-02-14 01:51:30","Sender":"0x94Ccd7B44629C7a32Be8e85646Dd673F3e1d8B8A","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0"},{"Txhash":"0x5179adcb2137653ae7fe8dc9483101e64fddffd0ad95dc15d0e38571c56bb72d","Status":"Success","Method":"Transfer","Blockno":"44668126","DateTime":"2026-02-14 01:28:55","Sender":"0xb576a35BEd3132d8844830F1160D57c7F079567C","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00000003"},{"Txhash":"0x0c467360fa91d6fa749ddbd4834c144c1bd96a8ffce361947d480ff8a8aeee8a","Status":"Success","Method":"Transfer","Blockno":"44655235","DateTime":"2026-02-13 07:00:20","Sender":"0xE4309aF94e4B04414C59F068654102bb69cF9d54","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00000001"},{"Txhash":"0x3b723ce183de7d285ca934f8fdc861a04e63000d1d047081df97f58cdf0f57d8","Status":"Success","Method":"Approve","Blockno":"44643954","DateTime":"2026-02-12 14:57:20","Sender":"0xc147895Ad84dBE01A2fffd0CC8d967f9973ef991","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00013297"},{"Txhash":"0x1af0103a01316bc14bad694c18ed0b00b07d124b8063ad9216035964797a2bf2","Status":"Error in Main Txn : Reverted","Method":"Transfer","Blockno":"44628699","DateTime":"2026-02-11 17:12:00","Sender":"0x93fdCe6725f6997c88baD198b656457373f6F5bC","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00016895"},{"Txhash":"0x842cd9c9642b6118b482bf44cbb2ffaebf2f15d65c0bde00e8e88a8ad5f89078","Status":"Success","Method":"Transfer","Blockno":"44628678","DateTime":"2026-02-11 17:10:15","Sender":"0x93fdCe6725f6997c88baD198b656457373f6F5bC","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00019223"},{"Txhash":"0xc1583a435f00335e408d5427cacf5dcd804a1469a0b63f98896d0c626f470c96","Status":"Success","Method":"Approve","Blockno":"44628073","DateTime":"2026-02-11 16:18:25","Sender":"0x39665e55950661c82f67e1FC0C9dC82A63314b16","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00006647"},{"Txhash":"0x424e1a9f4ed85ccc4f25de015c6c255cbaf81c1d65a9386c49a51bd6d3bed7ad","Status":"Success","Method":"Approve","Blockno":"44627973","DateTime":"2026-02-11 16:10:00","Sender":"0xF2325289c257139d5ad0E1529A391BaaC2B91e39","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0"},{"Txhash":"0x1b9feeb23001044905a019c850f2f5b3c8ee2c65392508034769308df859c4e3","Status":"Success","Method":"Transfer","Blockno":"44609775","DateTime":"2026-02-10 13:56:00","Sender":"0x207090F199dBa5878954b8DDB8A3C798696e6cf1","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0"},{"Txhash":"0x4129d6b6960e49e531fff2eb891391f9955af3f06d11f2b56068c9ee2a5109d9","Status":"Success","Method":"Transfer","Blockno":"44574778","DateTime":"2026-02-08 12:21:50","Sender":"0x480858dcFaC911d191B413a5214252B7388C5725","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00017909"},{"Txhash":"0x8bb2ed9202e4683d9916ec0fa8c6e6be8af9c81fefe41b9e776b523903dffe42","Status":"Success","Method":"Approve","Blockno":"44562705","DateTime":"2026-02-07 19:17:30","Sender":"0x54EA93e206940A45c2734EbEb0b7B359B4DB3086","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00006648"},{"Txhash":"0x3b116a29fea1503e19c3b8beac526fd75f3c535107c8d37787dc0439889cf713","Status":"Success","Method":"Transfer","Blockno":"44561195","DateTime":"2026-02-07 17:09:10","Sender":"0x761C884227614bE24b7bdd1A830aB7eA890Df824","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00000001"},{"Txhash":"0xc2db7eb362f313d045a2b386a0b302256c264d530ff6a5771eebb34200116ade","Status":"Success","Method":"Transfer","Blockno":"44539801","DateTime":"2026-02-06 10:59:55","Sender":"0xA3D5C5399C732f78cb4c52597718e5B0c9De3163","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00000004"},{"Txhash":"0x31ac80031f2c3f7fcfe849ee36756d937ea2b4347f5a8af39634d496876af1ba","Status":"Success","Method":"Transfer","Blockno":"44532678","DateTime":"2026-02-06 00:53:50","Sender":"0x01832E13a98f2c03D3b6568b97f734A163a80B6B","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00000312"},{"Txhash":"0x45af8a250f9a92cf31769fbf15a1782f1f2188923347c7c19863039f9a18a129","Status":"Success","Method":"Approve","Blockno":"44495614","DateTime":"2026-02-03 20:32:25","Sender":"0x5dD79d3C12ec591Ea92e85576C586B70f253C854","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00007313"},{"Txhash":"0x352f869b0e8aac25b52a833aa28c8d85b8c2a15b76527b8a30ccf501e412c8a7","Status":"Success","Method":"Approve","Blockno":"44493315","DateTime":"2026-02-03 17:16:00","Sender":"0x7595f0BD9cdC1a1e5cA2E468FC15F3ac30A88Dc1","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00016621"},{"Txhash":"0x25c95da075267477ec2a594bb5e791d9531974c7effe8702055188da470b8b66","Status":"Success","Method":"Transfer","Blockno":"44492806","DateTime":"2026-02-03 16:32:45","Sender":"0xc3F28Cf2DBb377892B496783597EC4D9512F10d6","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00000001"},{"Txhash":"0x5c71ff489598e9e6e09a2b48ecd92b40d69e3ac06de80336e2841d0e28d90f74","Status":"Success","Method":"Approve","Blockno":"44480209","DateTime":"2026-02-02 22:42:25","Sender":"0x139F072f45Ab95A3668090145e24F2385ac0cBB9","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00016621"},{"Txhash":"0x22c6a2da8adb14b8f765e0d5462f264501049ae623a8b7e88bf4da2b93a05ce5","Status":"Success","Method":"Transfer","Blockno":"44476930","DateTime":"2026-02-02 18:02:55","Sender":"0x47f10d0cAc648Be2F45704ab06CCC3228556F9dD","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00026864"},{"Txhash":"0x6999e25650c5390d19e2757ed518127be2a1eb209c43bc257b0f8cf9a3847372","Status":"Success","Method":"Transfer","Blockno":"44475470","DateTime":"2026-02-02 15:58:25","Sender":"0x825bACb7FAB158F4aa5C44208a2c29d1DFeb4A43","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00026864"},{"Txhash":"0x041b5bea94bd0db051a2f686ab4b56c9550615d8c2285958cb8e9cf2a73134af","Status":"Success","Method":"Transfer","Blockno":"44471399","DateTime":"2026-02-02 10:11:30","Sender":"0xd7234C21D64eBE7b851FcE64A833fC9Fa744C1bD","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0.00000001"},{"Txhash":"0x96eaa064575b790c95fd3000ac4d6378bab4578c58f03485d7f345bb16e8c980","Status":"Success","Method":"Transfer","Blockno":"44461224","DateTime":"2026-02-01 19:36:50","Sender":"0xc1b48E7d97B088dC8D41240590F08622DC2e1e16","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0"},{"Txhash":"0x00de5fef62731dce0f45c7de91db3ed7b77ae2df80128b701ff8f72915cf6214","Status":"Success","Method":"Approve","Blockno":"44446786","DateTime":"2026-01-31 22:58:00","Sender":"0xe8C5EfEe63679eCb709EC9140445526b15cC0106","SenderLable":null,"Receiver":"0x90D280b6456F8233e115e6aABb2CA89249DAfD39","ReceiverLable":null,"Amount":"0 XDAI","Value":"$0.00","TxnFee":"0"}]'; const quickExportCsvTitle = 'Transaction Hash,Status,Method,Blockno,"DateTime (UTC)",From,From_Nametag,To,To_Nametag,Amount,Value (USD),Txn Fee'; let isExportFinish = true; if ($("#btnExportQuickTableToCSV").length > 0 && quickExportCsvData) { $("#btnExportQuickTableToCSV").click(function () { if (isExportFinish == true) { isExportFinish = false; $("#btnExportQuickTableToCSV").append(''); let lstTxsObj = JSON.parse(quickExportCsvData); if (lstTxsObj.length > 0) { let csvRows = []; csvRows.push(quickExportCsvTitle.replace(/"/g, "")); for (let i = 0; i 0 && quickExportInternalTxsData) { $("#ContentPlaceHolder1_btnQuickExportInternalTxs").click(function () { if (isExportFinish == true) { isExportFinish = false; $("#ContentPlaceHolder1_btnQuickExportInternalTxs").append(''); let lstTxsObj = JSON.parse(quickExportInternalTxsData); if (lstTxsObj.length > 0) { let csvRows = []; csvRows.push(quickExportInternalTxsTitle.replace(/"/g, "")); for (let i = 0; i { if (x.startsWith("F")) { file = x.replace("F", ""); } else if (x.startsWith("L")) { line = x.replace("L", ""); } }) var editorId = "editor" + file var editorElem = $("#" + editorId); if (!editorElem.length) { return; } if (!line) { return; } var editor = ace.edit(editorId); editor.resize(true); editor.scrollToLine(line, true, true, function () { }); editor.gotoLine(line); var Range = ace.require('ace/range').Range $(document).scrollTop($("#" + editorId).offset().top - 95); //document.getElementById(editorId).scrollIntoView(); editor.session.addMarker(new Range(line - 1, 0, line - 1, 1), "myMarker", "fullLine"); //window.onbeforeunload = function () { $(document).scrollTop($("#" + editorId).offset().top); }; } setTimeout(function () { editorGoToLine(); }, 500); }); $("body,html").click(function (evt) { let elm = $(evt.target).attr("id"); let isClickedMode = elm === "darkModaBtn" || elm === "darkModaBtnIcon"; if (isClickedMode) { let isClickedSunMode = false; let clrBorder = "#112641"; if (elm === "darkModaBtn") isClickedSunMode = $(evt.target).find("#darkModaBtnIcon").hasClass("fa-moon"); if (elm === "darkModaBtnIcon") isClickedSunMode = $(evt.target).hasClass("fa-moon"); if (isClickedSunMode) { clrBorder = "#fff"; } let iframes = document.getElementById('analytics_pageiframe'); let heatcell = iframes.contentWindow.document.getElementsByClassName("ch-day").length; for (let i = 0; i