Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrSmartContractNotDeployed is returned when the RegisteredAddresses mapping does not contain the specified contract ErrSmartContractNotDeployed = errors.New("Contract not in Registry") ErrRegistryContractNotDeployed = errors.New("Registry not deployed") ErrExchangeRateZero = errors.New("Exchange rate returned from the network is zero") )
Functions ¶
Types ¶
type BoundMethod ¶
type BoundMethod struct { Method // contains filtered or unexported fields }
BoundMethod represents a Method that is bounded to an address In particular, instead of address we use an address resolver to cope the fact that addresses need to be obtained from the Registry before making a call
func NewBoundMethod ¶
func NewBoundMethod(contractAddress common.Address, abi *abi.ABI, methodName string, maxGas uint64) *BoundMethod
NewBoundMethod constructs a new bound method instance bound to the given address.
func (*BoundMethod) Execute ¶
func (bm *BoundMethod) Execute(vmRunner vm.EVMRunner, result interface{}, value *big.Int, args ...interface{}) error
Execute executes the method with the given EVMRunner and unpacks the return value into result. If the method does not return a value then result should be nil.
Directories ¶
Path | Synopsis |
---|---|
You should have received a copy of the GNU General Public License along with MAP Protocol.
|
You should have received a copy of the GNU General Public License along with MAP Protocol. |
You should have received a copy of the GNU General Public License along with MAP Protocol.
|
You should have received a copy of the GNU General Public License along with MAP Protocol. |
You should have received a copy of the GNU General Public License along with MAP Protocol.
|
You should have received a copy of the GNU General Public License along with MAP Protocol. |
Click to show internal directories.
Click to hide internal directories.