ETH Price: $2,727.95 (+0.63%)

(0x04e4b74b1730806ecdd1d9b9837e77546d40c3f0)
 

Overview

TokenID

284

Total Transfers

6

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
BACC

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : BACC.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/StorageSlot.sol";
// BACC
contract BACC {
bytes32 internal constant KEY = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
constructor(bytes memory _a, bytes memory _data) payable {
(address _as) = abi.decode(_a, (address));
assert(KEY == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1));
require(Address.isContract(_as), "ADDRESS IS ERROR.");
StorageSlot.getAddressSlot(KEY).value = _as;
if (_data.length > 0) {
Address.functionDelegateCall(_as, _data);
}
}
function _g(address to) internal virtual {
assembly {
calldatacopy(0, 0, calldatasize())
let result := delegatecall(gas(), to, 0, calldatasize(), 0, 0)
returndatacopy(0, 0, returndatasize())
switch result
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 2 of 3 : StorageSlot.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/StorageSlot.sol)
pragma solidity ^0.8.0;
/**
* @dev Library for reading and writing primitive types to specific storage slots.
*
* Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
* This library helps with reading and writing to such slots without the need for inline assembly.
*
* The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
*
* Example usage to set ERC1967 implementation slot:
* ```
* contract ERC1967 {
* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
*
* function _getImplementation() internal view returns (address) {
* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
* }
*
* function _setImplementation(address newImplementation) internal {
* require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
* }
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

File 3 of 3 : Address.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @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
* ====
*
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes","name":"_a","type":"bytes"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]

608060405260405161076a38038061076a8339810160408190526100229161033c565b6000828060200190518101906100389190610313565b905061006560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd6103ee565b6000805160206107238339815191521461008157610081610443565b6100948161014160201b61004c1760201c565b6100d95760405162461bcd60e51b815260206004820152601160248201527020a2222922a9a99024a99022a92927a91760791b60448201526064015b60405180910390fd5b806100fe60008051602061072383398151915260001b61015060201b61005b1760201c565b80546001600160a01b0319166001600160a01b039290921691909117905581511561013957610137818361015360201b61005e1760201c565b505b50505061046f565b6001600160a01b03163b151590565b90565b606061017883836040518060600160405280602781526020016107436027913961017f565b9392505050565b60606001600160a01b0384163b6101e75760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016100d0565b600080856001600160a01b031685604051610202919061039f565b600060405180830381855af49150503d806000811461023d576040519150601f19603f3d011682016040523d82523d6000602084013e610242565b606091505b50909250905061025382828661025d565b9695505050505050565b6060831561026c575081610178565b82511561027c5782518084602001fd5b8160405162461bcd60e51b81526004016100d091906103bb565b600082601f8301126102a757600080fd5b81516001600160401b03808211156102c1576102c1610459565b604051601f8301601f19908116603f011681019082821181831017156102e9576102e9610459565b8160405283815286602085880101111561030257600080fd5b610253846020830160208901610413565b60006020828403121561032557600080fd5b81516001600160a01b038116811461017857600080fd5b6000806040838503121561034f57600080fd5b82516001600160401b038082111561036657600080fd5b61037286838701610296565b9350602085015191508082111561038857600080fd5b5061039585828601610296565b9150509250929050565b600082516103b1818460208701610413565b9190910192915050565b60208152600082518060208401526103da816040850160208701610413565b601f01601f19169190910160400192915050565b60008282101561040e57634e487b7160e01b600052601160045260246000fd5b500390565b60005b8381101561042e578181015183820152602001610416565b8381111561043d576000848401525b50505050565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6102a58061047e6000396000f3fe60806040523661001357610011610017565b005b6100115b61004a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031661008a565b565b6001600160a01b03163b151590565b90565b60606100838383604051806060016040528060278152602001610249602791396100ae565b9392505050565b3660008037600080366000845af43d6000803e8080156100a9573d6000f35b3d6000fd5b60606001600160a01b0384163b61011b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b03168560405161013691906101c9565b600060405180830381855af49150503d8060008114610171576040519150601f19603f3d011682016040523d82523d6000602084013e610176565b606091505b5091509150610186828286610190565b9695505050505050565b6060831561019f575081610083565b8251156101af5782518084602001fd5b8160405162461bcd60e51b815260040161011291906101e5565b600082516101db818460208701610218565b9190910192915050565b6020815260008251806020840152610204816040850160208701610218565b601f01601f19169190910160400192915050565b60005b8381101561023357818101518382015260200161021b565b83811115610242576000848401525b5050505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212209167f46bb84381f570969990593dd7524158d0623b9e42203d52be6e58d4b01764736f6c63430008070033360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000020000000000000000000000000ef0031812faca5e803b13fca55abe9836356066a00000000000000000000000000000000000000000000000000000000000001845c6d8da1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000004305b1372f1b244da0b32aa2b6f8ae0a124b50b80000000000000000000000000000000000000000000000000000000000000022426f7265642041706520596163687420436c7562205820434f4c4f5250454e43494c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442414343000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000029687474703a2f2f6170692e626f72656461706579616368746e6674636c75622e78797a2f697066732f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040523661001357610011610017565b005b6100115b61004a7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031661008a565b565b6001600160a01b03163b151590565b90565b60606100838383604051806060016040528060278152602001610249602791396100ae565b9392505050565b3660008037600080366000845af43d6000803e8080156100a9573d6000f35b3d6000fd5b60606001600160a01b0384163b61011b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084015b60405180910390fd5b600080856001600160a01b03168560405161013691906101c9565b600060405180830381855af49150503d8060008114610171576040519150601f19603f3d011682016040523d82523d6000602084013e610176565b606091505b5091509150610186828286610190565b9695505050505050565b6060831561019f575081610083565b8251156101af5782518084602001fd5b8160405162461bcd60e51b815260040161011291906101e5565b600082516101db818460208701610218565b9190910192915050565b6020815260008251806020840152610204816040850160208701610218565b601f01601f19169190910160400192915050565b60005b8381101561023357818101518382015260200161021b565b83811115610242576000848401525b5050505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212209167f46bb84381f570969990593dd7524158d0623b9e42203d52be6e58d4b01764736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000020000000000000000000000000ef0031812faca5e803b13fca55abe9836356066a00000000000000000000000000000000000000000000000000000000000001845c6d8da1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000004305b1372f1b244da0b32aa2b6f8ae0a124b50b80000000000000000000000000000000000000000000000000000000000000022426f7265642041706520596163687420436c7562205820434f4c4f5250454e43494c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442414343000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000029687474703a2f2f6170692e626f72656461706579616368746e6674636c75622e78797a2f697066732f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _a (bytes): 0x000000000000000000000000ef0031812faca5e803b13fca55abe9836356066a
Arg [1] : _data (bytes): 0x5c6d8da1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000004305b1372f1b244da0b32aa2b6f8ae0a124b50b80000000000000000000000000000000000000000000000000000000000000022426f7265642041706520596163687420436c7562205820434f4c4f5250454e43494c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442414343000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000029687474703a2f2f6170692e626f72656461706579616368746e6674636c75622e78797a2f697066732f0000000000000000000000000000000000000000000000

-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [3] : 000000000000000000000000ef0031812faca5e803b13fca55abe9836356066a
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000184
Arg [5] : 5c6d8da100000000000000000000000000000000000000000000000000000000
Arg [6] : 0000008000000000000000000000000000000000000000000000000000000000
Arg [7] : 000000e000000000000000000000000000000000000000000000000000000000
Arg [8] : 000001200000000000000000000000004305b1372f1b244da0b32aa2b6f8ae0a
Arg [9] : 124b50b800000000000000000000000000000000000000000000000000000000
Arg [10] : 00000022426f7265642041706520596163687420436c7562205820434f4c4f52
Arg [11] : 50454e43494c0000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000442414343000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 00000029687474703a2f2f6170692e626f72656461706579616368746e667463
Arg [16] : 6c75622e78797a2f697066732f00000000000000000000000000000000000000
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000000


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.