public class ProjectSchema extends SharedSchema implements IProjectSchema
Modifier and Type | Field and Description |
---|---|
protected PlayerService |
playerService |
static java.lang.String |
SCHEMA
The name of the schema.
|
protected WalletService |
walletService |
assetService, balanceService, platformService, projectService, transactionService
middleware, schema
Constructor and Description |
---|
ProjectSchema(ClientMiddleware middleware,
LoggerProvider loggerProvider)
Sole constructor, used internally.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
advancedSendAsset(AdvancedSendAsset request)
Sends
AdvancedSendAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
approveEnj(ApproveEnj request)
Sends
ApproveEnj request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
approveMaxEnj(ApproveMaxEnj request)
Sends
ApproveMaxEnj request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<AccessToken>> |
authPlayer(AuthPlayer request)
Sends
AuthPlayer request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<AccessToken>> |
authProject(AuthProject request)
Sends
AuthProject request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
bridgeAsset(BridgeAsset request)
Sends
BridgeAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
bridgeAssets(BridgeAssets request)
Sends
BridgeAssets request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
bridgeClaimAsset(BridgeClaimAsset request)
Sends
BridgeClaimAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
completeTrade(CompleteTrade request)
Sends
CompleteTrade request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
createAsset(CreateAsset request)
Sends
CreateAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<AccessToken>> |
createPlayer(CreatePlayer request)
Sends
CreatePlayer request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
createTrade(CreateTrade request)
Sends
CreateTrade request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
decreaseMaxMeltFee(DecreaseMaxMeltFee request)
Sends
DecreaseMaxMeltFee request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
decreaseMaxTransferFee(DecreaseMaxTransferFee request)
Sends
DecreaseMaxTransferFee request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<java.lang.Boolean>> |
deletePlayer(DeletePlayer request)
Sends
DeletePlayer request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<java.util.List<Asset>>> |
getAssetsFromProjects(GetAssetsFromProjects request)
Sends
GetAssetsFromProjects request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Player>> |
getPlayer(GetPlayer request)
Sends
GetPlayer request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<java.util.List<Player>>> |
getPlayers(GetPlayers request)
Sends
GetPlayers request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Wallet>> |
getWallet(GetWallet request)
Sends
GetWallet request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<java.util.List<Wallet>>> |
getWallets(GetWallets request)
Sends
GetWallets request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<java.lang.Boolean>> |
invalidateAssetMetadata(InvalidateAssetMetadata request)
Sends
InvalidateAssetMetadata request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
meltAsset(MeltAsset request)
Sends
MeltAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
message(Message request)
Sends
Message request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
mintAsset(MintAsset request)
Sends
MintAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
releaseReserve(ReleaseReserve request)
Sends
ReleaseReserve request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
resetEnjApproval(ResetEnjApproval request)
Sends
ResetEnjApproval request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
sendAsset(SendAsset request)
Sends
SendAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
sendEnj(SendEnj request)
Sends
SendEnj request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
setApprovalForAll(SetApprovalForAll request)
Sends
SetApprovalForAll request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
setMeltFee(SetMeltFee request)
Sends
SetMeltFee request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
setTransferable(SetTransferable request)
Sends
SetTransferable request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
setTransferFee(SetTransferFee request)
Sends
SetTransferFee request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
setUri(SetUri request)
Sends
SetUri request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
setWhitelisted(SetWhitelisted request)
Sends
SetWhitelisted request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<java.lang.Boolean>> |
unlinkWallet(UnlinkWallet request)
Sends
UnlinkWallet request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
updateName(UpdateName request)
Sends
UpdateName request to the platform. |
cancelTransaction, getAsset, getAssets, getBalances, getBalancesFromProjects, getGasPrices, getPlatform, getProject, getRequest, getRequests, transactionRequest
createRequestBody, createResult, createService, getLoggerProvider, sendRequest, version
public static final java.lang.String SCHEMA
protected final PlayerService playerService
protected final WalletService walletService
public ProjectSchema(ClientMiddleware middleware, LoggerProvider loggerProvider)
middleware
- the middlewareloggerProvider
- the logger providerpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> advancedSendAsset(AdvancedSendAsset request)
IProjectSchema
AdvancedSendAsset
request to the platform.advancedSendAsset
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> approveEnj(ApproveEnj request)
IProjectSchema
ApproveEnj
request to the platform.approveEnj
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> approveMaxEnj(ApproveMaxEnj request)
IProjectSchema
ApproveMaxEnj
request to the platform.approveMaxEnj
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<AccessToken>> authPlayer(AuthPlayer request)
IProjectSchema
AuthPlayer
request to the platform.authPlayer
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<AccessToken>> authProject(AuthProject request)
IProjectSchema
AuthProject
request to the platform.authProject
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> bridgeAsset(BridgeAsset request)
IProjectSchema
BridgeAsset
request to the platform.bridgeAsset
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> bridgeAssets(BridgeAssets request)
IProjectSchema
BridgeAssets
request to the platform.bridgeAssets
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> bridgeClaimAsset(BridgeClaimAsset request)
IProjectSchema
BridgeClaimAsset
request to the platform.bridgeClaimAsset
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> completeTrade(CompleteTrade request)
IProjectSchema
CompleteTrade
request to the platform.completeTrade
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> createAsset(CreateAsset request)
IProjectSchema
CreateAsset
request to the platform.createAsset
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<AccessToken>> createPlayer(CreatePlayer request)
IProjectSchema
CreatePlayer
request to the platform.createPlayer
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> createTrade(CreateTrade request)
IProjectSchema
CreateTrade
request to the platform.createTrade
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> decreaseMaxMeltFee(DecreaseMaxMeltFee request)
IProjectSchema
DecreaseMaxMeltFee
request to the platform.decreaseMaxMeltFee
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> decreaseMaxTransferFee(DecreaseMaxTransferFee request)
IProjectSchema
DecreaseMaxTransferFee
request to the platform.decreaseMaxTransferFee
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<java.lang.Boolean>> deletePlayer(DeletePlayer request)
IProjectSchema
DeletePlayer
request to the platform.deletePlayer
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<java.util.List<Asset>>> getAssetsFromProjects(GetAssetsFromProjects request)
IProjectSchema
GetAssetsFromProjects
request to the platform.getAssetsFromProjects
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Player>> getPlayer(GetPlayer request)
IProjectSchema
GetPlayer
request to the platform.getPlayer
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<java.util.List<Player>>> getPlayers(GetPlayers request)
IProjectSchema
GetPlayers
request to the platform.getPlayers
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Wallet>> getWallet(GetWallet request)
IProjectSchema
GetWallet
request to the platform.getWallet
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<java.util.List<Wallet>>> getWallets(GetWallets request)
IProjectSchema
GetWallets
request to the platform.getWallets
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<java.lang.Boolean>> invalidateAssetMetadata(InvalidateAssetMetadata request)
IProjectSchema
InvalidateAssetMetadata
request to the platform.invalidateAssetMetadata
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> meltAsset(MeltAsset request)
IProjectSchema
MeltAsset
request to the platform.meltAsset
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> message(Message request)
IProjectSchema
Message
request to the platform.message
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> mintAsset(MintAsset request)
IProjectSchema
MintAsset
request to the platform.mintAsset
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> releaseReserve(ReleaseReserve request)
IProjectSchema
ReleaseReserve
request to the platform.releaseReserve
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> resetEnjApproval(ResetEnjApproval request)
IProjectSchema
ResetEnjApproval
request to the platform.resetEnjApproval
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> sendAsset(SendAsset request)
IProjectSchema
SendAsset
request to the platform.sendAsset
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> sendEnj(SendEnj request)
IProjectSchema
SendEnj
request to the platform.sendEnj
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> setApprovalForAll(SetApprovalForAll request)
IProjectSchema
SetApprovalForAll
request to the platform.setApprovalForAll
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> setMeltFee(SetMeltFee request)
IProjectSchema
SetMeltFee
request to the platform.setMeltFee
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> setTransferable(SetTransferable request)
IProjectSchema
SetTransferable
request to the platform.setTransferable
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> setTransferFee(SetTransferFee request)
IProjectSchema
SetTransferFee
request to the platform.setTransferFee
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> setUri(SetUri request)
IProjectSchema
SetUri
request to the platform.setUri
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> setWhitelisted(SetWhitelisted request)
IProjectSchema
SetWhitelisted
request to the platform.setWhitelisted
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<java.lang.Boolean>> unlinkWallet(UnlinkWallet request)
IProjectSchema
UnlinkWallet
request to the platform.unlinkWallet
in interface IProjectSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> updateName(UpdateName request)
IProjectSchema
UpdateName
request to the platform.updateName
in interface IProjectSchema
request
- the request