user_actions

package
v0.0.0-...-07d62d3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TopicUserActionsEthereum = `user_actions.` + networkEthereum
	TopicUserActionsSolana   = `user_actions.` + networkSolana
	TopicUserActionsSui      = `user_actions.` + networkSui

	TopicBufferedUserActionsEthereum = `user_actions.buffered.` + networkEthereum
	TopicBufferedUserActionsSolana   = `user_actions.buffered.` + networkSolana

	UserActionSend = user_actions.UserActionSend
	UserActionSwap = user_actions.UserActionSwap
)

Variables

This section is empty.

Functions

func BufferedUserActionsAll

func BufferedUserActionsAll(f func(BufferedUserAction))

func BufferedUserActionsEthereum

func BufferedUserActionsEthereum(f func(BufferedUserAction))

func BufferedUserActionsSolana

func BufferedUserActionsSolana(f func(BufferedUserAction))

func UserActionsAll

func UserActionsAll(f func(UserAction))

func UserActionsEthereum

func UserActionsEthereum(f func(UserAction))

func UserActionsSolana

func UserActionsSolana(f func(UserAction))

func UserActionsSui

func UserActionsSui(f func(UserAction))

Types

type BufferedUserAction

type BufferedUserAction = user_actions.BufferedUserAction

type UserAction

type UserAction = user_actions.UserAction

func NewSendEthereum

func NewSendEthereum(network_ network.BlockchainNetwork, senderAddress, recipientAddress ethereum.Address, transactionHash ethereum.Hash, amount misc.BigInt, tokenShortName string, tokenDecimals int, logIndex misc.BigInt, application applications.Application) UserAction

func NewSendSolana

func NewSendSolana(senderAddress, recipientAddress, transactionHash string, amount misc.BigInt, tokenShortName string, tokenDecimals int, applications []solApplications.Application) UserAction

func NewSendSui

func NewSendSui(network_ network.BlockchainNetwork, senderAddress, recipientAddress, transactionHash string, amount, txIndex misc.BigInt, fee *big.Rat, application *string, tokenShortName string, tokenDecimals int) UserAction

func NewSwapEthereum

func NewSwapEthereum(network_ network.BlockchainNetwork, senderAddress ethereum.Address, transactionHash ethereum.Hash, amount misc.BigInt, swapIn bool, tokenShortName string, tokenDecimals int) UserAction

func NewSwapSolana

func NewSwapSolana(senderAddress, transactionHash string, amount misc.BigInt, swapIn bool, tokenShortName string, tokenDecimals int) UserAction

func NewSwapSui

func NewSwapSui(network_ network.BlockchainNetwork, senderAddress, transactionHash string, amount misc.BigInt, swapIn bool, tokenShortName string, tokenDecimals int) UserAction

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL