Type Alias: AsymmetricReward
@torque-labs/torque-utils • Docs
@torque-labs/torque-utils / AsymmetricReward
Type Alias: AsymmetricReward
type AsymmetricReward: {
amount: string;
participants: null | USER | PUBLISHER | BOTH;
payoutTx: null | string;
tokenAddress: string;
userPubKey: null | string;
};Asymmetric Reward type
Type declaration
Name
Type
Description
amount
string
The amount to reward
participants?
null | USER | PUBLISHER | BOTH
Who can participate in the raffle, users, publishers, or both
payoutTx?
null | string
Leave blank: The transaction hash of the payout transaction
tokenAddress
string
The token address to reward
userPubKey?
null | string
Leave blank: The user public key that will be populated in the payout transaction
Defined in
Last updated