mirror of
https://github.com/FlipsideCrypto/aptos-models.git
synced 2026-02-06 18:06:53 +00:00
payload function
This commit is contained in:
parent
bfd06a9b0d
commit
2bcce26763
5
models/descriptions/payload_function.md
Normal file
5
models/descriptions/payload_function.md
Normal file
@ -0,0 +1,5 @@
|
||||
{% docs payload_function %}
|
||||
|
||||
The function that is being called in the transaction payload.
|
||||
|
||||
{% enddocs %}
|
||||
@ -10,6 +10,7 @@ SELECT
|
||||
tx_hash,
|
||||
success,
|
||||
tx_type,
|
||||
payload_function,
|
||||
change_index,
|
||||
change_data,
|
||||
change_type,
|
||||
|
||||
@ -15,7 +15,9 @@ models:
|
||||
- name: SUCCESS
|
||||
description: '{{ doc("success") }}'
|
||||
- name: TX_TYPE
|
||||
description: '{{ doc("tx_type") }}'
|
||||
description: '{{ doc("tx_type") }}'
|
||||
- name: PAYLOAD_FUNCTION
|
||||
description: '{{ doc("payload_function") }}'
|
||||
- name: CHANGE_INDEX
|
||||
description: '{{ doc("change_index") }}'
|
||||
- name: CHANGE_DATA
|
||||
|
||||
@ -10,6 +10,7 @@ SELECT
|
||||
tx_hash,
|
||||
success,
|
||||
tx_type,
|
||||
payload_function,
|
||||
event_index,
|
||||
event_type,
|
||||
event_address,
|
||||
|
||||
@ -15,7 +15,9 @@ models:
|
||||
- name: SUCCESS
|
||||
description: '{{ doc("success") }}'
|
||||
- name: TX_TYPE
|
||||
description: '{{ doc("tx_type") }}'
|
||||
description: '{{ doc("tx_type") }}'
|
||||
- name: PAYLOAD_FUNCTION
|
||||
description: '{{ doc("payload_function") }}'
|
||||
- name: EVENT_INDEX
|
||||
description: '{{ doc("event_index") }}'
|
||||
- name: EVENT_TYPE
|
||||
|
||||
@ -13,6 +13,7 @@ SELECT
|
||||
sender,
|
||||
signature,
|
||||
payload,
|
||||
payload_function,
|
||||
changes,
|
||||
events,
|
||||
gas_unit_price,
|
||||
|
||||
@ -22,6 +22,8 @@ models:
|
||||
description: '{{ doc("signature") }}'
|
||||
- name: PAYLOAD
|
||||
description: '{{ doc("payload") }}'
|
||||
- name: PAYLOAD_FUNCTION
|
||||
description: '{{ doc("payload_function") }}'
|
||||
- name: CHANGES
|
||||
description: '{{ doc("changes") }}'
|
||||
- name: EVENTS
|
||||
|
||||
@ -15,6 +15,7 @@ SELECT
|
||||
version,
|
||||
success,
|
||||
A.tx_type,
|
||||
A.payload_function,
|
||||
b.index AS change_index,
|
||||
b.value :data :data AS change_data,
|
||||
b.value :type :: STRING AS change_type,
|
||||
|
||||
@ -15,6 +15,7 @@ SELECT
|
||||
version,
|
||||
success,
|
||||
A.tx_type,
|
||||
A.payload_function,
|
||||
b.index AS event_index,
|
||||
b.value :type :: STRING AS event_type,
|
||||
SPLIT_PART(
|
||||
|
||||
@ -29,6 +29,7 @@ SELECT
|
||||
b.value :id :: STRING AS id, -- only bmt
|
||||
b.value :max_gas_amount :: bigint AS max_gas_amount, -- only ut
|
||||
b.value :payload AS payload, -- only ut
|
||||
b.value :payload:function::STRING AS payload_function, -- only ut
|
||||
b.value :previous_block_votes_bitvec AS previous_block_votes_bitvec, --only bmt
|
||||
b.value :proposer :: STRING AS proposer, --only bmt
|
||||
b.value :round :: INT AS ROUND, --only bmt
|
||||
|
||||
Loading…
Reference in New Issue
Block a user