mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 03:51:29 +00:00
943dec525c
* Delete deploy contract tool. Move mock to its own package as testonly with some helper functions * gofmt contracts/deposit/mock/mock.go * move stategen mock.go to its on testonly pkg * move password_reader_mock.go to mock testonly package * move mock keymanager to its own testonly package * move attestations mock * move voluntaryexits mock * Move slashings mock to mock pkg * move the slasher mock Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
24 lines
979 B
Go
24 lines
979 B
Go
package deposit
|
|
|
|
import (
|
|
"github.com/ethereum/go-ethereum/accounts/abi/bind"
|
|
)
|
|
|
|
// NewDepositContractcallFromBoundContract creates a new instance of DepositContractCaller, bound to
|
|
// a specific deployed contract.
|
|
func NewDepositContractCallerFromBoundContract(contract *bind.BoundContract) DepositContractCaller {
|
|
return DepositContractCaller{contract: contract}
|
|
}
|
|
|
|
// NewDepositContractTransactorFromBoundContract creates a new instance of
|
|
// DepositContractTransactor, bound to a specific deployed contract.
|
|
func NewDepositContractTransactorFromBoundContract(contract *bind.BoundContract) DepositContractTransactor {
|
|
return DepositContractTransactor{contract: contract}
|
|
}
|
|
|
|
// NewDepositContractFiltererFromBoundContract creates a new instance of
|
|
// DepositContractFilterer, bound to a specific deployed contract.
|
|
func NewDepositContractFiltererFromBoundContract(contract *bind.BoundContract) DepositContractFilterer {
|
|
return DepositContractFilterer{contract: contract}
|
|
}
|