API

Rewards Oracle SDK

Quick tip

If you are looking for a quick start guide, check out the Getting Started guide. We also have some react examples here.

Instructions

setCurrentRewardsWrapperV0

Accounts

NameMutabilitySignerDocs
oraclemutyes
lazyDistributorimmutno
recipientmutno
keyToAssetimmutno
oracleSignerimmutno
lazyDistributorProgramimmutno
systemProgramimmutno

Args

NameTypeDocs
argsSetCurrentRewardsWrapperArgsV0

setCurrentRewardsWrapperV1

Accounts

NameMutabilitySignerDocs
oraclemutyes
lazyDistributorimmutno
recipientmutno
keyToAssetimmutno
oracleSignerimmutno
lazyDistributorProgramimmutno
systemProgramimmutno

Args

NameTypeDocs
argsSetCurrentRewardsWrapperArgsV1

Accounts

Types

SetCurrentRewardsWrapperArgsV0

FieldType
entityKeybytes
oracleIndexu16
currentRewardsu64

SetCurrentRewardsWrapperArgsV1

FieldType
oracleIndexu16
currentRewardsu64
Previous