Skip to content

Commit

Permalink
Merge branch 'refs/heads/v2' into hotfix/ALL-6743_Ada-Send-Broadcast-…
Browse files Browse the repository at this point in the history
…Send-from-VA-to-Blockchain-Transaction-Fails
  • Loading branch information
jlnkptr committed Jun 28, 2024
2 parents 6a84173 + 5b9df7a commit f0e5ad7
Show file tree
Hide file tree
Showing 80 changed files with 1,861 additions and 57 deletions.
2 changes: 1 addition & 1 deletion packages/api-client/src/api_schema.json

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions packages/api-client/src/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ export type { CallCronosSmartContractMethodCaller } from './models/CallCronosSma
export type { CallCronosSmartContractMethodKMS } from './models/CallCronosSmartContractMethodKMS';
export type { CallCronosSmartContractReadMethod } from './models/CallCronosSmartContractReadMethod';
export type { CallEthSmartContractMethodCaller } from './models/CallEthSmartContractMethodCaller';
export type { CallFantomSmartContractMethod } from './models/CallFantomSmartContractMethod';
export type { CallFantomSmartContractMethodCaller } from './models/CallFantomSmartContractMethodCaller';
export type { CallFantomSmartContractMethodKMS } from './models/CallFantomSmartContractMethodKMS';
export type { CallFantomSmartContractReadMethod } from './models/CallFantomSmartContractReadMethod';
export type { CallFlareSmartContractMethod } from './models/CallFlareSmartContractMethod';
export type { CallFlareSmartContractMethodCaller } from './models/CallFlareSmartContractMethodCaller';
export type { CallFlareSmartContractMethodKMS } from './models/CallFlareSmartContractMethodKMS';
Expand Down Expand Up @@ -503,6 +507,18 @@ export type { Error403EthScBody } from './models/Error403EthScBody';
export type { Error403EthTxBody } from './models/Error403EthTxBody';
export type { Error403EthTxHash } from './models/Error403EthTxHash';
export type { Error403EthTxSign } from './models/Error403EthTxSign';
export type { Error403FantomBep20NotFound } from './models/Error403FantomBep20NotFound';
export type { Error403FantomBep20Set } from './models/Error403FantomBep20Set';
export type { Error403FantomBep20Unsupported } from './models/Error403FantomBep20Unsupported';
export type { Error403FantomBroadcast } from './models/Error403FantomBroadcast';
export type { Error403FantomErc20TxSign } from './models/Error403FantomErc20TxSign';
export type { Error403FantomGasCalculation } from './models/Error403FantomGasCalculation';
export type { Error403FantomGasPrice } from './models/Error403FantomGasPrice';
export type { Error403FantomMnemonicPrivateKey } from './models/Error403FantomMnemonicPrivateKey';
export type { Error403FantomScBody } from './models/Error403FantomScBody';
export type { Error403FantomTxBody } from './models/Error403FantomTxBody';
export type { Error403FantomTxHash } from './models/Error403FantomTxHash';
export type { Error403FantomTxSign } from './models/Error403FantomTxSign';
export type { Error403FeeFormat } from './models/Error403FeeFormat';
export type { Error403FlareBep20NotFound } from './models/Error403FlareBep20NotFound';
export type { Error403FlareBep20Set } from './models/Error403FlareBep20Set';
Expand Down Expand Up @@ -685,6 +701,10 @@ export type { Event } from './models/Event';
export type { EvmListingData } from './models/EvmListingData';
export type { ExchangeRate } from './models/ExchangeRate';
export type { ExcludeMetadata } from './models/ExcludeMetadata';
export type { FantomBalance } from './models/FantomBalance';
export type { FantomBlock } from './models/FantomBlock';
export type { FantomEstimateGas } from './models/FantomEstimateGas';
export type { FantomTx } from './models/FantomTx';
export type { FeeAndChange } from './models/FeeAndChange';
export type { FeeBtcBased } from './models/FeeBtcBased';
export type { FeeEvmBased } from './models/FeeEvmBased';
Expand Down Expand Up @@ -747,6 +767,7 @@ export type { GeneratedAddressBsc } from './models/GeneratedAddressBsc';
export type { GeneratedAddressBtc } from './models/GeneratedAddressBtc';
export type { GeneratedAddressCronos } from './models/GeneratedAddressCronos';
export type { GeneratedAddressEth } from './models/GeneratedAddressEth';
export type { GeneratedAddressFantom } from './models/GeneratedAddressFantom';
export type { GeneratedAddressFlare } from './models/GeneratedAddressFlare';
export type { GeneratedAddressMatic } from './models/GeneratedAddressMatic';
export type { GeneratedAddressOne } from './models/GeneratedAddressOne';
Expand Down Expand Up @@ -1011,6 +1032,8 @@ export type { TransferEthBlockchain } from './models/TransferEthBlockchain';
export type { TransferEthBlockchainKMS } from './models/TransferEthBlockchainKMS';
export type { TransferEthKMS } from './models/TransferEthKMS';
export type { TransferEthMnemonic } from './models/TransferEthMnemonic';
export type { TransferFantomBlockchain } from './models/TransferFantomBlockchain';
export type { TransferFantomBlockchainKMS } from './models/TransferFantomBlockchainKMS';
export type { TransferFlareBlockchain } from './models/TransferFlareBlockchain';
export type { TransferFlareBlockchainKMS } from './models/TransferFlareBlockchainKMS';
export type { TransferFlowKMS } from './models/TransferFlowKMS';
Expand Down Expand Up @@ -1194,6 +1217,7 @@ export { DogecoinService } from './services/DogecoinService';
export { ElrondService } from './services/ElrondService';
export { EthereumService } from './services/EthereumService';
export { ExchangeRateService } from './services/ExchangeRateService';
export { FantomService } from './services/FantomService';
export { FlareService } from './services/FlareService';
export { FlowService } from './services/FlowService';
export { FungibleTokensErc20OrCompatibleService } from './services/FungibleTokensErc20OrCompatibleService';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type AddMultiTokenMinter = {
/**
* Chain to work with.
*/
chain: 'ETH' | 'MATIC' | 'KCS' | 'KLAY' | 'CELO' | 'ONE' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'MATIC' | 'KCS' | 'KLAY' | 'CELO' | 'ONE' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* Address of MultiToken token
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/src/generated/models/AddNftMinter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type AddNftMinter = {
/**
* The blockchain to work with
*/
chain: 'BSC' | 'CELO' | 'ETH' | 'KLAY' | 'KCS' | 'MATIC' | 'ONE' | 'ZEN' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'BSC' | 'CELO' | 'ETH' | 'KLAY' | 'KCS' | 'MATIC' | 'ONE' | 'ZEN' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* The blockchain address of the NFT smart contract
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/src/generated/models/ApproveErc20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type ApproveErc20 = {
/**
* The blockchain to work with
*/
chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* The address of the smart contract
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/src/generated/models/BurnMultiToken.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type BurnMultiToken = {
/**
* Chain to work with.
*/
chain: 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* Address of holder
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type BurnMultiTokenBatch = {
/**
* Chain to work with.
*/
chain: 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* Address of holder
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/src/generated/models/BurnNft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type BurnNft = {
/**
* The blockchain to work with
*/
chain: 'ETH' | 'MATIC' | 'KCS' | 'ONE' | 'KLAY' | 'BSC' | 'ZEN' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'MATIC' | 'KCS' | 'ONE' | 'KLAY' | 'BSC' | 'ZEN' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* The ID of the NFT to burn
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type CallFantomSmartContractMethod = {
/**
* The address of the smart contract
*/
contractAddress: string;
/**
* Amount of the assets to be sent.
*/
amount?: string;
/**
* Name of the method to invoke on smart contract.
*/
methodName: string;
/**
* ABI of the method to invoke.
*/
methodABI: any;
params: Array<string>;
/**
* Private key of sender address. Private key, or signature Id must be present.
*/
fromPrivateKey: string;
/**
* Nonce to be set to Fantom transaction. If not present, last known nonce will be used.
*/
nonce?: number;
/**
* Custom defined fee. If not present, it will be calculated automatically.
*/
fee?: {
/**
* Gas limit for transaction in gas price.
*/
gasLimit: string;
/**
* Gas price in Gwei.
*/
gasPrice: string;
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

import type { CustomFee } from './CustomFee';

export type CallFantomSmartContractMethodCaller = {
/**
* The address of the account, which will be sender and fee payer of this transaction
*/
caller: string;
/**
* The address of the smart contract
*/
contractAddress: string;
/**
* Amount of the assets to be sent.
*/
amount?: string;
/**
* Name of the method to invoke on smart contract.
*/
methodName: string;
/**
* ABI of the method to invoke.
*/
methodABI: any;
params: Array<string>;
fee?: CustomFee;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type CallFantomSmartContractMethodKMS = {
/**
* The address of the smart contract
*/
contractAddress: string;
/**
* Name of the method to invoke on smart contract.
*/
methodName: string;
/**
* ABI of the method to invoke.
*/
methodABI: any;
/**
* Parameters of the method to be invoked.
*/
params: Array<string>;
/**
* If signatureId is mnemonic-based, this is the index to the specific address from that mnemonic.
*/
index?: number;
/**
* Identifier of the private key associated in signing application. Private key, or signature Id must be present.
*/
signatureId: string;
/**
* Nonce to be set to Fantom transaction. If not present, last known nonce will be used.
*/
nonce?: number;
/**
* Custom defined fee. If not present, it will be calculated automatically.
*/
fee?: {
/**
* Gas limit for transaction in gas price.
*/
gasLimit: string;
/**
* Gas price in Gwei.
*/
gasPrice: string;
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type CallFantomSmartContractReadMethod = {
/**
* The address of the smart contract
*/
contractAddress: string;
/**
* Name of the method to invoke on smart contract.
*/
methodName: string;
/**
* ABI of the method to invoke.
*/
methodABI: any;
params: Array<string>;
}
2 changes: 1 addition & 1 deletion packages/api-client/src/generated/models/ChainBurnErc20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type ChainBurnErc20 = {
/**
* The blockchain to work with
*/
chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'XDC' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'XDC' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* Amount of tokens to be destroyed.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type ChainDeployErc20 = {
/**
* The blockchain to work with
*/
chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'XDC' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'XDC' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* Symbol of the ERC20 token
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/src/generated/models/ChainMintErc20.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type ChainMintErc20 = {
/**
* The blockchain to work with
*/
chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'XDC' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'XDC' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* Amount to be minted and transferred to the recipient.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type ChainTransferEthErc20 = {
/**
* The blockchain to work with
*/
chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'XDC' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'BSC' | 'MATIC' | 'KLAY' | 'XDC' | 'ONE' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* The blockchain address to send the fungible tokens to
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export type CreateSubscriptionContractLogEvent = {
/**
* The blockchain on which events should be monitored.
*/
chain: 'ETH' | 'MATIC' | 'CELO' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX';
chain: 'ETH' | 'MATIC' | 'CELO' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'FTM' | 'OPTIMISM';
/**
* The URL of the endpoint where an HTTP POST request will be sent when the block where the events from the smart contracts are reflected gets completed.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type CreateSubscriptionMultiTokenTransferEvent = {
/**
* The blockchain on which events should be monitored.
*/
chain: 'ETH' | 'MATIC' | 'CELO' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX';
chain: 'ETH' | 'MATIC' | 'CELO' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'FTM' | 'OPTIMISM';
/**
* The URL of the endpoint where an HTTP POST request will be sent when the block where the events from the smart contracts are reflected gets completed.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type CreateSubscriptionNftTransferEvent = {
/**
* The blockchain on which events should be monitored.
*/
chain: 'ETH' | 'MATIC' | 'CELO' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX';
chain: 'ETH' | 'MATIC' | 'CELO' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'FTM' | 'OPTIMISM';
/**
* The URL of the endpoint where an HTTP POST request will be sent when the block where the events from the smart contracts are reflected gets completed.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,14 @@ export type CreateSubscriptionNotification = {
/**
* Blockchain of the address.
*/
chain: 'SOL' | 'ETH' | 'MATIC' | 'CELO' | 'KLAY' | 'BTC' | 'LTC' | 'BCH' | 'DOGE' | 'TRON' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX';
chain: 'SOL' | 'ETH' | 'MATIC' | 'CELO' | 'KLAY' | 'BTC' | 'LTC' | 'BCH' | 'DOGE' | 'TRON' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'FTM' | 'OPTIMISM';
/**
* URL of the endpoint, where HTTP POST request will be sent, when transaction is detected on the address.
*/
url: string;
};
/**
* Flag indicating whether the subscription should include mempool transactions. Only available on BTC blockchain.
*/
mempool?: boolean;
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export type DeployMultiToken = {
/**
* Chain to work with.
*/
chain: 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'ONE' | 'MATIC' | 'KCS' | 'KLAY' | 'BSC' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* URI of the Multi Token token
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/src/generated/models/DeployNft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export type DeployNft = {
/**
* The blockchain to work with
*/
chain: 'ETH' | 'MATIC' | 'KCS' | 'ONE' | 'KLAY' | 'BSC' | 'ZEN' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM';
chain: 'ETH' | 'MATIC' | 'KCS' | 'ONE' | 'KLAY' | 'BSC' | 'ZEN' | 'FLR' | 'CRO' | 'BASE' | 'AVAX' | 'OPTIMISM' | 'FTM';
/**
* Name of the NFT token
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type Error403FantomBep20NotFound = {
/**
* erc20.token.notFound
*/
errorCode: string;
/**
* No such ERC20 currency ${name}.
*/
message: string;
/**
* 403
*/
statusCode: number;
}
18 changes: 18 additions & 0 deletions packages/api-client/src/generated/models/Error403FantomBep20Set.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

export type Error403FantomBep20Set = {
/**
* erc20.address.set
*/
errorCode: string;
/**
* ERC20 address was already set.
*/
message: string;
/**
* 403
*/
statusCode: number;
}
Loading

0 comments on commit f0e5ad7

Please sign in to comment.