Namespace: CONTRACT
Type Aliases
ABI
Ƭ ABI: (FUNCTION | CONSTRUCTOR | L1_HANDLER | EVENT | STRUCT | ENUM | INTERFACE | IMPL)[]
Cairo v>=2 Contract ABI
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:11
FUNCTION
Ƭ FUNCTION: Object
Type declaration
| Name | Type | Description |
|---|---|---|
type | ABI_TYPE_FUNCTION | - |
name | string | the function's name |
inputs | ABI_NAME_AND_TYPE[] | the arguments name and type. |
outputs | ABI_TYPE[] | the output type. |
state_mutability | STATE_MUTABILITY | - |
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:12
CONSTRUCTOR
Ƭ CONSTRUCTOR: Object
Type declaration
| Name | Type |
|---|---|
type | ABI_TYPE_CONSTRUCTOR |
name | ABI_TYPE_CONSTRUCTOR |
inputs | ABI_NAME_AND_TYPE[] |
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:28
L1_HANDLER
Ƭ L1_HANDLER: Object
Type declaration
| Name | Type |
|---|---|
type | ABI_TYPE_L1_HANDLER |
name | string |
inputs | ABI_NAME_AND_TYPE[] |
outputs | ABI_TYPE[] |
state_mutability | STATE_MUTABILITY |
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:33
EVENT
Ƭ EVENT: { type: EVENT_ABI_TYPE ; name: string } & SimpleOneOf<ENUM_EVENT, STRUCT_EVENT>
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:40
STRUCT_EVENT
Ƭ STRUCT_EVENT: Object
Type declaration
| Name | Type | Description |
|---|---|---|
kind | STRUCT_ABI_TYPE | - |
members | EVENT_FIELD[] | struct members |
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:47
ENUM_EVENT
Ƭ ENUM_EVENT: Object
Type declaration
| Name | Type | Description |
|---|---|---|
kind | ABI_TYPE_ENUM | - |
variants | EVENT_FIELD[] | enum variants |
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:54
STRUCT
Ƭ STRUCT: Object
Type declaration
| Name | Type | Description |
|---|---|---|
type | STRUCT_ABI_TYPE | - |
name | string | the (Cairo) struct name, including namespacing |
members | ABI_NAME_AND_TYPE[] | name of the struct member. type of the struct member, including namespacing. |
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:61
ENUM
Ƭ ENUM: Object
Type declaration
| Name | Type | Description |
|---|---|---|
type | ABI_TYPE_ENUM | - |
name | string | the (Cairo) enum name, including namespacing |
variants | ABI_NAME_AND_TYPE[] | name of the enum variant. type of the enum variant, including namespacing. |
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:73
INTERFACE
Ƭ INTERFACE: Object
Type declaration
| Name | Type |
|---|---|
type | "interface" |
name | string |
items | FUNCTION[] |
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:85
IMPL
Ƭ IMPL: Object
Type declaration
| Name | Type | Description |
|---|---|---|
type | "impl" | - |
name | string | the name of an impl containing contract entry points |
interface_name | string | the name of the trait corresponding to this impl |
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:90
EVENT_KIND
Ƭ EVENT_KIND: STRUCT_ABI_TYPE | ABI_TYPE_ENUM
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:101
EVENT_FIELD
Ƭ EVENT_FIELD: Object
Type declaration
| Name | Type | Description |
|---|---|---|
name | string | the name of the struct member or enum variant |
type | string | the Cairo type of the member or variant, including namespacing |
kind | "key" | "data" | "nested" | "flat" | - |
Defined in
node_modules/@starknet-io/starknet-types-09/dist/types/api/contract.d.ts:102