Skip to main content

types

AddressMap

Object to use for address mapping of existing deployed contracts. Key shall be string and value shall be Address

Example


_10
const addressMap = {
_10
Messanger: "0x01cf0e2f2f715450",
_10
Logger: "0x179b6b1cb6755e31",
_10
}

Interaction

Interaction is a Promise or function returning a promise.

Example


_10
const ix = async () => {
_10
return new Promise((resolve, reject) => {
_10
setTimeout(() => {
_10
resolve(1337)
_10
})
_10
}, 500)
_10
}