ChainFactory
Verified contract
Implementation
Active on
Ethereum with 2 txns
Storage
Map
Table
Raw
Constants and immutables
2
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "ChainFactory"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18875891 | a year ago | | | 0 | 0.00049268038 | |
| 18875889 | a year ago | | | 0 | 0.0014325974 |
ABI
ABI objects
Getter at block 21271108
listDiscountLevels() view returns (struct CF_CommondiscountLevelView[] list)
[(0, 0, 0), (1, 0, 0), (2, 0, 0), (3, 0, 0), (4, 0, 0)]
listTemplates() view returns (struct CF_CommontemplateDataView[] data)
[]
listUsers() view returns (address[] data)
[]
owner() view returns (address)
0x0000000000000000000000000000000000000000
version() pure returns (string)
1.0.0
Read-only
getTemplatePrice(uint256 templateId, uint256 features) view returns (uint256 price)
getUserInfo(address account) view returns (struct CF_CommonuserDataView user)
State-modifying
Events addCredit() payable
addCredit(address user, uint256 amount)
deployContract(uint256 templateId, uint256 features, bytes32 nonce, bytes bytecode, address referral) payable returns (address contractAddress)
initialize()
recoverERC20(address token, address to, uint256 amount)
recoverETH(address to, uint256 amount)
renounceOwnership()
setDiscountLevel(uint8 level, uint24 percent, uint24 discount)
setFactoryInterfaces(address token, address stake)
setMultiSignatureWallet(address account)
setTemplate(uint256 templateId, bool active, bool discountable, uint256[] price)
setTreasury(address account)
transferOwnership(address newOwner)
AddedCredit(address indexed user, uint256 amount)
ContractDeployed(address indexed user, uint256 templateId, uint256 amount, address contractAddress)
Deposit(address indexed from, uint256 amount)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
SetDiscountLevel(uint8 level, uint24 percent, uint24 discount)
This contract contains no constructor objects.
fallback()
receive()
This contract contains no error objects.