Module adapter::ethereum::test_util

source ·
Available on crate feature test-util only.

Structs

The Mocked token API contract
The Outpace contract
The Sweeper contract

Statics

Chain of the locally running ganache-cli chain with id #1337
Initialized Ganache [Web3] instance using a Http transport for usage in tests. It uses the GANACHE_1337 to initialize the client.
ChainInfo of the locally running ganache-cli chain with id #1
ChainInfo of the locally running ganache-cli chain with id #1337
Identity bytecode
Uses local keystore.json file and it’s address for testing and working with crate::Ethereum
Mocked Token ABI
Mocked Token bytecode in JSON
Outpace bytecode
Sweeper bytecode

Functions

Deploys the Identity contract for the give for_address Adds privileges by the constructor for the add_privileges_to addresses