Documentation
¶
Index ¶
- func ParseRecipients(accounts []string, percentageAllocations []uint32) (recipients []string, allocations []uint32, err error)
- type Client
- func (c *Client) CalculateHash(params *HashParams) ([]byte, error)
- func (c *Client) Create(ctx context.Context, node *execution.Node, contractABI *ethcoder.ABI, ...) (*string, error)
- func (c *Client) DistributeETH(ctx context.Context, node *execution.Node, contractABI *ethcoder.ABI, ...) error
- func (c *Client) GetController(ctx context.Context, node *execution.Node, contractABI *ethcoder.ABI) (*string, error)
- func (c *Client) GetETHBalance(ctx context.Context, node *execution.Node, contractABI *ethcoder.ABI, ...) (*big.Int, error)
- func (c *Client) GetHash(ctx context.Context, node *execution.Node, contractABI *ethcoder.ABI) (*[32]uint8, error)
- func (c *Client) Update(ctx context.Context, node *execution.Node, contractABI *ethcoder.ABI, ...) (*string, error)
- func (c *Client) Withdraw(ctx context.Context, node *execution.Node, contractABI *ethcoder.ABI, ...) error
- type Config
- type CreateSplitParams
- type DistributeETHParams
- type HashParams
- type UpdateSplitParams
- type WithdrawParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CalculateHash ¶
func (c *Client) CalculateHash(params *HashParams) ([]byte, error)
Calculate the hash of the split requires abi.encodePacked non standard packed mode https://docs.soliditylang.org/en/latest/abi-spec.html#non-standard-packed-mode
func (*Client) DistributeETH ¶
func (*Client) GetController ¶
func (*Client) GetETHBalance ¶
type Config ¶
type CreateSplitParams ¶
type DistributeETHParams ¶
type HashParams ¶
type UpdateSplitParams ¶
type WithdrawParams ¶
Click to show internal directories.
Click to hide internal directories.