Deployer

contract. Deployer

Class encapsulating a deployer for a given network (chain ID) and inputter / outputter (possibly a remote data store)

Constructor

new Deployer(inputter, outputter, bm, eth, chainId, address)

Parameters:
Name Type Description
inputter function

a getter function, possibly async, that takes a key and returns the associated value if it exists.

outputter function

a setter function, possibly async, that takes a key and a value as an Immutable Map, and returns the written value, also as an Immutable Map.

bm Object

a BuildsManager, null if we want to auto-create one.

eth Object

an Ethereum network object

chainId String

the chain ID of the given eth, must match.

address String

the 0x-prefixed Ethereum address to deploy from

Source: