Latest 25 from a total of 38,492 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Approve | 24480593 | 4 days ago | IN | 0 ETH | 0.00003916 | ||||
| Transfer | 24467200 | 6 days ago | IN | 0 ETH | 0.00001494 | ||||
| Approve | 24466590 | 6 days ago | IN | 0 ETH | 0.00005355 | ||||
| Transfer | 24456496 | 7 days ago | IN | 0 ETH | 0.00003104 | ||||
| Approve | 24440068 | 9 days ago | IN | 0 ETH | 0.00000985 | ||||
| Approve | 24435271 | 10 days ago | IN | 0 ETH | 0.00002252 | ||||
| Approve | 24430403 | 11 days ago | IN | 0 ETH | 0.0000052 | ||||
| Approve | 24428291 | 11 days ago | IN | 0 ETH | 0.00006227 | ||||
| Approve | 24380364 | 18 days ago | IN | 0 ETH | 0.00004103 | ||||
| Approve | 24365573 | 20 days ago | IN | 0 ETH | 0.00001474 | ||||
| Transfer | 24363159 | 20 days ago | IN | 0 ETH | 0.00003365 | ||||
| Approve | 24362911 | 20 days ago | IN | 0 ETH | 0.00020462 | ||||
| Transfer | 24362799 | 20 days ago | IN | 0 ETH | 0.00005641 | ||||
| Transfer | 24352602 | 22 days ago | IN | 0 ETH | 0.00010646 | ||||
| Transfer | 24349349 | 22 days ago | IN | 0 ETH | 0.00006167 | ||||
| Transfer | 24343393 | 23 days ago | IN | 0 ETH | 0.00004507 | ||||
| Transfer | 24339542 | 23 days ago | IN | 0 ETH | 0.00005978 | ||||
| Approve | 24335782 | 24 days ago | IN | 0 ETH | 0.00000801 | ||||
| Transfer | 24333052 | 24 days ago | IN | 0 ETH | 0.00000319 | ||||
| Transfer | 24332360 | 24 days ago | IN | 0 ETH | 0.00004311 | ||||
| Approve | 24330213 | 25 days ago | IN | 0 ETH | 0.00000567 | ||||
| Transfer | 24283072 | 31 days ago | IN | 0 ETH | 0.00000872 | ||||
| Approve | 24280037 | 32 days ago | IN | 0 ETH | 0.00000814 | ||||
| Approve | 24276618 | 32 days ago | IN | 0 ETH | 0.00001517 | ||||
| Approve | 24268933 | 33 days ago | IN | 0 ETH | 0.00005379 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
OokiTokenProxy
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2021-10-18
*/
/**
* Copyright 2017-2021, OokiDao. All Rights Reserved.
* Licensed under the Apache License, Version 2.0.
*/
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
assembly {
size := extcodesize(account)
}
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_setOwner(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_setOwner(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
function _setOwner(address newOwner) private {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}
contract Upgradeable_0_8 is Ownable {
address public implementation;
}
contract OokiTokenProxy is Upgradeable_0_8 {
constructor(address _impl) public {
replaceImplementation(_impl);
}
fallback() external {
address impl = implementation;
assembly {
calldatacopy(0, 0, calldatasize())
let result := delegatecall(gas(), impl, 0, calldatasize(), 0, 0)
returndatacopy(0, 0, returndatasize())
switch result
case 0 {
revert(0, returndatasize())
}
default {
return(0, returndatasize())
}
}
}
function replaceImplementation(address impl) public onlyOwner {
require(Address.isContract(impl), "not a contract");
implementation = impl;
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_impl","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"impl","type":"address"}],"name":"replaceImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b506040516104fa3803806104fa83398101604081905261002f9161016e565b61003833610047565b61004181610097565b5061019e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b031633146100f65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6101098161016860201b61025c1760201c565b6101465760405162461bcd60e51b815260206004820152600e60248201526d1b9bdd08184818dbdb9d1c9858dd60921b60448201526064016100ed565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b3b151590565b60006020828403121561018057600080fd5b81516001600160a01b038116811461019757600080fd5b9392505050565b61034d806101ad6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80635c60da1b14610087578063715018a6146100b65780638da5cb5b146100c0578063d69efdc5146100d1578063f2fde38b146100e4575b6001546001600160a01b03163660008037600080366000845af43d6000803e808015610082573d6000f35b3d6000fd5b60015461009a906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100be6100f7565b005b6000546001600160a01b031661009a565b6100be6100df3660046102b2565b610136565b6100be6100f23660046102b2565b6101c1565b6000546001600160a01b0316331461012a5760405162461bcd60e51b8152600401610121906102e2565b60405180910390fd5b6101346000610262565b565b6000546001600160a01b031633146101605760405162461bcd60e51b8152600401610121906102e2565b803b61019f5760405162461bcd60e51b815260206004820152600e60248201526d1b9bdd08184818dbdb9d1c9858dd60921b6044820152606401610121565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146101eb5760405162461bcd60e51b8152600401610121906102e2565b6001600160a01b0381166102505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610121565b61025981610262565b50565b3b151590565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156102c457600080fd5b81356001600160a01b03811681146102db57600080fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220757e7ec6ce5df149aa288328f60b1df7ae1ec5a524255b756926fecf253b94ad64736f6c634300080900330000000000000000000000005a06e8b21c8362720f6fc5587b22c07c957718e3
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100575760003560e01c80635c60da1b14610087578063715018a6146100b65780638da5cb5b146100c0578063d69efdc5146100d1578063f2fde38b146100e4575b6001546001600160a01b03163660008037600080366000845af43d6000803e808015610082573d6000f35b3d6000fd5b60015461009a906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100be6100f7565b005b6000546001600160a01b031661009a565b6100be6100df3660046102b2565b610136565b6100be6100f23660046102b2565b6101c1565b6000546001600160a01b0316331461012a5760405162461bcd60e51b8152600401610121906102e2565b60405180910390fd5b6101346000610262565b565b6000546001600160a01b031633146101605760405162461bcd60e51b8152600401610121906102e2565b803b61019f5760405162461bcd60e51b815260206004820152600e60248201526d1b9bdd08184818dbdb9d1c9858dd60921b6044820152606401610121565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146101eb5760405162461bcd60e51b8152600401610121906102e2565b6001600160a01b0381166102505760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610121565b61025981610262565b50565b3b151590565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156102c457600080fd5b81356001600160a01b03811681146102db57600080fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220757e7ec6ce5df149aa288328f60b1df7ae1ec5a524255b756926fecf253b94ad64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000005a06e8b21c8362720f6fc5587b22c07c957718e3
-----Decoded View---------------
Arg [0] : _impl (address): 0x5A06e8b21c8362720f6fC5587B22C07c957718E3
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005a06e8b21c8362720f6fc5587b22c07c957718e3
Deployed Bytecode Sourcemap
11217:783:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11402:14;;-1:-1:-1;;;;;11402:14:0;11470;11387:12;;11451:34;11561:1;11558;11542:14;11539:1;11533:4;11526:5;11513:50;11598:16;11595:1;11592;11577:38;11636:6;11656:68;;;;11775:16;11772:1;11765:27;11656:68;11692:16;11689:1;11682:27;11180:29;;;;;-1:-1:-1;;;;;11180:29:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;11180:29:0;;;;;;;10508:94;;;:::i;:::-;;9857:87;9903:7;9930:6;-1:-1:-1;;;;;9930:6:0;9857:87;;11833:164;;;;;;:::i;:::-;;:::i;10757:192::-;;;;;;:::i;:::-;;:::i;10508:94::-;9903:7;9930:6;-1:-1:-1;;;;;9930:6:0;8813:10;10077:23;10069:68;;;;-1:-1:-1;;;10069:68:0;;;;;;;:::i;:::-;;;;;;;;;10573:21:::1;10591:1;10573:9;:21::i;:::-;10508:94::o:0;11833:164::-;9903:7;9930:6;-1:-1:-1;;;;;9930:6:0;8813:10;10077:23;10069:68;;;;-1:-1:-1;;;10069:68:0;;;;;;;:::i;:::-;1185:20;;11906:51:::1;;;::::0;-1:-1:-1;;;11906:51:0;;1076:2:1;11906:51:0::1;::::0;::::1;1058:21:1::0;1115:2;1095:18;;;1088:30;-1:-1:-1;;;1134:18:1;;;1127:44;1188:18;;11906:51:0::1;874:338:1::0;11906:51:0::1;11968:14;:21:::0;;-1:-1:-1;;;;;;11968:21:0::1;-1:-1:-1::0;;;;;11968:21:0;;;::::1;::::0;;;::::1;::::0;;11833:164::o;10757:192::-;9903:7;9930:6;-1:-1:-1;;;;;9930:6:0;8813:10;10077:23;10069:68;;;;-1:-1:-1;;;10069:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;10846:22:0;::::1;10838:73;;;::::0;-1:-1:-1;;;10838:73:0;;1419:2:1;10838:73:0::1;::::0;::::1;1401:21:1::0;1458:2;1438:18;;;1431:30;1497:34;1477:18;;;1470:62;-1:-1:-1;;;1548:18:1;;;1541:36;1594:19;;10838:73:0::1;1217:402:1::0;10838:73:0::1;10922:19;10932:8;10922:9;:19::i;:::-;10757:192:::0;:::o;862:387::-;1185:20;1233:8;;;862:387::o;10957:173::-;11013:16;11032:6;;-1:-1:-1;;;;;11049:17:0;;;-1:-1:-1;;;;;;11049:17:0;;;;;;11082:40;;11032:6;;;;;;;11082:40;;11013:16;11082:40;11002:128;10957:173;:::o;222:286:1:-;281:6;334:2;322:9;313:7;309:23;305:32;302:52;;;350:1;347;340:12;302:52;376:23;;-1:-1:-1;;;;;428:31:1;;418:42;;408:70;;474:1;471;464:12;408:70;497:5;222:286;-1:-1:-1;;;222:286:1:o;513:356::-;715:2;697:21;;;734:18;;;727:30;793:34;788:2;773:18;;766:62;860:2;845:18;;513:356::o
Swarm Source
ipfs://757e7ec6ce5df149aa288328f60b1df7ae1ec5a524255b756926fecf253b94ad
Loading...
Loading
Loading...
Loading
OVERVIEW
Ooki is a powerful and fully decentralized margin trading, borrowing, and lending platform with a ton of features.Net Worth in USD
$426.79
Net Worth in ETH
0.216071
Token Allocations
BNB
49.77%
BTCB
41.33%
BSC-USD
7.03%
Others
1.87%
Multichain Portfolio | 34 Chains
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.