Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Methods = map[abi.MethodNum]builtin.MethodMeta{ 1: {"Constructor", *new(func(*ConstructorParams) *abi.EmptyValue)}, 2: {"Resurrect", *new(func(*ResurrectParams) *abi.EmptyValue)}, 3: {"GetBytecode", *new(func(*abi.EmptyValue) *GetBytecodeReturn)}, 4: {"GetBytecodeHash", *new(func(*abi.EmptyValue) *abi.CborBytes)}, 5: {"GetStorageAt", *new(func(*GetStorageAtParams) *abi.CborBytes)}, 6: {"InvokeContractDelegate", *new(func(params *DelegateCallParams) *abi.CborBytes)}, builtin.MustGenerateFRCMethodNum("InvokeEVM"): {"InvokeContract", *new(func(bytes *abi.CborBytes) *abi.CborBytes)}, }
Functions ¶
func CheckStateInvariants ¶
func CheckStateInvariants(st *State, store adt.Store) *builtin.MessageAccumulator
Checks internal invariants of evm state.
Types ¶
type ConstructorParams ¶
func (*ConstructorParams) MarshalCBOR ¶
func (t *ConstructorParams) MarshalCBOR(w io.Writer) error
func (*ConstructorParams) UnmarshalCBOR ¶
func (t *ConstructorParams) UnmarshalCBOR(r io.Reader) error
type DelegateCallParams ¶
type DelegateCallParams struct { Code cid.Cid Input []byte Caller [20]byte Value abi.TokenAmount }
func (*DelegateCallParams) MarshalCBOR ¶
func (t *DelegateCallParams) MarshalCBOR(w io.Writer) error
func (*DelegateCallParams) UnmarshalCBOR ¶
func (t *DelegateCallParams) UnmarshalCBOR(r io.Reader) error
type GetBytecodeReturn ¶
type GetBytecodeReturn struct {
Cid *cid.Cid
}
func (*GetBytecodeReturn) MarshalCBOR ¶
func (bc *GetBytecodeReturn) MarshalCBOR(w io.Writer) error
func (*GetBytecodeReturn) UnmarshalCBOR ¶
func (bc *GetBytecodeReturn) UnmarshalCBOR(r io.Reader) error
type GetStorageAtParams ¶
type GetStorageAtParams struct {
StorageKey [32]byte
}
func (*GetStorageAtParams) MarshalCBOR ¶
func (t *GetStorageAtParams) MarshalCBOR(w io.Writer) error
func (*GetStorageAtParams) UnmarshalCBOR ¶
func (t *GetStorageAtParams) UnmarshalCBOR(r io.Reader) error
type ResurrectParams ¶
type ResurrectParams = ConstructorParams
Click to show internal directories.
Click to hide internal directories.