forked from fireblocks/ts-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontract-deploy-request.ts
72 lines (65 loc) · 2.17 KB
/
contract-deploy-request.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
/* tslint:disable */
/* eslint-disable */
/**
* Fireblocks API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.6.2
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
// May contain unused imports in some cases
// @ts-ignore
import { ParameterWithValue } from './parameter-with-value';
/**
*
* @export
* @interface ContractDeployRequest
*/
export interface ContractDeployRequest {
/**
* The base asset identifier of the blockchain you want to deploy to
* @type {string}
* @memberof ContractDeployRequest
*/
'assetId': string;
/**
* The vault account id you wish to deploy from
* @type {string}
* @memberof ContractDeployRequest
*/
'vaultAccountId': string;
/**
* The constructor parameters of this contract
* @type {Array<ParameterWithValue>}
* @memberof ContractDeployRequest
*/
'constructorParameters'?: Array<ParameterWithValue>;
/**
* Indicates whether the token should be created in a gasless manner, utilizing the ERC-2771 standard. When set to true, the transaction will be relayed by a designated relayer. The workspace must be configured to use Fireblocks gasless relay.
* @type {boolean}
* @memberof ContractDeployRequest
*/
'useGasless'?: boolean;
/**
* Max fee amount for the write function transaction. interchangeable with the \'feeLevel\' field
* @type {string}
* @memberof ContractDeployRequest
*/
'fee'?: string;
/**
* Fee level for the write function transaction. interchangeable with the \'fee\' field
* @type {string}
* @memberof ContractDeployRequest
*/
'feeLevel'?: ContractDeployRequestFeeLevelEnum;
}
export const ContractDeployRequestFeeLevelEnum = {
Low: 'LOW',
Medium: 'MEDIUM',
High: 'HIGH'
} as const;
export type ContractDeployRequestFeeLevelEnum = typeof ContractDeployRequestFeeLevelEnum[keyof typeof ContractDeployRequestFeeLevelEnum];