ContractFee
Last updated
Last updated
Var | Type |
---|---|
Generate contract address.
Declaration:
Modifiers: No modifiers
Args:
Arg | Type | Description |
---|---|---|
Generate contract address(create2).
Declaration:
Modifiers: No modifiers
Args:
Register the contract creator.
Declaration:
Modifiers: No modifiers
Args:
Set contract fee. The contract fee can be set only when the sender is the creator of the contract.
Declaration:
Modifiers: No modifiers
Args:
Registration event, emit when someone registers their contract.
Arg | Type | Description |
---|---|---|
Arg | Type | Description |
---|---|---|
Arg | Type | Description |
---|---|---|
Param | Type | Indexed | Description |
---|---|---|---|
feeOf
mapping(address => uint256)
creatorOf
mapping(address => address)
from
address
Creator address
nonce
uint256
Creator nonce
from
address
Creator address
salt
bytes32
Salt
codeHash
bytes32
Deploy code hash, notice: this is not the same as the account code hash
parent
address
Root creator address
flags
bool[]
A list of flags, if the flag is true, it means create
and load a nonce from nonces, otherwise it means create2
and load a Create2Info
from infos
nonces
uint256[]
A list of nonces
infos
struct Create2Info[]
A list of Create2Info
contractAddress
address
Target contract address
fee
uint256
Contract fee
parent
address
Creator
child
address
Contract address