FactoryV2

Verified contract

Active on Ethereum with 6,996 txns
Deployed by via 0x7482e03b at 13019106
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $514
ERC-20
Value $233.67
0xd5e4f6117f16e25a5728b6563935c2db4fcf33f948d4cee7bb3537647314e670
0xb3419fb4935bdcb35991314ce18ed9ab9e6d2865f576fc00e7fd4da6e59c7f8b
0xf58138b168de3b4dc10bb2794e83e13260df664d445feebdc6cf7b44633ac94c
0x34ab0cb506ff64803b99c0fb05a2376f014aaeb255d53e67f9f52b02567bd247
0x6d169c9926d89b135117b906f583e0f60309b6f0975d4421f99d71b25edac2dd
0xaf02ad465a5dc9fad623e2015ec5923bcc090b23a7f0f152fa40cca498e18a94
0x8f0561652b30ad55bdb643cfb467385e9f0a2abacc91b4ca4130d69221287072
0x0069d5b9e895379ec3ed6a84df621996183acea0196044d7c814135d91a138d7
0x16ae7c15d1fc0b776322cc74f1dba60589557dc62471d77f05e47ebedfca9c41
0x5b4ea9dd6cc9dce4bfc7d9089fc50107e4c3e245bb4b2dab8b56d7ada9e71f47

Functions
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(addressview returns (uint8 cTypeuint256 amountuint256 totaluint256 startTimeuint256 endTimeuint256 percentstring uri)
collections(uint256view returns (address)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addExternalAddresses(address _farmaddress _moneyHandleraddress _treasury
buy(address collectionuint256 idaddress buyerreturns (bool)
createCollection(string uriuint256 _totaluint256 _startTimeuint256 _endTimeuint256 _amountuint256 _percentaddress _adminuint8 cTypeaddress _tokenaddress _stonereturns (address)
giveRole(address _farmAddressaddress _collec
giveRoleMnyHnd(address _moneyAddressaddress _collec
grantRole(bytes32 roleaddress account
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setPriceOracle(address _priceFeed
Events
NewCollection(string uriuint256 totaluint256 startTimeuint256 endTimeuint256 amountuint256 percentaddress adminaddress factoryAddressuint8 currencyType
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetAddresses(address moneyHandleraddress farmaddress treasury
SetPfeedAddress(address priceFeed
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.