Documentation
¶
Index ¶
- Variables
- func DeploySafeContract(t *testing.T, backend *simulated.Backend) (common.Address, *safel2contract.Safel2contract)
- func DeployTestContract(t *testing.T, ctx context.Context, backend *simulated.Backend) (common.Address, *types.Transaction, *contracts.Contracts)
- func SetUpClient(t *testing.T) (sim *simulated.Backend)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
PrivateKey1, _ = crypto.HexToECDSA("ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80")
Addr1 = crypto.PubkeyToAddress(PrivateKey1.PublicKey)
PrivateKey2, _ = crypto.HexToECDSA("59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d")
Addr2 = crypto.PubkeyToAddress(PrivateKey2.PublicKey)
PrivateKey3, _ = crypto.HexToECDSA("5de4111afa1a4b94908f83103eb1f1706367c2e68ca870fc3fb9a804cdab365a")
Addr3 = crypto.PubkeyToAddress(PrivateKey3.PublicKey)
PrivateKey4, _ = crypto.HexToECDSA("7c852118294e51e653712a81e05800f419141751be58f605c371e15141b007a6")
Addr4 = crypto.PubkeyToAddress(PrivateKey4.PublicKey)
AddrZero = common.HexToAddress("0x0000000000000000000000000000000000000000")
)
Functions ¶
func DeploySafeContract ¶ added in v0.1.25
func DeploySafeContract(t *testing.T, backend *simulated.Backend) (common.Address, *safel2contract.Safel2contract)
func DeployTestContract ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.