EthContract class

Implemented types

Constructors

EthContract()

Properties

contractAddrLike EthereumAddress
final
contractAirdrop EthereumAddress
final
contractLoan EthereumAddress
final
contractLock EthereumAddress
final
contractMessage EthereumAddress
final
contractSlot EthereumAddress
final
hashCode int
The hash code for this object. [...]
read-only, inherited
rpcUrl String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
wsUrl String
read / write

Methods

borrowV2({String pk, String value}) Future<String>
override
buyTicketSlotMachine({String pk, String value}) Future<String>
checkAddress({String address}) Future<bool>
checkClaim({String address}) Future<String>
override
checkRewards({String address}) Future<num>
override
ClaimRewards({String pk}) Future<String>
override
claimRewardsAndLock({String pk}) Future<List<String>>
override
dynamicSendContract({String pk, String contractAddress, String abi, String callFunction, String to, String value, String message}) Future<String>
getAPY() Future<String>
override
getBalance({String address}) Future<num>
override
getBalanceLock({String address}) Future<num>
override
getBalanceLockWei({String address}) Future<String>
override
getCurrentDeptV2({String address}) Future
override
getDepositTime({String address}) Future<String>
override
getGas() Future<int>
override
getInterestV2({String address}) Future<String>
override
getLoanV2({String address}) Future<List>
override
getNativeBalance({String address}) Future<num>
override
getPrizeSlotMachine() Future<num>
getRound() Future<String>
override
getTicketSlotMachine({String address}) Future<num>
getUnlockDate({String address}) Future<List<String>>
override
isWithdraw({String address}) Future<int>
override
lockLikePoint({String pk, String value}) Future<String>
override
lockLikePointV2({String pk, String value}) Future<String>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
repayAllV2({String pk}) Future<String>
override
repayV2({String pk, String value}) Future<String>
override
requestUnlock({String pk, String value, String all}) Future<String>
override
requestUnlockV2({String pk, String value}) Future<String>
override
sendApprove({String value, String pk}) Future<String>
override
sendTransaction({String pk, String to, String value}) Future<String>
override
subTicket({String pk}) Future<String>
toString() String
A string representation of this object. [...]
inherited
transferMessage({String pk, String to, String value, String message}) Future<String>
transferVending({Vending vending, String abiCode, String pk, String contractName}) Future<String>
unlockLikePoint({String pk, String value}) Future<String>
override
unlockLikePointV2({String pk}) Future<String>
/Start Contract Version V2V2
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Properties

abiContract String
read / write
abiContractAirdrop String
read / write
abiContractLoan String
read / write
abiContractLock String
read / write
abiContractMessage String
read / write
abiContractSlot String
read / write
gasClaim int
read / write