Documentation
¶
Index ¶
- type BindGenGeneratorBase
- type BindGenGeneratorLocal
- type BindGenGeneratorRemote
- func (generator *BindGenGeneratorRemote) CompareDeployedBytecodeWithOp(contractMetadataEth *RemoteContractMetadata, deployedCodeShouldMatch bool) error
- func (generator *BindGenGeneratorRemote) CompareDeployedBytecodeWithRpc(contractMetadata *RemoteContractMetadata, chain string) error
- func (generator *BindGenGeneratorRemote) CompareInitBytecodeWithOp(contractMetadataEth *RemoteContractMetadata, initCodeShouldMatch bool) error
- func (generator *BindGenGeneratorRemote) FetchContractData(contractVerified bool, chain, deploymentAddress string) (ContractData, error)
- func (generator *BindGenGeneratorRemote) GenerateBindings() error
- type ContractData
- type Deployments
- type RemoteContract
- type RemoteContractMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BindGenGeneratorBase ¶
type BindGenGeneratorLocal ¶
type BindGenGeneratorLocal struct {
BindGenGeneratorBase
SourceMapsList string
ForgeArtifactsPath string
}
func (*BindGenGeneratorLocal) GenerateBindings ¶
func (generator *BindGenGeneratorLocal) GenerateBindings() error
type BindGenGeneratorRemote ¶
type BindGenGeneratorRemote struct {
BindGenGeneratorBase
ContractDataClients struct {
Eth contractDataClient
Op contractDataClient
}
RpcClients struct {
Eth *ethclient.Client
Op *ethclient.Client
}
// contains filtered or unexported fields
}
func (*BindGenGeneratorRemote) CompareDeployedBytecodeWithOp ¶
func (generator *BindGenGeneratorRemote) CompareDeployedBytecodeWithOp(contractMetadataEth *RemoteContractMetadata, deployedCodeShouldMatch bool) error
func (*BindGenGeneratorRemote) CompareDeployedBytecodeWithRpc ¶
func (generator *BindGenGeneratorRemote) CompareDeployedBytecodeWithRpc(contractMetadata *RemoteContractMetadata, chain string) error
func (*BindGenGeneratorRemote) CompareInitBytecodeWithOp ¶
func (generator *BindGenGeneratorRemote) CompareInitBytecodeWithOp(contractMetadataEth *RemoteContractMetadata, initCodeShouldMatch bool) error
func (*BindGenGeneratorRemote) FetchContractData ¶
func (generator *BindGenGeneratorRemote) FetchContractData(contractVerified bool, chain, deploymentAddress string) (ContractData, error)
func (*BindGenGeneratorRemote) GenerateBindings ¶
func (generator *BindGenGeneratorRemote) GenerateBindings() error
type ContractData ¶
type ContractData struct {
Abi string
DeployedBin string
DeploymentTx etherscan.Transaction
}
type Deployments ¶
type RemoteContract ¶
type RemoteContractMetadata ¶
type RemoteContractMetadata struct {
RemoteContract
Package string
InitBin string
DeployedBin string
}
Click to show internal directories.
Click to hide internal directories.