-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
81 changed files
with
1,831 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
packages/api-client/src/generated/models/CallCronosSmartContractMethod.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
export type CallCronosSmartContractMethod = { | ||
/** | ||
* 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 Cronos 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; | ||
}; | ||
} |
30 changes: 30 additions & 0 deletions
30
packages/api-client/src/generated/models/CallCronosSmartContractMethodCaller.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 CallCronosSmartContractMethodCaller = { | ||
/** | ||
* 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; | ||
} |
47 changes: 47 additions & 0 deletions
47
packages/api-client/src/generated/models/CallCronosSmartContractMethodKMS.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
export type CallCronosSmartContractMethodKMS = { | ||
/** | ||
* 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 Cronos 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; | ||
}; | ||
} |
19 changes: 19 additions & 0 deletions
19
packages/api-client/src/generated/models/CallCronosSmartContractReadMethod.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
export type CallCronosSmartContractReadMethod = { | ||
/** | ||
* 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>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
export type CronosBalance = { | ||
/** | ||
* Balance in CRO | ||
*/ | ||
balance?: string; | ||
} |
Oops, something went wrong.