Documentation ¶
Index ¶
Constants ¶
View Source
const (
CERE = 10_000_000_000
)
Variables ¶
This section is empty.
Functions ¶
func DecodeAccountIDFromSS58 ¶ added in v0.1.4
func GetContractData ¶ added in v0.1.4
Types ¶
type BlockchainClient ¶ added in v0.1.4
type BlockchainClient interface { CallToReadEncoded(contractAddressSS58 string, fromAddress string, method []byte, args ...interface{}) (string, error) CallToExec(ctx context.Context, contractCall ContractCall) (types.Hash, error) Deploy(ctx context.Context, deployCall DeployCall) (types.AccountID, error) SetEventDispatcher(contractAddressSS58 string, dispatcher map[types.Hash]ContractEventDispatchEntry) error }
func CreateBlockchainClient ¶ added in v0.1.4
func CreateBlockchainClient(apiUrl string) BlockchainClient
type ContractCall ¶ added in v0.1.4
type ContractEventDispatchEntry ¶ added in v0.1.5
type ContractEventDispatchEntry struct { ArgumentType reflect.Type Handler ContractEventHandler }
type ContractEventHandler ¶ added in v0.1.5
type ContractEventHandler func(interface{})
type DeployCall ¶ added in v0.1.6
Click to show internal directories.
Click to hide internal directories.