Documentation ¶
Overview ¶
AUTO-GENERATED - DO NOT EDIT
Index ¶
- Constants
- Variables
- func MakeBindings[E any](backendFn CallBackendFn, checkABI func(abiDef string) bool) (*E, error)
- func WithFieldsOnly[E any](p *Precompile[E])
- func WithPrecompileAtAddress[E any](h *Host, addr common.Address, elem E, opts ...PrecompileOption[E]) (cleanup func(), err error)
- func WithScript[B any](h *Host, name string, contract string) (b *B, cleanup func(), err error)
- type ABIInt256
- type CallBackendFn
- type CallFrame
- type CallerMode
- type CheatCodesPrecompile
- func (c *CheatCodesPrecompile) Accesses() (reads [][32]byte, writes [][32]byte, err error)
- func (c *CheatCodesPrecompile) Addr(privateKey *big.Int) (common.Address, error)
- func (c *CheatCodesPrecompile) Breakpoint_f0259e92(name string)
- func (c *CheatCodesPrecompile) Breakpoint_f7d39a8d(name string, v bool)
- func (c *CheatCodesPrecompile) Broadcast_afc98040() error
- func (c *CheatCodesPrecompile) Broadcast_e6962cdb(who common.Address) error
- func (c *CheatCodesPrecompile) ChainId(id *big.Int)
- func (c *CheatCodesPrecompile) ClearMockedCalls() error
- func (c *CheatCodesPrecompile) Coinbase(addr common.Address)
- func (c *CheatCodesPrecompile) Deal(who common.Address, newBalance *big.Int)
- func (c *CheatCodesPrecompile) DeriveKey_6229498b(mnemonic string, index uint32) (*big.Int, error)
- func (c *CheatCodesPrecompile) DeriveKey_6bcb2c1b(mnemonic string, path string, index uint32) (*big.Int, error)
- func (c *CheatCodesPrecompile) Difficulty(_ *big.Int) error
- func (c *CheatCodesPrecompile) DumpState(pathToStateJson string) error
- func (c *CheatCodesPrecompile) EnvAddress_350d56bf(key string) (common.Address, error)
- func (c *CheatCodesPrecompile) EnvAddress_ad31b9fa(key string, delimiter string) ([]common.Address, error)
- func (c *CheatCodesPrecompile) EnvBool_7ed1ec7d(key string) (bool, error)
- func (c *CheatCodesPrecompile) EnvBool_aaaddeaf(key string, delimiter string) ([]bool, error)
- func (c *CheatCodesPrecompile) EnvBytes32_5af231c1(key string, delimiter string) ([][32]byte, error)
- func (c *CheatCodesPrecompile) EnvBytes32_97949042(key string) ([32]byte, error)
- func (c *CheatCodesPrecompile) EnvBytes_4d7baf06(key string) ([]byte, error)
- func (c *CheatCodesPrecompile) EnvBytes_ddc2651b(key string, delimiter string) ([][]byte, error)
- func (c *CheatCodesPrecompile) EnvInt_42181150(key string, delimiter string) ([]*ABIInt256, error)
- func (c *CheatCodesPrecompile) EnvInt_892a0c61(key string) (*ABIInt256, error)
- func (c *CheatCodesPrecompile) EnvOr_2281f367(key string, delimiter string, defaultValue [][32]byte) ([][32]byte, error)
- func (c *CheatCodesPrecompile) EnvOr_4700d74b(key string, delimiter string, defaultValue []*ABIInt256) ([]*ABIInt256, error)
- func (c *CheatCodesPrecompile) EnvOr_4777f3cf(key string, defaultValue bool) (bool, error)
- func (c *CheatCodesPrecompile) EnvOr_561fe540(key string, defaultValue common.Address) (common.Address, error)
- func (c *CheatCodesPrecompile) EnvOr_5e97348f(key string, defaultValue *big.Int) (*big.Int, error)
- func (c *CheatCodesPrecompile) EnvOr_64bc3e64(key string, delimiter string, defaultValue [][]byte) ([][]byte, error)
- func (c *CheatCodesPrecompile) EnvOr_74318528(key string, delimiter string, defaultValue []*big.Int) ([]*big.Int, error)
- func (c *CheatCodesPrecompile) EnvOr_859216bc(key string, delimiter string, defaultValue []string) ([]string, error)
- func (c *CheatCodesPrecompile) EnvOr_b3e47705(key string, defaultValue []byte) ([]byte, error)
- func (c *CheatCodesPrecompile) EnvOr_b4a85892(key string, defaultValue [32]byte) ([32]byte, error)
- func (c *CheatCodesPrecompile) EnvOr_bbcb713e(key string, defaultValue *ABIInt256) (*ABIInt256, error)
- func (c *CheatCodesPrecompile) EnvOr_c74e9deb(key string, delimiter string, defaultValue []common.Address) ([]common.Address, error)
- func (c *CheatCodesPrecompile) EnvOr_d145736c(key string, defaultValue string) (string, error)
- func (c *CheatCodesPrecompile) EnvOr_eb85e83b(key string, delimiter string, defaultValue []bool) ([]bool, error)
- func (c *CheatCodesPrecompile) EnvString_14b02bc9(key string, delimiter string) ([]string, error)
- func (c *CheatCodesPrecompile) EnvString_f877cb19(key string) (string, error)
- func (c *CheatCodesPrecompile) EnvUint_c1978d1f(key string) (*big.Int, error)
- func (c *CheatCodesPrecompile) EnvUint_f3dec099(key string, delimiter string) ([]*big.Int, error)
- func (c *CheatCodesPrecompile) Etch(who common.Address, code []byte)
- func (c *CheatCodesPrecompile) Fee(fee *big.Int)
- func (c *CheatCodesPrecompile) Ffi(args []string) ([]byte, error)
- func (c *CheatCodesPrecompile) GetBlockNumber() *big.Int
- func (c *CheatCodesPrecompile) GetBlockTimestamp() *big.Int
- func (c *CheatCodesPrecompile) GetCode(input string) ([]byte, error)
- func (c *CheatCodesPrecompile) GetDeployedCode(input string) ([]byte, error)
- func (c *CheatCodesPrecompile) GetLabel(addr common.Address) string
- func (c *CheatCodesPrecompile) GetNonce(addr common.Address) uint64
- func (c *CheatCodesPrecompile) KeyExists(jsonData string, key string) (bool, error)
- func (c *CheatCodesPrecompile) KeyExistsJson(data string, key string) (bool, error)
- func (c *CheatCodesPrecompile) KeyExistsToml(data string, key string) (bool, error)
- func (c *CheatCodesPrecompile) Label(addr common.Address, label string)
- func (c *CheatCodesPrecompile) Load(account common.Address, slot [32]byte) [32]byte
- func (c *CheatCodesPrecompile) LoadAllocs(pathToAllocsJson string) error
- func (c *CheatCodesPrecompile) MockCallRevert_d23cd037(where common.Address, value *big.Int, data []byte, retdata []byte) error
- func (c *CheatCodesPrecompile) MockCallRevert_dbaad147(where common.Address, data []byte, retdata []byte) error
- func (c *CheatCodesPrecompile) MockCall_81409b91(where common.Address, value *big.Int, data []byte, retdata []byte) error
- func (c *CheatCodesPrecompile) MockCall_b96213e4(where common.Address, data []byte, retdata []byte) error
- func (c *CheatCodesPrecompile) ParseAddress(stringifiedValue string) (common.Address, error)
- func (c *CheatCodesPrecompile) ParseBool(stringifiedValue string) (bool, error)
- func (c *CheatCodesPrecompile) ParseBytes(stringifiedValue string) ([]byte, error)
- func (c *CheatCodesPrecompile) ParseBytes32(stringifiedValue string) ([32]byte, error)
- func (c *CheatCodesPrecompile) ParseInt(stringifiedValue string) (*ABIInt256, error)
- func (c *CheatCodesPrecompile) ParseJsonKeys(data string, key string) ([]string, error)
- func (c *CheatCodesPrecompile) ParseJson_6a82600a(data string)
- func (c *CheatCodesPrecompile) ParseJson_85940ef1(data string, key string)
- func (c *CheatCodesPrecompile) ParseTomlKeys(data string, key string) ([]string, error)
- func (c *CheatCodesPrecompile) ParseToml_37736e08(data string, key string)
- func (c *CheatCodesPrecompile) ParseToml_592151f0(data string)
- func (c *CheatCodesPrecompile) ParseUint(stringifiedValue string) (*big.Int, error)
- func (c *CheatCodesPrecompile) PauseGasMetering() error
- func (c *CheatCodesPrecompile) Prank_47e50cce(sender common.Address, origin common.Address) error
- func (c *CheatCodesPrecompile) Prank_ca669fa7(sender common.Address) error
- func (c *CheatCodesPrecompile) Prevrandao(v [32]byte)
- func (c *CheatCodesPrecompile) ProjectRoot() string
- func (c *CheatCodesPrecompile) Prompt() error
- func (c *CheatCodesPrecompile) ReadCallers() (callerMode *big.Int, msgSender common.Address, txOrigin common.Address)
- func (c *CheatCodesPrecompile) Record() error
- func (c *CheatCodesPrecompile) RecordLogs() error
- func (c *CheatCodesPrecompile) RememberKey(privateKey *big.Int) (common.Address, error)
- func (c *CheatCodesPrecompile) ResetNonce(addr common.Address)
- func (c *CheatCodesPrecompile) ResumeGasMetering() error
- func (c *CheatCodesPrecompile) Roll(num *big.Int)
- func (c *CheatCodesPrecompile) SerializeAddress_1e356e1a(objectKey string, valueKey string, values []common.Address) (string, error)
- func (c *CheatCodesPrecompile) SerializeAddress_972c6062(objectKey string, valueKey string, value common.Address) (string, error)
- func (c *CheatCodesPrecompile) SerializeBool_92925aa1(objectKey string, valueKey string, values []bool) (string, error)
- func (c *CheatCodesPrecompile) SerializeBool_ac22e971(objectKey string, valueKey string, value bool) (string, error)
- func (c *CheatCodesPrecompile) SerializeBytes32_201e43e2(objectKey string, valueKey string, values []common.Hash) (string, error)
- func (c *CheatCodesPrecompile) SerializeBytes32_2d812b44(objectKey string, valueKey string, value common.Hash) (string, error)
- func (c *CheatCodesPrecompile) SerializeBytes_9884b232(objectKey string, valueKey string, values []hexutil.Bytes) (string, error)
- func (c *CheatCodesPrecompile) SerializeBytes_f21d52c7(objectKey string, valueKey string, value hexutil.Bytes) (string, error)
- func (c *CheatCodesPrecompile) SerializeInt_3f33db60(objectKey string, valueKey string, value *ABIInt256) (string, error)
- func (c *CheatCodesPrecompile) SerializeInt_7676e127(objectKey string, valueKey string, values []*ABIInt256) (string, error)
- func (c *CheatCodesPrecompile) SerializeJson(objectKey string, value string) (string, error)
- func (c *CheatCodesPrecompile) SerializeString_561cd6f3(objectKey string, valueKey string, values []string) (string, error)
- func (c *CheatCodesPrecompile) SerializeString_88da6d35(objectKey string, valueKey string, value string) (string, error)
- func (c *CheatCodesPrecompile) SerializeUint_129e9002(objectKey string, valueKey string, value *big.Int) (string, error)
- func (c *CheatCodesPrecompile) SerializeUint_fee9a469(objectKey string, valueKey string, values []*big.Int) (string, error)
- func (c *CheatCodesPrecompile) SetEnv(key string, value string) error
- func (c *CheatCodesPrecompile) SetNonce(account common.Address, nonce uint64)
- func (c *CheatCodesPrecompile) Sign() error
- func (c *CheatCodesPrecompile) Skip() error
- func (c *CheatCodesPrecompile) Sleep(ms *big.Int) error
- func (c *CheatCodesPrecompile) StartBroadcast_7fb5297f() error
- func (c *CheatCodesPrecompile) StartBroadcast_7fec2a8d(who common.Address) error
- func (c *CheatCodesPrecompile) StartPrank_06447d56(sender common.Address) error
- func (c *CheatCodesPrecompile) StartPrank_45b56078(sender common.Address, origin common.Address) error
- func (c *CheatCodesPrecompile) StartStateDiffRecording() error
- func (c *CheatCodesPrecompile) StopAndReturnStateDiff() error
- func (c *CheatCodesPrecompile) StopBroadcast() error
- func (c *CheatCodesPrecompile) StopPrank() error
- func (c *CheatCodesPrecompile) Store(account common.Address, slot [32]byte, value [32]byte)
- func (c *CheatCodesPrecompile) ToString_56ca623e(v common.Address) string
- func (c *CheatCodesPrecompile) ToString_6900a3ae(v *big.Int) string
- func (c *CheatCodesPrecompile) ToString_71aad10d(v []byte) string
- func (c *CheatCodesPrecompile) ToString_71dce7da(v bool) string
- func (c *CheatCodesPrecompile) ToString_a322c40e(v *ABIInt256) string
- func (c *CheatCodesPrecompile) ToString_b11a19e8(v [32]byte) string
- func (c *CheatCodesPrecompile) TxGasPrice(newGasPrice *big.Int)
- func (c *CheatCodesPrecompile) UnixTime() (ms *big.Int)
- func (c *CheatCodesPrecompile) Warp(timestamp *big.Int)
- func (c *CheatCodesPrecompile) WriteJson_35d6ad46(data string, path string, valueKey string) error
- func (c *CheatCodesPrecompile) WriteJson_e23cd19f(data string, path string) error
- func (c *CheatCodesPrecompile) WriteToml_51ac6a33(data string, path string, valueKey string) error
- func (c *CheatCodesPrecompile) WriteToml_c0865ba7(data string, path string) error
- type ConsolePrecompile
- func (c *ConsolePrecompile) Log_007150be(p0 common.Address, p1 common.Address, p2 string)
- func (c *ConsolePrecompile) Log_00dd87b9(p0 bool, p1 *big.Int, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_013d178b(p0 [10]byte)
- func (c *ConsolePrecompile) Log_018c84c2(p0 common.Address, p1 common.Address, p2 common.Address)
- func (c *ConsolePrecompile) Log_031c6f73(p0 *big.Int, p1 common.Address, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_04004a2e(p0 [11]byte)
- func (c *ConsolePrecompile) Log_0454c079(p0 string, p1 common.Address, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_078287f5(p0 *big.Int, p1 bool, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_07831502(p0 bool, p1 common.Address, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_088ef9d2(p0 bool, p1 *big.Int, p2 common.Address)
- func (c *ConsolePrecompile) Log_091ffaf5(p0 *big.Int, p1 common.Address, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_0aa6cfad(p0 common.Address, p1 bool, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_0b84bc58(p0 [25]byte)
- func (c *ConsolePrecompile) Log_0bb00eab(p0 bool, p1 bool, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_0be77f56(p0 hexutil.Bytes)
- func (c *ConsolePrecompile) Log_0c66d1be(p0 bool, p1 common.Address, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_0c9cd9c1(p0 *big.Int, p1 common.Address, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_0d26b925(p0 string, p1 common.Address, p2 *big.Int)
- func (c *ConsolePrecompile) Log_0d36fa20(p0 common.Address, p1 string, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_0df12b76(p0 common.Address, p1 string, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_0e378994(p0 common.Address, p1 common.Address, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_0ef7e050(p0 common.Address, p1 string, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_100f650e(p0 common.Address, p1 *big.Int, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_1023f7b2(p0 string, p1 string, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_1078f68d(p0 bool, p1 bool, p2 common.Address)
- func (c *ConsolePrecompile) Log_1093ee11(p0 bool, p1 string, p2 *big.Int)
- func (c *ConsolePrecompile) Log_12d6c788(p0 bool, p1 string, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_12f21602(p0 bool, p1 bool, p2 *big.Int)
- func (c *ConsolePrecompile) Log_136b05dd(p0 bool, p1 common.Address, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_1537dc87(p0 bool, p1 *big.Int, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_1596a1ce(p0 bool, p1 string, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_159f8927(p0 common.Address, p1 string, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_15c127b5(p0 *big.Int, p1 common.Address, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_15cac476(p0 *big.Int, p1 *big.Int, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_1606a393(p0 bool, p1 string, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_1762e32a(p0 bool, p1 string, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_17fe6185(p0 common.Address, p1 common.Address, p2 *big.Int)
- func (c *ConsolePrecompile) Log_18c9c746(p0 bool, p1 common.Address, p2 bool)
- func (c *ConsolePrecompile) Log_193fb800(p0 *big.Int, p1 *big.Int, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_19fd4956(p0 common.Address, p1 bool, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_1ad96de6(p0 bool, p1 string, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_1bb3b09a(p0 bool, p1 *big.Int, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_1c41a336(p0 bool, p1 common.Address, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_1c7ec448(p0 string, p1 *big.Int, p2 common.Address)
- func (c *ConsolePrecompile) Log_1c9d7eb3(p0 *big.Int, p1 bool)
- func (c *ConsolePrecompile) Log_1d14d001(p0 bool, p1 common.Address, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_1da986ea(p0 common.Address, p1 *big.Int, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_1dc8e1b8(p0 common.Address, p1 string, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_1e4b87e5(p0 bool, p1 string, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_20098014(p0 *big.Int, p1 bool, p2 *big.Int)
- func (c *ConsolePrecompile) Log_205871c2(p0 common.Address, p1 string, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_20718650(p0 *big.Int, p1 bool, p2 bool)
- func (c *ConsolePrecompile) Log_20e3984d(p0 common.Address, p1 *big.Int, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_212255cc(p0 common.Address, p1 bool, p2 string)
- func (c *ConsolePrecompile) Log_21ad0683(p0 *big.Int, p1 string, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_21bdaf25(p0 common.Address, p1 common.Address, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_223603bd(p0 string, p1 common.Address, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_22f6b999(p0 common.Address, p1 *big.Int, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_245986f2(p0 string, p1 common.Address, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_2488b414(p0 *big.Int, p1 common.Address, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_24f91465(p0 string, p1 bool, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_2555fa46(p0 bool, p1 bool, p2 string)
- func (c *ConsolePrecompile) Log_26f560a8(p0 bool, p1 *big.Int, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_27b7cf85(p0 [32]byte)
- func (c *ConsolePrecompile) Log_27d8afd2(p0 *big.Int, p1 *big.Int, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_28863fcb(p0 bool, p1 string, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_2a110e83(p0 bool, p1 bool)
- func (c *ConsolePrecompile) Log_2ae408d4(p0 bool, p1 bool, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_2b2b18dc(p0 bool, p1 string, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_2c1754ed(p0 string, p1 string, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_2c1d0746(p0 *big.Int, p1 bool, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_2c2ecbc2(p0 common.Address)
- func (c *ConsolePrecompile) Log_2cd4134a(p0 common.Address, p1 common.Address, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_2ced7cef(p0 string, p1 string, p2 string)
- func (c *ConsolePrecompile) Log_2d5b6cb9(p0 *ABIInt256)
- func (c *ConsolePrecompile) Log_2d834926(p0 [3]byte)
- func (c *ConsolePrecompile) Log_2d8e33a4(p0 string, p1 bool, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_2dd778e6(p0 common.Address, p1 bool, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_319af333(p0 string, p1 common.Address)
- func (c *ConsolePrecompile) Log_32458eed(p0 bool)
- func (c *ConsolePrecompile) Log_339f673a(p0 [17]byte)
- func (c *ConsolePrecompile) Log_33e9dd1d(p0 string, p1 bool, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_34f0e636(p0 common.Address, p1 *big.Int, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_35085f7b(p0 *big.Int, p1 bool, p2 common.Address)
- func (c *ConsolePrecompile) Log_354c36d6(p0 string, p1 *big.Int, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_35a5071f(p0 common.Address, p1 string, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_37103367(p0 bool, p1 *big.Int, p2 *big.Int)
- func (c *ConsolePrecompile) Log_374bb4b2(p0 bool, p1 *big.Int, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_37aa7d4c(p0 *big.Int, p1 string, p2 *big.Int)
- func (c *ConsolePrecompile) Log_386ff5f4(p0 common.Address, p1 bool, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_3971e78c(p0 common.Address, p1 common.Address, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_399174d3(p0 bool, p1 *big.Int)
- func (c *ConsolePrecompile) Log_3a3757dd(p0 [27]byte)
- func (c *ConsolePrecompile) Log_3b2279b4(p0 *big.Int, p1 string, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_3b2a5ce0(p0 bool, p1 bool, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_3bf5e537(p0 common.Address, p1 *big.Int, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_3ca6268e(p0 string, p1 *ABIInt256)
- func (c *ConsolePrecompile) Log_3e128ca3(p0 *big.Int, p1 common.Address, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_3e9f866a(p0 string, p1 common.Address, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_3f8a701d(p0 string, p1 bool, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_40785869(p0 string, p1 string, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_41304fac(p0 string)
- func (c *ConsolePrecompile) Log_42d21db7(p0 *big.Int, p1 *big.Int, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_439c7bef(p0 string, p1 string, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_448830a8(p0 common.Address, p1 string, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_454d54a5(p0 *big.Int, p1 bool, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_457fe3cf(p0 common.Address, p1 string, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_46600be0(p0 bool, p1 common.Address, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_46826b5d(p0 *big.Int, p1 common.Address, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_475c5c33(p0 common.Address, p1 bool, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_4766da72(p0 *big.Int, p1 *big.Int, p2 bool)
- func (c *ConsolePrecompile) Log_478d1c62(p0 common.Address, p1 *big.Int, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_483d0416(p0 bool, p1 string, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_4a28c017(p0 common.Address, p1 *big.Int, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_4a66cb34(p0 bool, p1 common.Address, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_4b5c4277(p0 string, p1 string)
- func (c *ConsolePrecompile) Log_4b69c3d5(p0 [29]byte)
- func (c *ConsolePrecompile) Log_4c123d57(p0 bool, p1 bool, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_4ceda75a(p0 *big.Int, p1 string, p2 bool)
- func (c *ConsolePrecompile) Log_4ed57e28(p0 [7]byte)
- func (c *ConsolePrecompile) Log_4f04fdc6(p0 string, p1 *big.Int, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_4f84252e(p0 [8]byte)
- func (c *ConsolePrecompile) Log_50709698(p0 bool, p1 bool, p2 bool)
- func (c *ConsolePrecompile) Log_50ad461d(p0 common.Address, p1 bool, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_515e38b6(p0 common.Address, p1 string, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_5188e3e9(p0 [20]byte)
- func (c *ConsolePrecompile) Log_51973ec9()
- func (c *ConsolePrecompile) Log_51f09ff8(p0 bool, p1 common.Address, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_538e06ab(p0 bool, p1 string, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_54a7a9a0(p0 bool, p1 bool, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_56a5d1b1(p0 *big.Int, p1 *big.Int, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_5821efa1(p0 string, p1 string, p2 *big.Int)
- func (c *ConsolePrecompile) Log_5970e089(p0 string, p1 *big.Int, p2 string)
- func (c *ConsolePrecompile) Log_59cfcbe3(p0 *big.Int, p1 *big.Int, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_5a477632(p0 string, p1 common.Address, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_5a9b5ed5(p0 *big.Int, p1 common.Address, p2 *big.Int)
- func (c *ConsolePrecompile) Log_5ab84e1f(p0 string, p1 *big.Int, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_5abd992a(p0 *big.Int, p1 common.Address, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_5c430d47(p0 common.Address, p1 *big.Int, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_5c96b331(p0 *big.Int, p1 *big.Int, p2 common.Address)
- func (c *ConsolePrecompile) Log_5ccd4e37(p0 string, p1 string, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_5d02c50b(p0 common.Address, p1 string, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_5d08bb05(p0 string, p1 bool, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_5d1a971a(p0 string, p1 string, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_5da297eb(p0 *big.Int, p1 *big.Int, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_5e6b5a33(p0 [19]byte)
- func (c *ConsolePrecompile) Log_5e84b0ea(p0 string, p1 string, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_5ea2b7ae(p0 string, p1 *big.Int, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_5f15d28c(p0 string, p1 common.Address, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_5f1d5c9f(p0 common.Address, p1 string, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_5f743a7c(p0 *big.Int, p1 common.Address, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_5f7b9afb(p0 bool, p1 common.Address, p2 *big.Int)
- func (c *ConsolePrecompile) Log_6168ed61(p0 *big.Int, p1 string, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_619e4d0e(p0 bool, p1 bool, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_63183678(p0 common.Address, p1 string, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_63cb41f9(p0 *big.Int, p1 common.Address, p2 string)
- func (c *ConsolePrecompile) Log_63fb8bc5(p0 string, p1 common.Address, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_643fd0df(p0 *big.Int, p1 string)
- func (c *ConsolePrecompile) Log_64b5bb67(p0 string, p1 bool, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_660375dd(p0 common.Address, p1 bool, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_665bf134(p0 common.Address, p1 common.Address, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_665c6104(p0 [16]byte)
- func (c *ConsolePrecompile) Log_66f1bc67(p0 common.Address, p1 *big.Int, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_678209a8(p0 common.Address, p1 *big.Int, p2 bool)
- func (c *ConsolePrecompile) Log_67dd6ff1(p0 common.Address, p1 string, p2 *big.Int)
- func (c *ConsolePrecompile) Log_68c8b8bd(p0 *big.Int, p1 bool, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_691a8f74(p0 *big.Int, p1 string, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_69276c86(p0 *big.Int, p1 common.Address)
- func (c *ConsolePrecompile) Log_69640b59(p0 *big.Int, p1 bool, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_6a1199e2(p0 bool, p1 *big.Int, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_6a9c478b(p0 bool, p1 common.Address, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_6b0e5d53(p0 bool, p1 string, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_6cde40b8(p0 *big.Int, p1 *big.Int, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_6d1e8751(p0 bool, p1 bool, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_6d572f44(p0 string, p1 string, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_6d7045c1(p0 bool, p1 bool, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_6dd434ca(p0 bool, p1 string, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_6e18a128(p0 [1]byte)
- func (c *ConsolePrecompile) Log_6f1a594e(p0 common.Address, p1 common.Address, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_6f7c603e(p0 bool, p1 common.Address, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_7190a529(p0 string, p1 bool, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_71d04af2(p0 *big.Int, p1 *big.Int, p2 string)
- func (c *ConsolePrecompile) Log_736efbb6(p0 *big.Int, p1 common.Address, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_742d6ee7(p0 string, p1 bool, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_7464ce23(p0 *big.Int, p1 bool, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_759f86bb(p0 common.Address, p1 string)
- func (c *ConsolePrecompile) Log_75b605d3(p0 common.Address, p1 bool)
- func (c *ConsolePrecompile) Log_7626db92(p0 string, p1 *big.Int, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_79884c2b(p0 string, p1 common.Address, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_7af6ab25(p0 *big.Int, p1 *big.Int, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_7afac959(p0 *big.Int, p1 string, p2 common.Address)
- func (c *ConsolePrecompile) Log_7bc0d848(p0 common.Address, p1 *big.Int, p2 common.Address)
- func (c *ConsolePrecompile) Log_7be0c3eb(p0 bool, p1 string, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_7bf181a1(p0 bool, p1 common.Address, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_7c4632a4(p0 string, p1 *big.Int, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_7cc3c607(p0 string, p1 string, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_7d24491d(p0 string, p1 *big.Int, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_7dd4d0e0(p0 bool, p1 bool, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_7f9bbca2(p0 bool, p1 *big.Int, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_800a1c67(p0 string, p1 common.Address, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_80e6a20b(p0 common.Address, p1 bool, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_82112a42(p0 string, p1 *big.Int, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_82c25b74(p0 *big.Int, p1 string, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_8309e8a8(p0 common.Address, p1 *big.Int)
- func (c *ConsolePrecompile) Log_850b7ad6(p0 string, p1 bool, p2 bool)
- func (c *ConsolePrecompile) Log_853c4849(p0 bool, p1 common.Address)
- func (c *ConsolePrecompile) Log_854b3496(p0 string, p1 *big.Int, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_85775021(p0 *big.Int, p1 bool, p2 string)
- func (c *ConsolePrecompile) Log_86a06abd(p0 [12]byte)
- func (c *ConsolePrecompile) Log_88a8c406(p0 common.Address, p1 *big.Int, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_88cb6041(p0 *big.Int, p1 bool, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_88f6e4b2(p0 *big.Int, p1 *big.Int, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_895af8c5(p0 string, p1 bool, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_8af7cf8a(p0 string, p1 bool, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_8c329b1a(p0 bool, p1 bool, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_8c4e5de6(p0 common.Address, p1 bool, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_8da6def5(p0 common.Address, p1 common.Address, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_8e3f78a9(p0 string, p1 bool, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_8e69fb5d(p0 bool, p1 *big.Int, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_8eafb02b(p0 string, p1 string, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_8ef3f399(p0 string, p1 common.Address, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_8f736d16(p0 common.Address, p1 common.Address, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_8feac525(p0 bool, p1 string)
- func (c *ConsolePrecompile) Log_90bd8cd0(p0 [9]byte)
- func (c *ConsolePrecompile) Log_90c30a56(p0 *big.Int, p1 string, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_90fb06aa(p0 *big.Int, p1 common.Address, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_9143dbb1(p0 bool, p1 *big.Int, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_91a02e2a(p0 *big.Int, p1 bool, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_91d1112e(p0 string, p1 common.Address, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_9266f07f(p0 [14]byte)
- func (c *ConsolePrecompile) Log_932bbb38(p0 string, p1 bool, p2 common.Address)
- func (c *ConsolePrecompile) Log_935e09bf(p0 string, p1 bool, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_94250d77(p0 common.Address, p1 common.Address, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_94529e34(p0 [13]byte)
- func (c *ConsolePrecompile) Log_958c28c6(p0 string, p1 bool, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_9591b953(p0 bool, p1 string, p2 common.Address)
- func (c *ConsolePrecompile) Log_95ed0195(p0 string, p1 string, p2 common.Address)
- func (c *ConsolePrecompile) Log_97d394d8(p0 bool, p1 string, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_9a816a83(p0 *big.Int, p1 *big.Int, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_9acd3616(p0 bool, p1 *big.Int, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_9b4254e2(p0 common.Address, p1 common.Address, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_9b6ec042(p0 *big.Int, p1 common.Address, p2 bool)
- func (c *ConsolePrecompile) Log_9c3adfa1(p0 *big.Int, p1 string, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_9c4f99fb(p0 common.Address, p1 bool, p2 *big.Int)
- func (c *ConsolePrecompile) Log_9cba8fff(p0 *big.Int, p1 common.Address, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_9d22d5dd(p0 string, p1 bool, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_9f1bc36e(p0 common.Address, p1 common.Address, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_9ffb2f93(p0 string, p1 *big.Int, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_a04e2f87(p0 common.Address, p1 string, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_a0a47963(p0 bool, p1 bool, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_a1bcc9b3(p0 common.Address, p1 *big.Int, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_a1ef4cbb(p0 *big.Int, p1 bool, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_a1f2e8aa(p0 common.Address, p1 *big.Int, p2 string)
- func (c *ConsolePrecompile) Log_a31bfdcc(p0 common.Address, p1 *big.Int, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_a5b4fc99(p0 *big.Int, p1 *big.Int, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_a5cada94(p0 bool, p1 string, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_a684808d(p0 [5]byte)
- func (c *ConsolePrecompile) Log_a6f50b0f(p0 common.Address, p1 bool, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_a73c1db6(p0 bool, p1 common.Address, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_a75c59de(p0 common.Address, p1 bool, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_a7a87853(p0 string, p1 *big.Int, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_a826caeb(p0 string, p1 bool, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_aa6540c8(p0 common.Address, p1 common.Address, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_aabc9a31(p0 string, p1 common.Address, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_ab085ae6(p0 *big.Int, p1 *big.Int, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_aba1cf0d(p0 [23]byte)
- func (c *ConsolePrecompile) Log_abf73a98(p0 string, p1 *big.Int, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_ade052c7(p0 *big.Int, p1 bool, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_ae2ec581(p0 *big.Int, p1 string, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_ae84a591(p0 [6]byte)
- func (c *ConsolePrecompile) Log_b028c9bd(p0 *big.Int, p1 string, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_b076847f(p0 bool, p1 string, p2 string)
- func (c *ConsolePrecompile) Log_b0e0f9b5(p0 string, p1 string, p2 bool)
- func (c *ConsolePrecompile) Log_b115611f(p0 *big.Int, p1 string, p2 string)
- func (c *ConsolePrecompile) Log_b3a6b6bd(p0 *big.Int, p1 string, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_b4c314ff(p0 bool, p1 *big.Int, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_b59dbd60(p0 string, p1 common.Address, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_b60e72cc(p0 string, p1 *big.Int)
- func (c *ConsolePrecompile) Log_b69bcaf6(p0 common.Address, p1 *big.Int, p2 *big.Int)
- func (c *ConsolePrecompile) Log_b6f577a1(p0 *big.Int, p1 bool, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_b7b914ca(p0 *big.Int, p1 string, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_b857163a(p0 bool, p1 bool, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_ba535d9c(p0 *big.Int, p1 string, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_bc0b61fe(p0 common.Address, p1 string, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_bcfd9be0(p0 *big.Int, p1 common.Address, p2 common.Address)
- func (c *ConsolePrecompile) Log_be553481(p0 common.Address, p1 common.Address, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_be984353(p0 bool, p1 *big.Int, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_bf01f891(p0 common.Address, p1 *big.Int, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_c0a302d8(p0 bool, p1 bool, p2 common.Address, p3 bool)
- func (c *ConsolePrecompile) Log_c21f64c7(p0 bool, p1 common.Address, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_c2854d92(p0 [31]byte)
- func (c *ConsolePrecompile) Log_c371c7db(p0 string, p1 string, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_c3a8a654(p0 string, p1 string, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_c3b55635(p0 string, p1 bool)
- func (c *ConsolePrecompile) Log_c3fc3970(p0 bool, p1 *big.Int, p2 string)
- func (c *ConsolePrecompile) Log_c4643e20(p0 common.Address, p1 bool, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_c4d23d9a(p0 [18]byte)
- func (c *ConsolePrecompile) Log_c598d185(p0 *big.Int, p1 *big.Int, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_c5ad85f9(p0 common.Address, p1 *big.Int, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_c67ea9d1(p0 string, p1 *big.Int, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_c6acc7a8(p0 *big.Int, p1 bool, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_c82aeaee(p0 [28]byte)
- func (c *ConsolePrecompile) Log_c91d5ed4(p0 string, p1 common.Address, p2 bool)
- func (c *ConsolePrecompile) Log_c95958d6(p0 string, p1 bool, p2 *big.Int)
- func (c *ConsolePrecompile) Log_ca47c4eb(p0 string, p1 *big.Int, p2 *big.Int)
- func (c *ConsolePrecompile) Log_ca7733b1(p0 string, p1 *big.Int, p2 bool)
- func (c *ConsolePrecompile) Log_cac43479(p0 common.Address, p1 bool, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_cc32ab07(p0 *big.Int, p1 common.Address, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_ccf790a1(p0 common.Address, p1 bool, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_ceb5f4d7(p0 bool, p1 *big.Int, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_cf009880(p0 *big.Int, p1 string, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_cf020fb1(p0 common.Address, p1 string, p2 bool)
- func (c *ConsolePrecompile) Log_cf18105c(p0 common.Address, p1 *big.Int, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_cf394485(p0 common.Address, p1 bool, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_d1ed7a3c(p0 *big.Int, p1 *big.Int, p2 *big.Int)
- func (c *ConsolePrecompile) Log_d2763667(p0 bool, p1 common.Address, p2 common.Address)
- func (c *ConsolePrecompile) Log_d2d423cd(p0 *big.Int, p1 string, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_d583c602(p0 *big.Int, p1 string, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_d5fae89c(p0 [22]byte)
- func (c *ConsolePrecompile) Log_d6019f1c(p0 bool, p1 common.Address, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_d6aefad2(p0 string, p1 string, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_d812a167(p0 bool, p1 common.Address, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_da9574e0(p0 [15]byte)
- func (c *ConsolePrecompile) Log_daf0d4aa(p0 common.Address, p1 common.Address)
- func (c *ConsolePrecompile) Log_dbb4c247(p0 bool, p1 string, p2 bool)
- func (c *ConsolePrecompile) Log_dc5e935b(p0 bool, p1 string, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_ddb06521(p0 *big.Int, p1 common.Address, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_dddb9561(p0 *big.Int, p1 bool, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_de03e774(p0 *big.Int, p1 bool, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_de68f20a(p0 string, p1 string, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_de9a9270(p0 bool, p1 common.Address, p2 string)
- func (c *ConsolePrecompile) Log_dfc4a2e8(p0 common.Address, p1 bool, p2 bool, p3 string)
- func (c *ConsolePrecompile) Log_e05f48d1(p0 [4]byte)
- func (c *ConsolePrecompile) Log_e0625b29(p0 string, p1 bool, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_e0e95b98(p0 string, p1 *big.Int, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_e0e9ad4f(p0 string, p1 common.Address, p2 string)
- func (c *ConsolePrecompile) Log_e21de278(p0 string, p1 *big.Int, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_e298f47d(p0 string, p1 bool, p2 string)
- func (c *ConsolePrecompile) Log_e2bfd60b(p0 bool, p1 common.Address, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_e351140f(p0 *big.Int, p1 common.Address, p2 bool, p3 bool)
- func (c *ConsolePrecompile) Log_e3a9ca2f(p0 bool, p1 bool, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_e41b6f6f(p0 string, p1 *big.Int, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_e5e70b2b(p0 bool, p1 *big.Int, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_e8d3018d(p0 *big.Int, p1 string, p2 common.Address, p3 *big.Int)
- func (c *ConsolePrecompile) Log_e8defba9(p0 bool, p1 *big.Int, p2 bool)
- func (c *ConsolePrecompile) Log_e9b62296(p0 [2]byte)
- func (c *ConsolePrecompile) Log_e9da3560(p0 [21]byte)
- func (c *ConsolePrecompile) Log_eb1bff80(p0 string, p1 string, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_eb7f6fd2(p0 *big.Int, p1 *big.Int, p2 bool, p3 *big.Int)
- func (c *ConsolePrecompile) Log_eb830c92(p0 common.Address, p1 bool, p2 bool)
- func (c *ConsolePrecompile) Log_eb928d7f(p0 *big.Int, p1 bool, p2 string, p3 bool)
- func (c *ConsolePrecompile) Log_ed8f28f6(p0 string, p1 common.Address, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_ee12c4ed(p0 [30]byte)
- func (c *ConsolePrecompile) Log_ef1cefe7(p0 common.Address, p1 common.Address, p2 string, p3 *big.Int)
- func (c *ConsolePrecompile) Log_ef529018(p0 *big.Int, p1 bool, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_ef72c513(p0 *big.Int, p1 common.Address, p2 bool, p3 common.Address)
- func (c *ConsolePrecompile) Log_f08744e8(p0 common.Address, p1 string, p2 common.Address)
- func (c *ConsolePrecompile) Log_f11699ed(p0 common.Address, p1 bool, p2 common.Address)
- func (c *ConsolePrecompile) Log_f1b35b34(p0 [24]byte)
- func (c *ConsolePrecompile) Log_f2a66286(p0 common.Address, p1 common.Address, p2 bool)
- func (c *ConsolePrecompile) Log_f45d7d2c(p0 string, p1 string, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_f4880ea4(p0 bool, p1 bool, p2 common.Address, p3 common.Address)
- func (c *ConsolePrecompile) Log_f5bc2249(p0 bool, p1 *big.Int, p2 string, p3 string)
- func (c *ConsolePrecompile) Log_f666715a(p0 *big.Int, p1 *big.Int)
- func (c *ConsolePrecompile) Log_f7e36245(p0 common.Address, p1 string, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_f808da20(p0 common.Address, p1 common.Address, p2 common.Address, p3 string)
- func (c *ConsolePrecompile) Log_f82c50f1(p0 *big.Int)
- func (c *ConsolePrecompile) Log_f8b149f1(p0 [26]byte)
- func (c *ConsolePrecompile) Log_f8f51b1e(p0 string, p1 common.Address, p2 *big.Int, p3 *big.Int)
- func (c *ConsolePrecompile) Log_f9ad2b89(p0 bool, p1 bool, p2 string, p3 common.Address)
- func (c *ConsolePrecompile) Log_fa8185af(p0 *big.Int, p1 *big.Int, p2 *big.Int, p3 common.Address)
- func (c *ConsolePrecompile) Log_fb772265(p0 common.Address, p1 string, p2 string)
- func (c *ConsolePrecompile) Log_fc4845f0(p0 string, p1 common.Address, p2 *big.Int, p3 bool)
- func (c *ConsolePrecompile) Log_fcec75e0(p0 string, p1 common.Address, p2 common.Address)
- func (c *ConsolePrecompile) Log_fdb4f990(p0 common.Address, p1 common.Address, p2 *big.Int, p3 string)
- func (c *ConsolePrecompile) Log_fedd1fff(p0 bool, p1 *big.Int, p2 string, p3 common.Address)
- type Context
- type Host
- func (h *Host) Call(from common.Address, to common.Address, input []byte, gas uint64, ...) (returnData []byte, leftOverGas uint64, err error)
- func (h *Host) CallerMode() CallerMode
- func (h *Host) Create(from common.Address, initCode []byte) (common.Address, error)
- func (h *Host) CurrentCall() CallFrame
- func (h *Host) EnableCheats() error
- func (h *Host) EnforceMaxCodeSize(v bool)
- func (h *Host) GetEnvVar(key string) (value string, ok bool)
- func (h *Host) HasPrecompileOverride(addr common.Address) bool
- func (h *Host) Label(addr common.Address, label string)
- func (h *Host) LoadContract(artifactName, contractName string) (common.Address, error)
- func (h *Host) LogCallStack()
- func (h *Host) MsgSender() common.Address
- func (h *Host) Prank(msgSender *common.Address, txOrigin *common.Address, repeat bool, ...) error
- func (h *Host) RememberArtifact(addr common.Address, artifact *foundry.Artifact, contract string)
- func (h *Host) ScriptBackendFn(to common.Address) CallBackendFn
- func (h *Host) SelfAddress() common.Address
- func (h *Host) SetEnvVar(key string, value string)
- func (h *Host) SetPrecompile(addr common.Address, precompile vm.PrecompiledContract)
- func (h *Host) SetTxOrigin(addr common.Address)
- func (h *Host) StateDump() (*foundry.ForgeAllocs, error)
- func (h *Host) StopPrank(broadcast bool) error
- func (h *Host) TxOrigin() common.Address
- func (h *Host) Wipe(addr common.Address)
- type Log
- type Prank
- type Precompile
- type PrecompileOption
Constants ¶
const (
// DefaultFoundryGasLimit is set to int64.max in foundry.toml
DefaultFoundryGasLimit = 9223372036854775807
)
Variables ¶
var ( // DefaultSenderAddr is known as DEFAULT_SENDER = address(uint160(uint256(keccak256("foundry default caller")))) DefaultSenderAddr = common.HexToAddress("0x1804c8AB1F12E6bbf3894d4083f33e07309d1f38") // DefaultScriptAddr is the address of the initial executing script, computed from: // cast compute-address --nonce 1 0x1804c8AB1F12E6bbf3894d4083f33e07309d1f38 DefaultScriptAddr = common.HexToAddress("0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496") // VMAddr is known as VM_ADDRESS = address(uint160(uint256(keccak256("hevm cheat code")))); VMAddr = common.HexToAddress("0x7109709ECfa91a80626fF3989D68f67F5b1DD12D") // ConsoleAddr is known as CONSOLE, "console.log" in ascii. // Utils like console.sol and console2.sol work by executing a staticcall to this address. ConsoleAddr = common.HexToAddress("0x000000000000000000636F6e736F6c652e6c6f67") // ScriptDeployer is used for temporary scripts address(uint160(uint256(keccak256("op-stack script deployer")))) ScriptDeployer = common.HexToAddress("0x76Ce131128F3616871f8CDA86d18fAB44E4d0D8B") )
var DefaultContext = Context{ ChainID: big.NewInt(1337), Sender: DefaultSenderAddr, Origin: DefaultSenderAddr, FeeRecipient: common.Address{}, GasLimit: DefaultFoundryGasLimit, BlockNum: 0, Timestamp: 0, PrevRandao: common.Hash{}, BlobHashes: []common.Hash{}, }
var ErrABICheck = errors.New("failed ABI check")
Functions ¶
func MakeBindings ¶
func MakeBindings[E any](backendFn CallBackendFn, checkABI func(abiDef string) bool, ) (*E, error)
MakeBindings turns a struct type with function-typed fields into EVM call bindings that are hooked up to the backend function. fields annotated with `evm:"-"` are ignored.
func WithFieldsOnly ¶
func WithFieldsOnly[E any](p *Precompile[E])
func WithPrecompileAtAddress ¶
func WithPrecompileAtAddress[E any](h *Host, addr common.Address, elem E, opts ...PrecompileOption[E]) (cleanup func(), err error)
WithPrecompileAtAddress turns a struct into a precompile, and inserts it as override at the given address in the host. A cleanup function is returned, to remove the precompile override again.
Types ¶
type ABIInt256 ¶
ABIInt256 is an alias for big.Int that is represented as int256 in ABI method signature, since big.Int interpretation defaults to uint256.
type CallBackendFn ¶
CallBackendFn is the function that encoded binding calls get made with. The function may return vm.ErrExecutionReverted to revert (revert is ABI decoded from data). Or any other error, where the return-data is then ignored.
type CallFrame ¶
type CallFrame struct { Depth int LastOp vm.OpCode LastPC uint64 // Reverts often happen in generated code. // We want to fallback to logging the source-map position of // the non-generated code, i.e. the origin of the last successful jump. LastJumpPC uint64 Ctx *vm.ScopeContext // Prank overrides the msg.sender, and optionally the origin. // Forge script does not support nested pranks on the same call-depth. // Pranks can also be broadcasting. Prank *Prank }
CallFrame encodes the scope context of the current call
type CallerMode ¶
type CallerMode uint8
CallerMode matches the CallerMode forge cheatcode enum.
const ( CallerModeNone CallerMode = iota CallerModeBroadcast CallerModeRecurrentBroadcast CallerModePrank CallerModeRecurrentPrank )
func (CallerMode) Big ¶
func (cm CallerMode) Big() *big.Int
type CheatCodesPrecompile ¶
type CheatCodesPrecompile struct {
// contains filtered or unexported fields
}
CheatCodesPrecompile implements the Forge vm cheatcodes. Note that forge-std wraps these cheatcodes, and provides additional convenience functions that use these cheatcodes.
func (*CheatCodesPrecompile) Accesses ¶
func (c *CheatCodesPrecompile) Accesses() (reads [][32]byte, writes [][32]byte, err error)
Accesses implements https://book.getfoundry.sh/cheatcodes/accesses
func (*CheatCodesPrecompile) Addr ¶
Addr implements https://book.getfoundry.sh/cheatcodes/addr
func (*CheatCodesPrecompile) Breakpoint_f0259e92 ¶
func (c *CheatCodesPrecompile) Breakpoint_f0259e92(name string)
Breakpoint_f0259e92 implements https://book.getfoundry.sh/cheatcodes/breakpoint
func (*CheatCodesPrecompile) Breakpoint_f7d39a8d ¶
func (c *CheatCodesPrecompile) Breakpoint_f7d39a8d(name string, v bool)
Breakpoint_f7d39a8d implements https://book.getfoundry.sh/cheatcodes/breakpoint
func (*CheatCodesPrecompile) Broadcast_afc98040 ¶
func (c *CheatCodesPrecompile) Broadcast_afc98040() error
Broadcast_afc98040 implements https://book.getfoundry.sh/cheatcodes/broadcast
func (*CheatCodesPrecompile) Broadcast_e6962cdb ¶
func (c *CheatCodesPrecompile) Broadcast_e6962cdb(who common.Address) error
Broadcast_e6962cdb implements https://book.getfoundry.sh/cheatcodes/broadcast
func (*CheatCodesPrecompile) ChainId ¶
func (c *CheatCodesPrecompile) ChainId(id *big.Int)
ChainId implements https://book.getfoundry.sh/cheatcodes/chain-id
func (*CheatCodesPrecompile) ClearMockedCalls ¶
func (c *CheatCodesPrecompile) ClearMockedCalls() error
ClearMockedCalls implements https://book.getfoundry.sh/cheatcodes/clear-mocked-calls
func (*CheatCodesPrecompile) Coinbase ¶
func (c *CheatCodesPrecompile) Coinbase(addr common.Address)
Coinbase implements https://book.getfoundry.sh/cheatcodes/coinbase
func (*CheatCodesPrecompile) Deal ¶
func (c *CheatCodesPrecompile) Deal(who common.Address, newBalance *big.Int)
Deal implements https://book.getfoundry.sh/cheatcodes/deal
func (*CheatCodesPrecompile) DeriveKey_6229498b ¶
DeriveKey_6229498b implements https://book.getfoundry.sh/cheatcodes/derive-key
func (*CheatCodesPrecompile) DeriveKey_6bcb2c1b ¶
func (c *CheatCodesPrecompile) DeriveKey_6bcb2c1b(mnemonic string, path string, index uint32) (*big.Int, error)
DeriveKey_6bcb2c1b implements https://book.getfoundry.sh/cheatcodes/derive-key
func (*CheatCodesPrecompile) Difficulty ¶
func (c *CheatCodesPrecompile) Difficulty(_ *big.Int) error
Difficulty implements https://book.getfoundry.sh/cheatcodes/difficulty
func (*CheatCodesPrecompile) DumpState ¶
func (c *CheatCodesPrecompile) DumpState(pathToStateJson string) error
func (*CheatCodesPrecompile) EnvAddress_350d56bf ¶
func (c *CheatCodesPrecompile) EnvAddress_350d56bf(key string) (common.Address, error)
EnvAddress implements https://book.getfoundry.sh/cheatcodes/env-address
func (*CheatCodesPrecompile) EnvAddress_ad31b9fa ¶
func (*CheatCodesPrecompile) EnvBool_7ed1ec7d ¶
func (c *CheatCodesPrecompile) EnvBool_7ed1ec7d(key string) (bool, error)
EnvBool implements https://book.getfoundry.sh/cheatcodes/env-bool
func (*CheatCodesPrecompile) EnvBool_aaaddeaf ¶
func (c *CheatCodesPrecompile) EnvBool_aaaddeaf(key string, delimiter string) ([]bool, error)
func (*CheatCodesPrecompile) EnvBytes32_5af231c1 ¶
func (c *CheatCodesPrecompile) EnvBytes32_5af231c1(key string, delimiter string) ([][32]byte, error)
func (*CheatCodesPrecompile) EnvBytes32_97949042 ¶
func (c *CheatCodesPrecompile) EnvBytes32_97949042(key string) ([32]byte, error)
EnvBytes32 implements https://book.getfoundry.sh/cheatcodes/env-bytes32
func (*CheatCodesPrecompile) EnvBytes_4d7baf06 ¶
func (c *CheatCodesPrecompile) EnvBytes_4d7baf06(key string) ([]byte, error)
EnvBytes implements https://book.getfoundry.sh/cheatcodes/env-bytes
func (*CheatCodesPrecompile) EnvBytes_ddc2651b ¶
func (c *CheatCodesPrecompile) EnvBytes_ddc2651b(key string, delimiter string) ([][]byte, error)
func (*CheatCodesPrecompile) EnvInt_42181150 ¶
func (c *CheatCodesPrecompile) EnvInt_42181150(key string, delimiter string) ([]*ABIInt256, error)
func (*CheatCodesPrecompile) EnvInt_892a0c61 ¶
func (c *CheatCodesPrecompile) EnvInt_892a0c61(key string) (*ABIInt256, error)
EnvInt implements https://book.getfoundry.sh/cheatcodes/env-int
func (*CheatCodesPrecompile) EnvOr_2281f367 ¶
func (*CheatCodesPrecompile) EnvOr_4700d74b ¶
func (*CheatCodesPrecompile) EnvOr_4777f3cf ¶
func (c *CheatCodesPrecompile) EnvOr_4777f3cf(key string, defaultValue bool) (bool, error)
func (*CheatCodesPrecompile) EnvOr_561fe540 ¶
func (*CheatCodesPrecompile) EnvOr_5e97348f ¶
func (*CheatCodesPrecompile) EnvOr_64bc3e64 ¶
func (*CheatCodesPrecompile) EnvOr_74318528 ¶
func (*CheatCodesPrecompile) EnvOr_859216bc ¶
func (*CheatCodesPrecompile) EnvOr_b3e47705 ¶
func (c *CheatCodesPrecompile) EnvOr_b3e47705(key string, defaultValue []byte) ([]byte, error)
func (*CheatCodesPrecompile) EnvOr_b4a85892 ¶
func (c *CheatCodesPrecompile) EnvOr_b4a85892(key string, defaultValue [32]byte) ([32]byte, error)
func (*CheatCodesPrecompile) EnvOr_bbcb713e ¶
func (c *CheatCodesPrecompile) EnvOr_bbcb713e(key string, defaultValue *ABIInt256) (*ABIInt256, error)
func (*CheatCodesPrecompile) EnvOr_c74e9deb ¶
func (*CheatCodesPrecompile) EnvOr_d145736c ¶
func (c *CheatCodesPrecompile) EnvOr_d145736c(key string, defaultValue string) (string, error)
func (*CheatCodesPrecompile) EnvOr_eb85e83b ¶
func (*CheatCodesPrecompile) EnvString_14b02bc9 ¶
func (c *CheatCodesPrecompile) EnvString_14b02bc9(key string, delimiter string) ([]string, error)
func (*CheatCodesPrecompile) EnvString_f877cb19 ¶
func (c *CheatCodesPrecompile) EnvString_f877cb19(key string) (string, error)
EnvString implements https://book.getfoundry.sh/cheatcodes/env-string
func (*CheatCodesPrecompile) EnvUint_c1978d1f ¶
func (c *CheatCodesPrecompile) EnvUint_c1978d1f(key string) (*big.Int, error)
EnvUint implements https://book.getfoundry.sh/cheatcodes/env-uint
func (*CheatCodesPrecompile) EnvUint_f3dec099 ¶
func (*CheatCodesPrecompile) Etch ¶
func (c *CheatCodesPrecompile) Etch(who common.Address, code []byte)
Etch implements https://book.getfoundry.sh/cheatcodes/etch
func (*CheatCodesPrecompile) Fee ¶
func (c *CheatCodesPrecompile) Fee(fee *big.Int)
Fee implements https://book.getfoundry.sh/cheatcodes/fee
func (*CheatCodesPrecompile) Ffi ¶
func (c *CheatCodesPrecompile) Ffi(args []string) ([]byte, error)
Ffi implements https://book.getfoundry.sh/cheatcodes/ffi
func (*CheatCodesPrecompile) GetBlockNumber ¶
func (c *CheatCodesPrecompile) GetBlockNumber() *big.Int
GetBlockNumber implements https://book.getfoundry.sh/cheatcodes/get-block-number
func (*CheatCodesPrecompile) GetBlockTimestamp ¶
func (c *CheatCodesPrecompile) GetBlockTimestamp() *big.Int
GetBlockTimestamp implements https://book.getfoundry.sh/cheatcodes/get-block-timestamp
func (*CheatCodesPrecompile) GetCode ¶
func (c *CheatCodesPrecompile) GetCode(input string) ([]byte, error)
GetCode implements https://book.getfoundry.sh/cheatcodes/get-code
func (*CheatCodesPrecompile) GetDeployedCode ¶
func (c *CheatCodesPrecompile) GetDeployedCode(input string) ([]byte, error)
GetDeployedCode implements https://book.getfoundry.sh/cheatcodes/get-deployed-code
func (*CheatCodesPrecompile) GetLabel ¶
func (c *CheatCodesPrecompile) GetLabel(addr common.Address) string
GetLabel implements https://book.getfoundry.sh/cheatcodes/get-label
func (*CheatCodesPrecompile) GetNonce ¶
func (c *CheatCodesPrecompile) GetNonce(addr common.Address) uint64
GetNonce implements https://book.getfoundry.sh/cheatcodes/get-nonce
func (*CheatCodesPrecompile) KeyExists ¶
func (c *CheatCodesPrecompile) KeyExists(jsonData string, key string) (bool, error)
KeyExists implements https://book.getfoundry.sh/cheatcodes/key-exists
func (*CheatCodesPrecompile) KeyExistsJson ¶
func (c *CheatCodesPrecompile) KeyExistsJson(data string, key string) (bool, error)
KeyExistsJson implements https://book.getfoundry.sh/cheatcodes/key-exists-json
func (*CheatCodesPrecompile) KeyExistsToml ¶
func (c *CheatCodesPrecompile) KeyExistsToml(data string, key string) (bool, error)
KeyExistsToml implements https://book.getfoundry.sh/cheatcodes/key-exists-toml
func (*CheatCodesPrecompile) Label ¶
func (c *CheatCodesPrecompile) Label(addr common.Address, label string)
Label implements https://book.getfoundry.sh/cheatcodes/label
func (*CheatCodesPrecompile) Load ¶
func (c *CheatCodesPrecompile) Load(account common.Address, slot [32]byte) [32]byte
Load implements https://book.getfoundry.sh/cheatcodes/load
func (*CheatCodesPrecompile) LoadAllocs ¶
func (c *CheatCodesPrecompile) LoadAllocs(pathToAllocsJson string) error
func (*CheatCodesPrecompile) MockCallRevert_d23cd037 ¶
func (c *CheatCodesPrecompile) MockCallRevert_d23cd037(where common.Address, value *big.Int, data []byte, retdata []byte) error
MockCallRevert_d23cd037 implements https://book.getfoundry.sh/cheatcodes/mock-call-revert
func (*CheatCodesPrecompile) MockCallRevert_dbaad147 ¶
func (c *CheatCodesPrecompile) MockCallRevert_dbaad147(where common.Address, data []byte, retdata []byte) error
MockCallRevert_dbaad147 implements https://book.getfoundry.sh/cheatcodes/mock-call-revert
func (*CheatCodesPrecompile) MockCall_81409b91 ¶
func (c *CheatCodesPrecompile) MockCall_81409b91(where common.Address, value *big.Int, data []byte, retdata []byte) error
MockCall_81409b91 implements https://book.getfoundry.sh/cheatcodes/mock-call
func (*CheatCodesPrecompile) MockCall_b96213e4 ¶
func (c *CheatCodesPrecompile) MockCall_b96213e4(where common.Address, data []byte, retdata []byte) error
MockCall_b96213e4 implements https://book.getfoundry.sh/cheatcodes/mock-call
func (*CheatCodesPrecompile) ParseAddress ¶
func (c *CheatCodesPrecompile) ParseAddress(stringifiedValue string) (common.Address, error)
ParseAddress implements https://book.getfoundry.sh/cheatcodes/parse-address
func (*CheatCodesPrecompile) ParseBool ¶
func (c *CheatCodesPrecompile) ParseBool(stringifiedValue string) (bool, error)
ParseBool implements https://book.getfoundry.sh/cheatcodes/parse-bool
func (*CheatCodesPrecompile) ParseBytes ¶
func (c *CheatCodesPrecompile) ParseBytes(stringifiedValue string) ([]byte, error)
ParseBytes implements https://book.getfoundry.sh/cheatcodes/parse-bytes
func (*CheatCodesPrecompile) ParseBytes32 ¶
func (c *CheatCodesPrecompile) ParseBytes32(stringifiedValue string) ([32]byte, error)
ParseBytes32 implements https://book.getfoundry.sh/cheatcodes/parse-bytes32
func (*CheatCodesPrecompile) ParseInt ¶
func (c *CheatCodesPrecompile) ParseInt(stringifiedValue string) (*ABIInt256, error)
ParseInt implements https://book.getfoundry.sh/cheatcodes/parse-int
func (*CheatCodesPrecompile) ParseJsonKeys ¶
func (c *CheatCodesPrecompile) ParseJsonKeys(data string, key string) ([]string, error)
ParseJsonKeys implements https://book.getfoundry.sh/cheatcodes/parse-json-keys
func (*CheatCodesPrecompile) ParseJson_6a82600a ¶
func (c *CheatCodesPrecompile) ParseJson_6a82600a(data string)
func (*CheatCodesPrecompile) ParseJson_85940ef1 ¶
func (c *CheatCodesPrecompile) ParseJson_85940ef1(data string, key string)
ParseJSON implements https://book.getfoundry.sh/cheatcodes/parse-json
func (*CheatCodesPrecompile) ParseTomlKeys ¶
func (c *CheatCodesPrecompile) ParseTomlKeys(data string, key string) ([]string, error)
ParseTomlKeys implements https://book.getfoundry.sh/cheatcodes/parse-toml-keys
func (*CheatCodesPrecompile) ParseToml_37736e08 ¶
func (c *CheatCodesPrecompile) ParseToml_37736e08(data string, key string)
ParseToml implements https://book.getfoundry.sh/cheatcodes/parse-toml
func (*CheatCodesPrecompile) ParseToml_592151f0 ¶
func (c *CheatCodesPrecompile) ParseToml_592151f0(data string)
func (*CheatCodesPrecompile) ParseUint ¶
func (c *CheatCodesPrecompile) ParseUint(stringifiedValue string) (*big.Int, error)
ParseUint implements https://book.getfoundry.sh/cheatcodes/parse-uint
func (*CheatCodesPrecompile) PauseGasMetering ¶
func (c *CheatCodesPrecompile) PauseGasMetering() error
PauseGasMetering implements https://book.getfoundry.sh/cheatcodes/pause-gas-metering
func (*CheatCodesPrecompile) Prank_47e50cce ¶
Prank_47e50cce implements https://book.getfoundry.sh/cheatcodes/prank
func (*CheatCodesPrecompile) Prank_ca669fa7 ¶
func (c *CheatCodesPrecompile) Prank_ca669fa7(sender common.Address) error
Prank_ca669fa7 implements https://book.getfoundry.sh/cheatcodes/prank
func (*CheatCodesPrecompile) Prevrandao ¶
func (c *CheatCodesPrecompile) Prevrandao(v [32]byte)
Prevrandao implements https://book.getfoundry.sh/cheatcodes/prevrandao
func (*CheatCodesPrecompile) ProjectRoot ¶
func (c *CheatCodesPrecompile) ProjectRoot() string
ProjectRoot implements https://book.getfoundry.sh/cheatcodes/project-root
func (*CheatCodesPrecompile) Prompt ¶
func (c *CheatCodesPrecompile) Prompt() error
Prompt implements https://book.getfoundry.sh/cheatcodes/prompt
func (*CheatCodesPrecompile) ReadCallers ¶
func (c *CheatCodesPrecompile) ReadCallers() (callerMode *big.Int, msgSender common.Address, txOrigin common.Address)
ReadCallers implements https://book.getfoundry.sh/cheatcodes/read-callers
func (*CheatCodesPrecompile) Record ¶
func (c *CheatCodesPrecompile) Record() error
Record implements https://book.getfoundry.sh/cheatcodes/record
func (*CheatCodesPrecompile) RecordLogs ¶
func (c *CheatCodesPrecompile) RecordLogs() error
RecordLogs implements https://book.getfoundry.sh/cheatcodes/record-logs
func (*CheatCodesPrecompile) RememberKey ¶
RememberKey implements https://book.getfoundry.sh/cheatcodes/remember-key
func (*CheatCodesPrecompile) ResetNonce ¶
func (c *CheatCodesPrecompile) ResetNonce(addr common.Address)
func (*CheatCodesPrecompile) ResumeGasMetering ¶
func (c *CheatCodesPrecompile) ResumeGasMetering() error
ResumeGasMetering implements https://book.getfoundry.sh/cheatcodes/resume-gas-metering
func (*CheatCodesPrecompile) Roll ¶
func (c *CheatCodesPrecompile) Roll(num *big.Int)
Roll implements https://book.getfoundry.sh/cheatcodes/roll
func (*CheatCodesPrecompile) SerializeAddress_1e356e1a ¶
func (*CheatCodesPrecompile) SerializeAddress_972c6062 ¶
func (*CheatCodesPrecompile) SerializeBool_92925aa1 ¶
func (*CheatCodesPrecompile) SerializeBool_ac22e971 ¶
func (*CheatCodesPrecompile) SerializeBytes32_201e43e2 ¶
func (*CheatCodesPrecompile) SerializeBytes32_2d812b44 ¶
func (*CheatCodesPrecompile) SerializeBytes_9884b232 ¶
func (*CheatCodesPrecompile) SerializeBytes_f21d52c7 ¶
func (*CheatCodesPrecompile) SerializeInt_3f33db60 ¶
func (*CheatCodesPrecompile) SerializeInt_7676e127 ¶
func (*CheatCodesPrecompile) SerializeJson ¶
func (c *CheatCodesPrecompile) SerializeJson(objectKey string, value string) (string, error)
SerializeJson implements https://book.getfoundry.sh/cheatcodes/serialize-json
func (*CheatCodesPrecompile) SerializeString_561cd6f3 ¶
func (*CheatCodesPrecompile) SerializeString_88da6d35 ¶
func (*CheatCodesPrecompile) SerializeUint_129e9002 ¶
func (*CheatCodesPrecompile) SerializeUint_fee9a469 ¶
func (*CheatCodesPrecompile) SetEnv ¶
func (c *CheatCodesPrecompile) SetEnv(key string, value string) error
SetEnv implements https://book.getfoundry.sh/cheatcodes/set-env
func (*CheatCodesPrecompile) SetNonce ¶
func (c *CheatCodesPrecompile) SetNonce(account common.Address, nonce uint64)
SetNonce implements https://book.getfoundry.sh/cheatcodes/set-nonce
func (*CheatCodesPrecompile) Sign ¶
func (c *CheatCodesPrecompile) Sign() error
Sign implements https://book.getfoundry.sh/cheatcodes/sign
func (*CheatCodesPrecompile) Skip ¶
func (c *CheatCodesPrecompile) Skip() error
Skip implements https://book.getfoundry.sh/cheatcodes/skip
func (*CheatCodesPrecompile) Sleep ¶
func (c *CheatCodesPrecompile) Sleep(ms *big.Int) error
Sleep implements https://book.getfoundry.sh/cheatcodes/sleep
func (*CheatCodesPrecompile) StartBroadcast_7fb5297f ¶
func (c *CheatCodesPrecompile) StartBroadcast_7fb5297f() error
StartBroadcast_7fb5297f implements https://book.getfoundry.sh/cheatcodes/start-broadcast
func (*CheatCodesPrecompile) StartBroadcast_7fec2a8d ¶
func (c *CheatCodesPrecompile) StartBroadcast_7fec2a8d(who common.Address) error
StartBroadcast_7fec2a8d implements https://book.getfoundry.sh/cheatcodes/start-broadcast
func (*CheatCodesPrecompile) StartPrank_06447d56 ¶
func (c *CheatCodesPrecompile) StartPrank_06447d56(sender common.Address) error
StartPrank_06447d56 implements https://book.getfoundry.sh/cheatcodes/start-prank
func (*CheatCodesPrecompile) StartPrank_45b56078 ¶
func (c *CheatCodesPrecompile) StartPrank_45b56078(sender common.Address, origin common.Address) error
StartPrank_45b56078 implements https://book.getfoundry.sh/cheatcodes/start-prank
func (*CheatCodesPrecompile) StartStateDiffRecording ¶
func (c *CheatCodesPrecompile) StartStateDiffRecording() error
StartStateDiffRecording implements https://book.getfoundry.sh/cheatcodes/start-state-diff-recording
func (*CheatCodesPrecompile) StopAndReturnStateDiff ¶
func (c *CheatCodesPrecompile) StopAndReturnStateDiff() error
StopAndReturnStateDiff implements https://book.getfoundry.sh/cheatcodes/stop-and-return-state-diff
func (*CheatCodesPrecompile) StopBroadcast ¶
func (c *CheatCodesPrecompile) StopBroadcast() error
StopBroadcast implements https://book.getfoundry.sh/cheatcodes/stop-broadcast
func (*CheatCodesPrecompile) StopPrank ¶
func (c *CheatCodesPrecompile) StopPrank() error
StopPrank implements https://book.getfoundry.sh/cheatcodes/stop-prank
func (*CheatCodesPrecompile) Store ¶
func (c *CheatCodesPrecompile) Store(account common.Address, slot [32]byte, value [32]byte)
Store implements https://book.getfoundry.sh/cheatcodes/store
func (*CheatCodesPrecompile) ToString_56ca623e ¶
func (c *CheatCodesPrecompile) ToString_56ca623e(v common.Address) string
ToString_56ca623e implements https://book.getfoundry.sh/cheatcodes/to-string
func (*CheatCodesPrecompile) ToString_6900a3ae ¶
func (c *CheatCodesPrecompile) ToString_6900a3ae(v *big.Int) string
ToString_6900a3ae implements https://book.getfoundry.sh/cheatcodes/to-string
func (*CheatCodesPrecompile) ToString_71aad10d ¶
func (c *CheatCodesPrecompile) ToString_71aad10d(v []byte) string
ToString_71aad10d implements https://book.getfoundry.sh/cheatcodes/to-string
func (*CheatCodesPrecompile) ToString_71dce7da ¶
func (c *CheatCodesPrecompile) ToString_71dce7da(v bool) string
ToString_71dce7da implements https://book.getfoundry.sh/cheatcodes/to-string
func (*CheatCodesPrecompile) ToString_a322c40e ¶
func (c *CheatCodesPrecompile) ToString_a322c40e(v *ABIInt256) string
ToString_a322c40e implements https://book.getfoundry.sh/cheatcodes/to-string
func (*CheatCodesPrecompile) ToString_b11a19e8 ¶
func (c *CheatCodesPrecompile) ToString_b11a19e8(v [32]byte) string
ToString_b11a19e8 implements https://book.getfoundry.sh/cheatcodes/to-string
func (*CheatCodesPrecompile) TxGasPrice ¶
func (c *CheatCodesPrecompile) TxGasPrice(newGasPrice *big.Int)
TxGasPrice implements https://book.getfoundry.sh/cheatcodes/tx-gas-price
func (*CheatCodesPrecompile) UnixTime ¶
func (c *CheatCodesPrecompile) UnixTime() (ms *big.Int)
UnixTime implements https://book.getfoundry.sh/cheatcodes/unix-time
func (*CheatCodesPrecompile) Warp ¶
func (c *CheatCodesPrecompile) Warp(timestamp *big.Int)
Warp implements https://book.getfoundry.sh/cheatcodes/warp
func (*CheatCodesPrecompile) WriteJson_35d6ad46 ¶
func (c *CheatCodesPrecompile) WriteJson_35d6ad46(data string, path string, valueKey string) error
func (*CheatCodesPrecompile) WriteJson_e23cd19f ¶
func (c *CheatCodesPrecompile) WriteJson_e23cd19f(data string, path string) error
WriteJson implements https://book.getfoundry.sh/cheatcodes/write-json
func (*CheatCodesPrecompile) WriteToml_51ac6a33 ¶
func (c *CheatCodesPrecompile) WriteToml_51ac6a33(data string, path string, valueKey string) error
func (*CheatCodesPrecompile) WriteToml_c0865ba7 ¶
func (c *CheatCodesPrecompile) WriteToml_c0865ba7(data string, path string) error
WriteToml implements https://book.getfoundry.sh/cheatcodes/write-toml
type ConsolePrecompile ¶
type ConsolePrecompile struct {
// contains filtered or unexported fields
}
func (*ConsolePrecompile) Log_007150be ¶
func (*ConsolePrecompile) Log_00dd87b9 ¶
func (*ConsolePrecompile) Log_013d178b ¶
func (c *ConsolePrecompile) Log_013d178b(p0 [10]byte)
func (*ConsolePrecompile) Log_018c84c2 ¶
func (*ConsolePrecompile) Log_031c6f73 ¶
func (*ConsolePrecompile) Log_04004a2e ¶
func (c *ConsolePrecompile) Log_04004a2e(p0 [11]byte)
func (*ConsolePrecompile) Log_0454c079 ¶
func (*ConsolePrecompile) Log_078287f5 ¶
func (*ConsolePrecompile) Log_07831502 ¶
func (*ConsolePrecompile) Log_088ef9d2 ¶
func (*ConsolePrecompile) Log_091ffaf5 ¶
func (*ConsolePrecompile) Log_0aa6cfad ¶
func (*ConsolePrecompile) Log_0b84bc58 ¶
func (c *ConsolePrecompile) Log_0b84bc58(p0 [25]byte)
func (*ConsolePrecompile) Log_0bb00eab ¶
func (*ConsolePrecompile) Log_0be77f56 ¶
func (c *ConsolePrecompile) Log_0be77f56(p0 hexutil.Bytes)
func (*ConsolePrecompile) Log_0c66d1be ¶
func (*ConsolePrecompile) Log_0c9cd9c1 ¶
func (*ConsolePrecompile) Log_0d26b925 ¶
func (*ConsolePrecompile) Log_0d36fa20 ¶
func (*ConsolePrecompile) Log_0df12b76 ¶
func (*ConsolePrecompile) Log_0e378994 ¶
func (*ConsolePrecompile) Log_0ef7e050 ¶
func (*ConsolePrecompile) Log_100f650e ¶
func (*ConsolePrecompile) Log_1023f7b2 ¶
func (*ConsolePrecompile) Log_1078f68d ¶
func (c *ConsolePrecompile) Log_1078f68d(p0 bool, p1 bool, p2 common.Address)
func (*ConsolePrecompile) Log_1093ee11 ¶
func (c *ConsolePrecompile) Log_1093ee11(p0 bool, p1 string, p2 *big.Int)
func (*ConsolePrecompile) Log_12d6c788 ¶
func (*ConsolePrecompile) Log_12f21602 ¶
func (c *ConsolePrecompile) Log_12f21602(p0 bool, p1 bool, p2 *big.Int)
func (*ConsolePrecompile) Log_136b05dd ¶
func (*ConsolePrecompile) Log_1537dc87 ¶
func (*ConsolePrecompile) Log_1596a1ce ¶
func (*ConsolePrecompile) Log_159f8927 ¶
func (*ConsolePrecompile) Log_15c127b5 ¶
func (*ConsolePrecompile) Log_15cac476 ¶
func (*ConsolePrecompile) Log_1606a393 ¶
func (*ConsolePrecompile) Log_1762e32a ¶
func (c *ConsolePrecompile) Log_1762e32a(p0 bool, p1 string, p2 string, p3 string)
func (*ConsolePrecompile) Log_17fe6185 ¶
func (*ConsolePrecompile) Log_18c9c746 ¶
func (c *ConsolePrecompile) Log_18c9c746(p0 bool, p1 common.Address, p2 bool)
func (*ConsolePrecompile) Log_193fb800 ¶
func (*ConsolePrecompile) Log_19fd4956 ¶
func (*ConsolePrecompile) Log_1ad96de6 ¶
func (*ConsolePrecompile) Log_1bb3b09a ¶
func (*ConsolePrecompile) Log_1c41a336 ¶
func (*ConsolePrecompile) Log_1c7ec448 ¶
func (*ConsolePrecompile) Log_1c9d7eb3 ¶
func (c *ConsolePrecompile) Log_1c9d7eb3(p0 *big.Int, p1 bool)
func (*ConsolePrecompile) Log_1d14d001 ¶
func (*ConsolePrecompile) Log_1da986ea ¶
func (*ConsolePrecompile) Log_1dc8e1b8 ¶
func (*ConsolePrecompile) Log_1e4b87e5 ¶
func (c *ConsolePrecompile) Log_1e4b87e5(p0 bool, p1 string, p2 string, p3 bool)
func (*ConsolePrecompile) Log_20098014 ¶
func (*ConsolePrecompile) Log_205871c2 ¶
func (*ConsolePrecompile) Log_20718650 ¶
func (c *ConsolePrecompile) Log_20718650(p0 *big.Int, p1 bool, p2 bool)
func (*ConsolePrecompile) Log_20e3984d ¶
func (*ConsolePrecompile) Log_212255cc ¶
func (c *ConsolePrecompile) Log_212255cc(p0 common.Address, p1 bool, p2 string)
func (*ConsolePrecompile) Log_21ad0683 ¶
func (*ConsolePrecompile) Log_21bdaf25 ¶
func (*ConsolePrecompile) Log_223603bd ¶
func (*ConsolePrecompile) Log_22f6b999 ¶
func (*ConsolePrecompile) Log_245986f2 ¶
func (*ConsolePrecompile) Log_2488b414 ¶
func (*ConsolePrecompile) Log_24f91465 ¶
func (*ConsolePrecompile) Log_2555fa46 ¶
func (c *ConsolePrecompile) Log_2555fa46(p0 bool, p1 bool, p2 string)
func (*ConsolePrecompile) Log_26f560a8 ¶
func (*ConsolePrecompile) Log_27b7cf85 ¶
func (c *ConsolePrecompile) Log_27b7cf85(p0 [32]byte)
func (*ConsolePrecompile) Log_27d8afd2 ¶
func (*ConsolePrecompile) Log_28863fcb ¶
func (*ConsolePrecompile) Log_2a110e83 ¶
func (c *ConsolePrecompile) Log_2a110e83(p0 bool, p1 bool)
func (*ConsolePrecompile) Log_2ae408d4 ¶
func (c *ConsolePrecompile) Log_2ae408d4(p0 bool, p1 bool, p2 bool, p3 string)
func (*ConsolePrecompile) Log_2b2b18dc ¶
func (*ConsolePrecompile) Log_2c1754ed ¶
func (c *ConsolePrecompile) Log_2c1754ed(p0 string, p1 string, p2 string, p3 bool)
func (*ConsolePrecompile) Log_2c1d0746 ¶
func (*ConsolePrecompile) Log_2c2ecbc2 ¶
func (c *ConsolePrecompile) Log_2c2ecbc2(p0 common.Address)
func (*ConsolePrecompile) Log_2cd4134a ¶
func (*ConsolePrecompile) Log_2ced7cef ¶
func (c *ConsolePrecompile) Log_2ced7cef(p0 string, p1 string, p2 string)
func (*ConsolePrecompile) Log_2d5b6cb9 ¶
func (c *ConsolePrecompile) Log_2d5b6cb9(p0 *ABIInt256)
func (*ConsolePrecompile) Log_2d834926 ¶
func (c *ConsolePrecompile) Log_2d834926(p0 [3]byte)
func (*ConsolePrecompile) Log_2d8e33a4 ¶
func (*ConsolePrecompile) Log_2dd778e6 ¶
func (*ConsolePrecompile) Log_319af333 ¶
func (c *ConsolePrecompile) Log_319af333(p0 string, p1 common.Address)
func (*ConsolePrecompile) Log_32458eed ¶
func (c *ConsolePrecompile) Log_32458eed(p0 bool)
func (*ConsolePrecompile) Log_339f673a ¶
func (c *ConsolePrecompile) Log_339f673a(p0 [17]byte)
func (*ConsolePrecompile) Log_33e9dd1d ¶
func (*ConsolePrecompile) Log_34f0e636 ¶
func (*ConsolePrecompile) Log_35085f7b ¶
func (*ConsolePrecompile) Log_354c36d6 ¶
func (*ConsolePrecompile) Log_35a5071f ¶
func (*ConsolePrecompile) Log_37103367 ¶
func (*ConsolePrecompile) Log_374bb4b2 ¶
func (*ConsolePrecompile) Log_37aa7d4c ¶
func (*ConsolePrecompile) Log_386ff5f4 ¶
func (*ConsolePrecompile) Log_3971e78c ¶
func (*ConsolePrecompile) Log_399174d3 ¶
func (c *ConsolePrecompile) Log_399174d3(p0 bool, p1 *big.Int)
func (*ConsolePrecompile) Log_3a3757dd ¶
func (c *ConsolePrecompile) Log_3a3757dd(p0 [27]byte)
func (*ConsolePrecompile) Log_3b2279b4 ¶
func (*ConsolePrecompile) Log_3b2a5ce0 ¶
func (c *ConsolePrecompile) Log_3b2a5ce0(p0 bool, p1 bool, p2 bool, p3 bool)
func (*ConsolePrecompile) Log_3bf5e537 ¶
func (*ConsolePrecompile) Log_3ca6268e ¶
func (c *ConsolePrecompile) Log_3ca6268e(p0 string, p1 *ABIInt256)
func (*ConsolePrecompile) Log_3e128ca3 ¶
func (*ConsolePrecompile) Log_3e9f866a ¶
func (*ConsolePrecompile) Log_3f8a701d ¶
func (c *ConsolePrecompile) Log_3f8a701d(p0 string, p1 bool, p2 string, p3 bool)
func (*ConsolePrecompile) Log_40785869 ¶
func (c *ConsolePrecompile) Log_40785869(p0 string, p1 string, p2 bool, p3 bool)
func (*ConsolePrecompile) Log_41304fac ¶
func (c *ConsolePrecompile) Log_41304fac(p0 string)
func (*ConsolePrecompile) Log_42d21db7 ¶
func (*ConsolePrecompile) Log_439c7bef ¶
func (*ConsolePrecompile) Log_448830a8 ¶
func (*ConsolePrecompile) Log_454d54a5 ¶
func (*ConsolePrecompile) Log_457fe3cf ¶
func (*ConsolePrecompile) Log_46600be0 ¶
func (*ConsolePrecompile) Log_46826b5d ¶
func (*ConsolePrecompile) Log_475c5c33 ¶
func (*ConsolePrecompile) Log_4766da72 ¶
func (*ConsolePrecompile) Log_478d1c62 ¶
func (*ConsolePrecompile) Log_483d0416 ¶
func (c *ConsolePrecompile) Log_483d0416(p0 bool, p1 string, p2 bool, p3 string)
func (*ConsolePrecompile) Log_4a28c017 ¶
func (*ConsolePrecompile) Log_4a66cb34 ¶
func (*ConsolePrecompile) Log_4b5c4277 ¶
func (c *ConsolePrecompile) Log_4b5c4277(p0 string, p1 string)
func (*ConsolePrecompile) Log_4b69c3d5 ¶
func (c *ConsolePrecompile) Log_4b69c3d5(p0 [29]byte)
func (*ConsolePrecompile) Log_4c123d57 ¶
func (*ConsolePrecompile) Log_4ceda75a ¶
func (c *ConsolePrecompile) Log_4ceda75a(p0 *big.Int, p1 string, p2 bool)
func (*ConsolePrecompile) Log_4ed57e28 ¶
func (c *ConsolePrecompile) Log_4ed57e28(p0 [7]byte)
func (*ConsolePrecompile) Log_4f04fdc6 ¶
func (*ConsolePrecompile) Log_4f84252e ¶
func (c *ConsolePrecompile) Log_4f84252e(p0 [8]byte)
func (*ConsolePrecompile) Log_50709698 ¶
func (c *ConsolePrecompile) Log_50709698(p0 bool, p1 bool, p2 bool)
func (*ConsolePrecompile) Log_50ad461d ¶
func (*ConsolePrecompile) Log_515e38b6 ¶
func (*ConsolePrecompile) Log_5188e3e9 ¶
func (c *ConsolePrecompile) Log_5188e3e9(p0 [20]byte)
func (*ConsolePrecompile) Log_51973ec9 ¶
func (c *ConsolePrecompile) Log_51973ec9()
func (*ConsolePrecompile) Log_51f09ff8 ¶
func (*ConsolePrecompile) Log_538e06ab ¶
func (*ConsolePrecompile) Log_54a7a9a0 ¶
func (*ConsolePrecompile) Log_56a5d1b1 ¶
func (*ConsolePrecompile) Log_5821efa1 ¶
func (c *ConsolePrecompile) Log_5821efa1(p0 string, p1 string, p2 *big.Int)
func (*ConsolePrecompile) Log_5970e089 ¶
func (c *ConsolePrecompile) Log_5970e089(p0 string, p1 *big.Int, p2 string)
func (*ConsolePrecompile) Log_59cfcbe3 ¶
func (*ConsolePrecompile) Log_5a477632 ¶
func (*ConsolePrecompile) Log_5a9b5ed5 ¶
func (*ConsolePrecompile) Log_5ab84e1f ¶
func (*ConsolePrecompile) Log_5abd992a ¶
func (*ConsolePrecompile) Log_5c430d47 ¶
func (*ConsolePrecompile) Log_5c96b331 ¶
func (*ConsolePrecompile) Log_5ccd4e37 ¶
func (*ConsolePrecompile) Log_5d02c50b ¶
func (*ConsolePrecompile) Log_5d08bb05 ¶
func (*ConsolePrecompile) Log_5d1a971a ¶
func (*ConsolePrecompile) Log_5da297eb ¶
func (*ConsolePrecompile) Log_5e6b5a33 ¶
func (c *ConsolePrecompile) Log_5e6b5a33(p0 [19]byte)
func (*ConsolePrecompile) Log_5e84b0ea ¶
func (c *ConsolePrecompile) Log_5e84b0ea(p0 string, p1 string, p2 bool, p3 string)
func (*ConsolePrecompile) Log_5ea2b7ae ¶
func (*ConsolePrecompile) Log_5f15d28c ¶
func (*ConsolePrecompile) Log_5f1d5c9f ¶
func (*ConsolePrecompile) Log_5f743a7c ¶
func (*ConsolePrecompile) Log_5f7b9afb ¶
func (*ConsolePrecompile) Log_6168ed61 ¶
func (*ConsolePrecompile) Log_619e4d0e ¶
func (*ConsolePrecompile) Log_63183678 ¶
func (*ConsolePrecompile) Log_63cb41f9 ¶
func (*ConsolePrecompile) Log_63fb8bc5 ¶
func (*ConsolePrecompile) Log_643fd0df ¶
func (c *ConsolePrecompile) Log_643fd0df(p0 *big.Int, p1 string)
func (*ConsolePrecompile) Log_64b5bb67 ¶
func (*ConsolePrecompile) Log_660375dd ¶
func (*ConsolePrecompile) Log_665bf134 ¶
func (*ConsolePrecompile) Log_665c6104 ¶
func (c *ConsolePrecompile) Log_665c6104(p0 [16]byte)
func (*ConsolePrecompile) Log_66f1bc67 ¶
func (*ConsolePrecompile) Log_678209a8 ¶
func (*ConsolePrecompile) Log_67dd6ff1 ¶
func (*ConsolePrecompile) Log_68c8b8bd ¶
func (*ConsolePrecompile) Log_691a8f74 ¶
func (*ConsolePrecompile) Log_69276c86 ¶
func (c *ConsolePrecompile) Log_69276c86(p0 *big.Int, p1 common.Address)
func (*ConsolePrecompile) Log_69640b59 ¶
func (*ConsolePrecompile) Log_6a1199e2 ¶
func (*ConsolePrecompile) Log_6a9c478b ¶
func (*ConsolePrecompile) Log_6b0e5d53 ¶
func (*ConsolePrecompile) Log_6cde40b8 ¶
func (*ConsolePrecompile) Log_6d1e8751 ¶
func (c *ConsolePrecompile) Log_6d1e8751(p0 bool, p1 bool, p2 string, p3 string)
func (*ConsolePrecompile) Log_6d572f44 ¶
func (*ConsolePrecompile) Log_6d7045c1 ¶
func (*ConsolePrecompile) Log_6dd434ca ¶
func (*ConsolePrecompile) Log_6e18a128 ¶
func (c *ConsolePrecompile) Log_6e18a128(p0 [1]byte)
func (*ConsolePrecompile) Log_6f1a594e ¶
func (*ConsolePrecompile) Log_6f7c603e ¶
func (*ConsolePrecompile) Log_7190a529 ¶
func (*ConsolePrecompile) Log_71d04af2 ¶
func (*ConsolePrecompile) Log_736efbb6 ¶
func (*ConsolePrecompile) Log_742d6ee7 ¶
func (*ConsolePrecompile) Log_7464ce23 ¶
func (*ConsolePrecompile) Log_759f86bb ¶
func (c *ConsolePrecompile) Log_759f86bb(p0 common.Address, p1 string)
func (*ConsolePrecompile) Log_75b605d3 ¶
func (c *ConsolePrecompile) Log_75b605d3(p0 common.Address, p1 bool)
func (*ConsolePrecompile) Log_7626db92 ¶
func (*ConsolePrecompile) Log_79884c2b ¶
func (*ConsolePrecompile) Log_7af6ab25 ¶
func (*ConsolePrecompile) Log_7afac959 ¶
func (*ConsolePrecompile) Log_7bc0d848 ¶
func (*ConsolePrecompile) Log_7be0c3eb ¶
func (*ConsolePrecompile) Log_7bf181a1 ¶
func (*ConsolePrecompile) Log_7c4632a4 ¶
func (*ConsolePrecompile) Log_7cc3c607 ¶
func (*ConsolePrecompile) Log_7d24491d ¶
func (*ConsolePrecompile) Log_7dd4d0e0 ¶
func (*ConsolePrecompile) Log_7f9bbca2 ¶
func (*ConsolePrecompile) Log_800a1c67 ¶
func (*ConsolePrecompile) Log_80e6a20b ¶
func (*ConsolePrecompile) Log_82112a42 ¶
func (*ConsolePrecompile) Log_82c25b74 ¶
func (*ConsolePrecompile) Log_8309e8a8 ¶
func (c *ConsolePrecompile) Log_8309e8a8(p0 common.Address, p1 *big.Int)
func (*ConsolePrecompile) Log_850b7ad6 ¶
func (c *ConsolePrecompile) Log_850b7ad6(p0 string, p1 bool, p2 bool)
func (*ConsolePrecompile) Log_853c4849 ¶
func (c *ConsolePrecompile) Log_853c4849(p0 bool, p1 common.Address)
func (*ConsolePrecompile) Log_854b3496 ¶
func (*ConsolePrecompile) Log_85775021 ¶
func (c *ConsolePrecompile) Log_85775021(p0 *big.Int, p1 bool, p2 string)
func (*ConsolePrecompile) Log_86a06abd ¶
func (c *ConsolePrecompile) Log_86a06abd(p0 [12]byte)
func (*ConsolePrecompile) Log_88a8c406 ¶
func (*ConsolePrecompile) Log_88cb6041 ¶
func (*ConsolePrecompile) Log_88f6e4b2 ¶
func (*ConsolePrecompile) Log_895af8c5 ¶
func (c *ConsolePrecompile) Log_895af8c5(p0 string, p1 bool, p2 bool, p3 bool)
func (*ConsolePrecompile) Log_8af7cf8a ¶
func (*ConsolePrecompile) Log_8c329b1a ¶
func (*ConsolePrecompile) Log_8c4e5de6 ¶
func (*ConsolePrecompile) Log_8da6def5 ¶
func (*ConsolePrecompile) Log_8e3f78a9 ¶
func (*ConsolePrecompile) Log_8e69fb5d ¶
func (*ConsolePrecompile) Log_8eafb02b ¶
func (*ConsolePrecompile) Log_8ef3f399 ¶
func (*ConsolePrecompile) Log_8f736d16 ¶
func (*ConsolePrecompile) Log_8feac525 ¶
func (c *ConsolePrecompile) Log_8feac525(p0 bool, p1 string)
func (*ConsolePrecompile) Log_90bd8cd0 ¶
func (c *ConsolePrecompile) Log_90bd8cd0(p0 [9]byte)
func (*ConsolePrecompile) Log_90c30a56 ¶
func (*ConsolePrecompile) Log_90fb06aa ¶
func (*ConsolePrecompile) Log_9143dbb1 ¶
func (*ConsolePrecompile) Log_91a02e2a ¶
func (*ConsolePrecompile) Log_91d1112e ¶
func (*ConsolePrecompile) Log_9266f07f ¶
func (c *ConsolePrecompile) Log_9266f07f(p0 [14]byte)
func (*ConsolePrecompile) Log_932bbb38 ¶
func (c *ConsolePrecompile) Log_932bbb38(p0 string, p1 bool, p2 common.Address)
func (*ConsolePrecompile) Log_935e09bf ¶
func (*ConsolePrecompile) Log_94250d77 ¶
func (*ConsolePrecompile) Log_94529e34 ¶
func (c *ConsolePrecompile) Log_94529e34(p0 [13]byte)
func (*ConsolePrecompile) Log_958c28c6 ¶
func (*ConsolePrecompile) Log_9591b953 ¶
func (c *ConsolePrecompile) Log_9591b953(p0 bool, p1 string, p2 common.Address)
func (*ConsolePrecompile) Log_95ed0195 ¶
func (c *ConsolePrecompile) Log_95ed0195(p0 string, p1 string, p2 common.Address)
func (*ConsolePrecompile) Log_97d394d8 ¶
func (*ConsolePrecompile) Log_9a816a83 ¶
func (*ConsolePrecompile) Log_9acd3616 ¶
func (*ConsolePrecompile) Log_9b4254e2 ¶
func (*ConsolePrecompile) Log_9b6ec042 ¶
func (*ConsolePrecompile) Log_9c3adfa1 ¶
func (*ConsolePrecompile) Log_9c4f99fb ¶
func (*ConsolePrecompile) Log_9cba8fff ¶
func (*ConsolePrecompile) Log_9d22d5dd ¶
func (c *ConsolePrecompile) Log_9d22d5dd(p0 string, p1 bool, p2 bool, p3 string)
func (*ConsolePrecompile) Log_9f1bc36e ¶
func (*ConsolePrecompile) Log_9ffb2f93 ¶
func (*ConsolePrecompile) Log_a04e2f87 ¶
func (*ConsolePrecompile) Log_a0a47963 ¶
func (*ConsolePrecompile) Log_a1bcc9b3 ¶
func (*ConsolePrecompile) Log_a1ef4cbb ¶
func (*ConsolePrecompile) Log_a1f2e8aa ¶
func (*ConsolePrecompile) Log_a31bfdcc ¶
func (*ConsolePrecompile) Log_a5b4fc99 ¶
func (*ConsolePrecompile) Log_a5cada94 ¶
func (*ConsolePrecompile) Log_a684808d ¶
func (c *ConsolePrecompile) Log_a684808d(p0 [5]byte)
func (*ConsolePrecompile) Log_a6f50b0f ¶
func (*ConsolePrecompile) Log_a73c1db6 ¶
func (*ConsolePrecompile) Log_a75c59de ¶
func (*ConsolePrecompile) Log_a7a87853 ¶
func (*ConsolePrecompile) Log_a826caeb ¶
func (c *ConsolePrecompile) Log_a826caeb(p0 string, p1 bool, p2 string, p3 string)
func (*ConsolePrecompile) Log_aa6540c8 ¶
func (*ConsolePrecompile) Log_aabc9a31 ¶
func (*ConsolePrecompile) Log_ab085ae6 ¶
func (*ConsolePrecompile) Log_aba1cf0d ¶
func (c *ConsolePrecompile) Log_aba1cf0d(p0 [23]byte)
func (*ConsolePrecompile) Log_abf73a98 ¶
func (*ConsolePrecompile) Log_ade052c7 ¶
func (*ConsolePrecompile) Log_ae2ec581 ¶
func (*ConsolePrecompile) Log_ae84a591 ¶
func (c *ConsolePrecompile) Log_ae84a591(p0 [6]byte)
func (*ConsolePrecompile) Log_b028c9bd ¶
func (*ConsolePrecompile) Log_b076847f ¶
func (c *ConsolePrecompile) Log_b076847f(p0 bool, p1 string, p2 string)
func (*ConsolePrecompile) Log_b0e0f9b5 ¶
func (c *ConsolePrecompile) Log_b0e0f9b5(p0 string, p1 string, p2 bool)
func (*ConsolePrecompile) Log_b115611f ¶
func (c *ConsolePrecompile) Log_b115611f(p0 *big.Int, p1 string, p2 string)
func (*ConsolePrecompile) Log_b3a6b6bd ¶
func (*ConsolePrecompile) Log_b4c314ff ¶
func (*ConsolePrecompile) Log_b59dbd60 ¶
func (*ConsolePrecompile) Log_b60e72cc ¶
func (c *ConsolePrecompile) Log_b60e72cc(p0 string, p1 *big.Int)
func (*ConsolePrecompile) Log_b69bcaf6 ¶
func (*ConsolePrecompile) Log_b6f577a1 ¶
func (*ConsolePrecompile) Log_b7b914ca ¶
func (*ConsolePrecompile) Log_b857163a ¶
func (c *ConsolePrecompile) Log_b857163a(p0 bool, p1 bool, p2 string, p3 bool)
func (*ConsolePrecompile) Log_ba535d9c ¶
func (*ConsolePrecompile) Log_bc0b61fe ¶
func (*ConsolePrecompile) Log_bcfd9be0 ¶
func (*ConsolePrecompile) Log_be553481 ¶
func (*ConsolePrecompile) Log_be984353 ¶
func (*ConsolePrecompile) Log_bf01f891 ¶
func (*ConsolePrecompile) Log_c0a302d8 ¶
func (*ConsolePrecompile) Log_c21f64c7 ¶
func (*ConsolePrecompile) Log_c2854d92 ¶
func (c *ConsolePrecompile) Log_c2854d92(p0 [31]byte)
func (*ConsolePrecompile) Log_c371c7db ¶
func (*ConsolePrecompile) Log_c3a8a654 ¶
func (*ConsolePrecompile) Log_c3b55635 ¶
func (c *ConsolePrecompile) Log_c3b55635(p0 string, p1 bool)
func (*ConsolePrecompile) Log_c3fc3970 ¶
func (c *ConsolePrecompile) Log_c3fc3970(p0 bool, p1 *big.Int, p2 string)
func (*ConsolePrecompile) Log_c4643e20 ¶
func (*ConsolePrecompile) Log_c4d23d9a ¶
func (c *ConsolePrecompile) Log_c4d23d9a(p0 [18]byte)
func (*ConsolePrecompile) Log_c598d185 ¶
func (*ConsolePrecompile) Log_c5ad85f9 ¶
func (*ConsolePrecompile) Log_c67ea9d1 ¶
func (*ConsolePrecompile) Log_c6acc7a8 ¶
func (*ConsolePrecompile) Log_c82aeaee ¶
func (c *ConsolePrecompile) Log_c82aeaee(p0 [28]byte)
func (*ConsolePrecompile) Log_c91d5ed4 ¶
func (c *ConsolePrecompile) Log_c91d5ed4(p0 string, p1 common.Address, p2 bool)
func (*ConsolePrecompile) Log_c95958d6 ¶
func (c *ConsolePrecompile) Log_c95958d6(p0 string, p1 bool, p2 *big.Int)
func (*ConsolePrecompile) Log_ca47c4eb ¶
func (*ConsolePrecompile) Log_ca7733b1 ¶
func (c *ConsolePrecompile) Log_ca7733b1(p0 string, p1 *big.Int, p2 bool)
func (*ConsolePrecompile) Log_cac43479 ¶
func (*ConsolePrecompile) Log_cc32ab07 ¶
func (*ConsolePrecompile) Log_ccf790a1 ¶
func (*ConsolePrecompile) Log_ceb5f4d7 ¶
func (*ConsolePrecompile) Log_cf009880 ¶
func (*ConsolePrecompile) Log_cf020fb1 ¶
func (c *ConsolePrecompile) Log_cf020fb1(p0 common.Address, p1 string, p2 bool)
func (*ConsolePrecompile) Log_cf18105c ¶
func (*ConsolePrecompile) Log_cf394485 ¶
func (*ConsolePrecompile) Log_d1ed7a3c ¶
func (*ConsolePrecompile) Log_d2763667 ¶
func (*ConsolePrecompile) Log_d2d423cd ¶
func (*ConsolePrecompile) Log_d583c602 ¶
func (*ConsolePrecompile) Log_d5fae89c ¶
func (c *ConsolePrecompile) Log_d5fae89c(p0 [22]byte)
func (*ConsolePrecompile) Log_d6019f1c ¶
func (*ConsolePrecompile) Log_d6aefad2 ¶
func (*ConsolePrecompile) Log_d812a167 ¶
func (*ConsolePrecompile) Log_da9574e0 ¶
func (c *ConsolePrecompile) Log_da9574e0(p0 [15]byte)
func (*ConsolePrecompile) Log_daf0d4aa ¶
func (c *ConsolePrecompile) Log_daf0d4aa(p0 common.Address, p1 common.Address)
func (*ConsolePrecompile) Log_dbb4c247 ¶
func (c *ConsolePrecompile) Log_dbb4c247(p0 bool, p1 string, p2 bool)
func (*ConsolePrecompile) Log_dc5e935b ¶
func (c *ConsolePrecompile) Log_dc5e935b(p0 bool, p1 string, p2 bool, p3 bool)
func (*ConsolePrecompile) Log_ddb06521 ¶
func (*ConsolePrecompile) Log_dddb9561 ¶
func (*ConsolePrecompile) Log_de03e774 ¶
func (*ConsolePrecompile) Log_de68f20a ¶
func (c *ConsolePrecompile) Log_de68f20a(p0 string, p1 string, p2 string, p3 string)
func (*ConsolePrecompile) Log_de9a9270 ¶
func (c *ConsolePrecompile) Log_de9a9270(p0 bool, p1 common.Address, p2 string)
func (*ConsolePrecompile) Log_dfc4a2e8 ¶
func (*ConsolePrecompile) Log_e05f48d1 ¶
func (c *ConsolePrecompile) Log_e05f48d1(p0 [4]byte)
func (*ConsolePrecompile) Log_e0625b29 ¶
func (*ConsolePrecompile) Log_e0e95b98 ¶
func (*ConsolePrecompile) Log_e0e9ad4f ¶
func (c *ConsolePrecompile) Log_e0e9ad4f(p0 string, p1 common.Address, p2 string)
func (*ConsolePrecompile) Log_e21de278 ¶
func (*ConsolePrecompile) Log_e298f47d ¶
func (c *ConsolePrecompile) Log_e298f47d(p0 string, p1 bool, p2 string)
func (*ConsolePrecompile) Log_e2bfd60b ¶
func (*ConsolePrecompile) Log_e351140f ¶
func (*ConsolePrecompile) Log_e3a9ca2f ¶
func (*ConsolePrecompile) Log_e41b6f6f ¶
func (*ConsolePrecompile) Log_e5e70b2b ¶
func (*ConsolePrecompile) Log_e8d3018d ¶
func (*ConsolePrecompile) Log_e8defba9 ¶
func (c *ConsolePrecompile) Log_e8defba9(p0 bool, p1 *big.Int, p2 bool)
func (*ConsolePrecompile) Log_e9b62296 ¶
func (c *ConsolePrecompile) Log_e9b62296(p0 [2]byte)
func (*ConsolePrecompile) Log_e9da3560 ¶
func (c *ConsolePrecompile) Log_e9da3560(p0 [21]byte)
func (*ConsolePrecompile) Log_eb1bff80 ¶
func (*ConsolePrecompile) Log_eb7f6fd2 ¶
func (*ConsolePrecompile) Log_eb830c92 ¶
func (c *ConsolePrecompile) Log_eb830c92(p0 common.Address, p1 bool, p2 bool)
func (*ConsolePrecompile) Log_eb928d7f ¶
func (*ConsolePrecompile) Log_ed8f28f6 ¶
func (*ConsolePrecompile) Log_ee12c4ed ¶
func (c *ConsolePrecompile) Log_ee12c4ed(p0 [30]byte)
func (*ConsolePrecompile) Log_ef1cefe7 ¶
func (*ConsolePrecompile) Log_ef529018 ¶
func (*ConsolePrecompile) Log_ef72c513 ¶
func (*ConsolePrecompile) Log_f08744e8 ¶
func (*ConsolePrecompile) Log_f11699ed ¶
func (*ConsolePrecompile) Log_f1b35b34 ¶
func (c *ConsolePrecompile) Log_f1b35b34(p0 [24]byte)
func (*ConsolePrecompile) Log_f2a66286 ¶
func (*ConsolePrecompile) Log_f45d7d2c ¶
func (*ConsolePrecompile) Log_f4880ea4 ¶
func (*ConsolePrecompile) Log_f5bc2249 ¶
func (*ConsolePrecompile) Log_f666715a ¶
func (c *ConsolePrecompile) Log_f666715a(p0 *big.Int, p1 *big.Int)
func (*ConsolePrecompile) Log_f7e36245 ¶
func (*ConsolePrecompile) Log_f808da20 ¶
func (*ConsolePrecompile) Log_f82c50f1 ¶
func (c *ConsolePrecompile) Log_f82c50f1(p0 *big.Int)
func (*ConsolePrecompile) Log_f8b149f1 ¶
func (c *ConsolePrecompile) Log_f8b149f1(p0 [26]byte)
func (*ConsolePrecompile) Log_f8f51b1e ¶
func (*ConsolePrecompile) Log_f9ad2b89 ¶
func (*ConsolePrecompile) Log_fa8185af ¶
func (*ConsolePrecompile) Log_fb772265 ¶
func (c *ConsolePrecompile) Log_fb772265(p0 common.Address, p1 string, p2 string)
func (*ConsolePrecompile) Log_fc4845f0 ¶
func (*ConsolePrecompile) Log_fcec75e0 ¶
func (*ConsolePrecompile) Log_fdb4f990 ¶
func (*ConsolePrecompile) Log_fedd1fff ¶
type Host ¶
type Host struct {
// contains filtered or unexported fields
}
Host is an EVM executor that runs Forge scripts.
func NewHost ¶
func NewHost(logger log.Logger, fs *foundry.ArtifactsFS, srcFS *foundry.SourceMapFS, executionContext Context) *Host
NewHost creates a Host that can load contracts from the given Artifacts FS, and with an EVM initialized to the given executionContext. Optionally src-map loading may be enabled, by providing a non-nil srcFS to read sources from.
func (*Host) Call ¶
func (h *Host) Call(from common.Address, to common.Address, input []byte, gas uint64, value *uint256.Int) (returnData []byte, leftOverGas uint64, err error)
Call calls a contract in the EVM. The state changes persist.
func (*Host) CallerMode ¶
func (h *Host) CallerMode() CallerMode
CallerMode returns the type of the top-most callframe, i.e. if we are in regular operation, a prank, or a broadcast (special kind of prank).
func (*Host) Create ¶
Create a contract with unlimited gas, and 0 ETH value. This create function helps deploy contracts quickly for scripting etc.
func (*Host) CurrentCall ¶
CurrentCall returns the top of the callstack. Or zeroed if there was no call frame yet. If zeroed, the call-frame has a nil scope context.
func (*Host) EnableCheats ¶
EnableCheats enables the Forge/HVM cheat-codes precompile and the Hardhat-style console2 precompile.
func (*Host) EnforceMaxCodeSize ¶
EnforceMaxCodeSize configures the EVM to enforce (if true), or not enforce (if false), the maximum contract bytecode size.
func (*Host) HasPrecompileOverride ¶
HasPrecompileOverride inspects if there exists an active precompile-override at the given address.
func (*Host) LoadContract ¶
LoadContract loads the bytecode of a contract, and deploys it with regular CREATE.
func (*Host) LogCallStack ¶
func (h *Host) LogCallStack()
LogCallStack is a convenience method for debugging, to log details of each call-frame (from bottom to top) to the logger.
func (*Host) MsgSender ¶
MsgSender returns the msg.sender of the current active EVM call-frame, or a zero address if there is no active call-frame.
func (*Host) Prank ¶
func (h *Host) Prank(msgSender *common.Address, txOrigin *common.Address, repeat bool, broadcast bool) error
Prank applies a prank to the current call-frame. Any sub-call will apply the prank to their frame context.
func (*Host) RememberArtifact ¶
RememberArtifact registers an address as originating from a particular artifact. This register a source-map, if the Host is configured with a source-map FS.
func (*Host) ScriptBackendFn ¶
func (h *Host) ScriptBackendFn(to common.Address) CallBackendFn
ScriptBackendFn is a convenience method for scripts to attach to the Host. It return a function pre-configured with the given destination-address, to call the destination script.
func (*Host) SelfAddress ¶
SelfAddress returns the current executing address of the current active EVM call-frame, or a zero address if there is no active call-frame.
func (*Host) SetPrecompile ¶
func (h *Host) SetPrecompile(addr common.Address, precompile vm.PrecompiledContract)
SetPrecompile inserts a precompile at the given address. If the precompile is nil, it removes the precompile override from that address, and wipes the account.
func (*Host) SetTxOrigin ¶
func (*Host) StateDump ¶
func (h *Host) StateDump() (*foundry.ForgeAllocs, error)
StateDump turns the current EVM state into a foundry-allocs dump (wrapping a geth Account allocs type). This is used to export the state. Note that upon dumping, the state-DB is committed and flushed. This affects any remaining self-destructs, as all accounts are flushed to persistent state. After flushing the EVM state also cannot revert to a previous snapshot state: the state should not be dumped within contract-execution that needs to revert.
type Prank ¶
type Prank struct { // Sender overrides msg.sender Sender *common.Address // Origin overrides tx.origin (set to actual origin if not part of the prank) Origin *common.Address // PrevOrigin is the tx.origin to restore after the prank PrevOrigin common.Address // Repeat is true if the prank persists after returning from a sub-call Repeat bool // A Prank may be a broadcast also. Broadcast bool }
Prank represents an active prank task for the next sub-call. This is embedded into a call-frame, to then influence the sub-call through a caller-override.
type Precompile ¶
type Precompile[E any] struct { Precompile E // contains filtered or unexported fields }
Precompile is a wrapper around a Go object, making it a precompile.
func NewPrecompile ¶
func NewPrecompile[E any](e E, opts ...PrecompileOption[E]) (*Precompile[E], error)
NewPrecompile wraps a Go object into a Precompile. All exported fields and methods will have a corresponding ABI interface. Fields with a tag `evm:"-"` will be ignored, or can override their ABI name to x with this tag: `evm:"x"`. Field names and method names are adjusted to start with a lowercase character in the ABI signature. Method names may end with a `_X` where X must be the 4byte selector (this is sanity-checked), to support multiple variants of the same method with different ABI input parameters. Methods may return an error, which will result in a revert, rather than become an ABI encoded arg, if not nil. All precompile methods have 0 gas cost.
func (*Precompile[E]) RequiredGas ¶
func (p *Precompile[E]) RequiredGas(input []byte) uint64
RequiredGas is part of the vm.PrecompiledContract interface, and all system precompiles use 0 gas.
type PrecompileOption ¶
type PrecompileOption[E any] func(p *Precompile[E])