FactoryV2
Verified contract
Active on
Ethereum with 6,996 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($747.67)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 0.1537 | $3,344.19 |
$514 | |
ERN | ERC-20 | 101.15713 | $2.31 |
$233.67 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20402510 | 4 months ago | | | 0 | 0.00066836000 | |
| 20402510 | 4 months ago | | | 0 | 0.00018228000 | |
| 20402510 | 4 months ago | | | 0 | 0.000030380000 | |
| 16020880 | 2 years ago | | | 0 | 0.049664355 | |
| 16020873 | 2 years ago | | | 0 | 0.00058910504 | |
| 15835239 | 2 years ago | | | 0 | 0.056287697 | |
| 15835236 | 2 years ago | | | 0 | 0.056287697 | |
| 15835233 | 2 years ago | | | 0 | 0.056287697 | |
| 15835230 | 2 years ago | | | 0 | 0.056287697 | |
| 15494675 | 2 years ago | | | 0 | 0.039492540 |
ABI
ABI objects
Getter at block 21247397
COLLECTION_ROLE() view returns (bytes32)
0x40a5c770eee7730548a6335e1f372e76bf4759f6fda1a932bd9cfc33106f0b4c
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
Ifarm() view returns (address)
0xedfe9ac42a511e1c523e067db8345711419d4f14
collectionLength() view returns (uint256)
149
farm() view returns (address)
0xedfe9ac42a511e1c523e067db8345711419d4f14
getPriceOracle() view returns (address)
0xe235e5bedac675a5580fa46f3651f01669a085c5
moneyHand() view returns (address)
0xfbbb0db0b33dc38c65443e4f3aeae2b79a0d35f6
moneyHandler() view returns (address)
0xfbbb0db0b33dc38c65443e4f3aeae2b79a0d35f6
priceFeed() view returns (address)
0xe235e5bedac675a5580fa46f3651f01669a085c5
treasury() view returns (address)
0xfbc3b76a206f03f1edbf411f280444cd3fd9c7c8
Read-only
cards(address) view returns (uint8 cType, uint256 amount, uint256 total, uint256 startTime, uint256 endTime, uint256 percent, string uri)
collections(uint256) view returns (address)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addExternalAddresses(address _farm, address _moneyHandler, address _treasury)
buy(address collection, uint256 id, address buyer) returns (bool)
createCollection(string uri, uint256 _total, uint256 _startTime, uint256 _endTime, uint256 _amount, uint256 _percent, address _admin, uint8 cType, address _token, address _stone) returns (address)
giveRole(address _farmAddress, address _collec)
giveRoleMnyHnd(address _moneyAddress, address _collec)
grantRole(bytes32 role, address account)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setPriceOracle(address _priceFeed)
NewCollection(string uri, uint256 total, uint256 startTime, uint256 endTime, uint256 amount, uint256 percent, address admin, address factoryAddress, uint8 currencyType)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetAddresses(address moneyHandler, address farm, address treasury)
SetPfeedAddress(address priceFeed)
constructor()
This contract contains no fallback and receive objects.
This contract contains no error objects.