Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/bigint-inside-string'
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tron committed Oct 10, 2024
2 parents 0932be1 + 109561b commit 9f5de12
Showing 1 changed file with 54 additions and 15 deletions.
69 changes: 54 additions & 15 deletions api/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1473,6 +1473,7 @@ paths:
required: true
schema:
type: string
x-js-format: bigint
example: "1000000000"
- in: query
name: ticker
Expand Down Expand Up @@ -3428,6 +3429,7 @@ components:
example: 13
value:
type: string
x-js-format: bigint
example: "10000000000"
BlockValueFlow:
type: object
Expand Down Expand Up @@ -3496,7 +3498,8 @@ components:
format: int32
shard:
type: string
example: 8000000000000000
# x-js-format: bigint ???
example: "8000000000000000"
seqno:
type: integer
example: 21734019
Expand All @@ -3515,12 +3518,12 @@ components:
type: array
items:
type: string
example: [ (0,4234235,8000000000000000) ]
example: "[ (0,4234235,8000000000000000) ]"
parent:
type: array
items:
type: string
example: [ (0,21734018,8000000000000000) ]
example: "[ (0,21734018,8000000000000000) ]"
BlockchainBlock:
type: object
required:
Expand Down Expand Up @@ -3563,7 +3566,8 @@ components:
format: int32
shard:
type: string
example: 8000000000000000
# x-js-format: bigint ???
example: "8000000000000000"
seqno:
type: integer
example: 21734019
Expand Down Expand Up @@ -3784,6 +3788,7 @@ components:
example: 5681002
op_code:
type: string
x-js-format: bigint
example: "0xdeadbeaf"
init:
$ref: '#/components/schemas/StateInit'
Expand Down Expand Up @@ -4242,10 +4247,10 @@ components:
example: 1000000
zerostate_root_hash:
type: string
example: 1000000
example: "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
zerostate_file_hash:
type: string
example: 1000000
example: "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
version:
type: integer
format: int64
Expand Down Expand Up @@ -4362,6 +4367,7 @@ components:
type: integer
total_weight:
type: string
x-js-format: bigint
example: "1152921504606846800"
list:
type: array
Expand All @@ -4379,6 +4385,7 @@ components:
x-js-format: bigint
adnl_addr:
type: string
example: "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
Oracle:
type: object
required:
Expand Down Expand Up @@ -4575,6 +4582,8 @@ components:
type: object
additionalProperties:
type: string
# x-js-format: bigint ???
# example ???
code:
type: string
format: cell
Expand Down Expand Up @@ -4712,6 +4721,8 @@ components:
example: 0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf
amount:
type: string
# x-js-format: bigint
# example: "1000000" nanocoins or decimal ?
description: "Number of nanocoins to send. Decimal string."
payload:
type: string
Expand All @@ -4736,8 +4747,9 @@ components:
example: 0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf
commission:
type: string
description: "Commission for the transaction. In nanocoins."
x-js-format: bigint
example: "1000000"
description: "Commission for the transaction. In nanocoins."
from:
type: string
format: address
Expand Down Expand Up @@ -4889,6 +4901,8 @@ components:
format: int64
amount:
type: string
# x-js-format: bigint
# example: "1000000"
"8":
type: object
description: The network version and additional capabilities supported by the validators.
Expand Down Expand Up @@ -5028,10 +5042,16 @@ components:
properties:
min_stake:
type: string
# x-js-format: bigint
# example: "1000000"
max_stake:
type: string
# x-js-format: bigint
# example: "1000000"
min_total_stake:
type: string
# x-js-format: bigint
# example: "1000000"
max_stake_factor:
type: integer
format: int64
Expand Down Expand Up @@ -5404,7 +5424,8 @@ components:
properties:
balance:
type: string
example: 597968399
x-js-format: bigint
example: "597968399"
price:
$ref: '#/components/schemas/TokenRates'
wallet_address:
Expand All @@ -5426,7 +5447,8 @@ components:
properties:
amount:
type: string
example: 597968399
x-js-format: bigint
example: "597968399"
till:
type: integer
format: int64
Expand All @@ -5448,6 +5470,7 @@ components:
properties:
value:
type: string
x-js-format: bigint
example: "123000000000"
token_name:
type: string
Expand Down Expand Up @@ -5854,6 +5877,7 @@ components:
example: "NftTransfer or 0x35d95a12"
payload:
type: string
# example ??, maybe cell?
refund:
$ref: '#/components/schemas/Refund'
DomainRenewAction:
Expand Down Expand Up @@ -5885,6 +5909,7 @@ components:
$ref: '#/components/schemas/AccountAddress'
amount:
type: string
x-js-format: bigint
description: amount in minimal particles
example: "123456789"
type:
Expand Down Expand Up @@ -5915,6 +5940,7 @@ components:
$ref: '#/components/schemas/AccountAddress'
amount:
type: string
x-js-format: bigint
description: amount in minimal particles
example: "123456789"
comment:
Expand Down Expand Up @@ -5977,8 +6003,9 @@ components:
example: 0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B
amount:
type: string
x-js-format: bigint
example: "1000000000"
description: amount in quanta of tokens
example: 1000000000
comment:
type: string
example: "Hi! This is your salary. \nFrom accounting with love."
Expand All @@ -6004,8 +6031,9 @@ components:
example: 0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B
amount:
type: string
x-js-format: bigint
example: "1000000000"
description: amount in quanta of tokens
example: 1000000000
jetton:
$ref: '#/components/schemas/JettonPreview'
JettonMintAction:
Expand All @@ -6024,8 +6052,9 @@ components:
example: 0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B
amount:
type: string
x-js-format: bigint
example: "1000000000"
description: amount in quanta of tokens
example: 1000000000
jetton:
$ref: '#/components/schemas/JettonPreview'
ContractDeployAction:
Expand Down Expand Up @@ -6208,9 +6237,11 @@ components:
- megatonfi
amount_in:
type: string
x-js-format: bigint
example: "1660050553"
amount_out:
type: string
x-js-format: bigint
example: "1660050553"
ton_in:
type: integer
Expand Down Expand Up @@ -6654,6 +6685,7 @@ components:
properties:
quantity:
type: string
x-js-format: bigint
example: "597968399"
wallet_address:
$ref: '#/components/schemas/AccountAddress'
Expand Down Expand Up @@ -6764,6 +6796,7 @@ components:
example: "nft_transfer"
op_code:
type: string
x-js-format: bigint
example: "0xdeadbeaf"
decoded_body: { } # Free-form JSON value
mode:
Expand Down Expand Up @@ -6881,6 +6914,7 @@ components:
example: "nano"
balance:
type: string
x-js-format: bigint
example: "1000000000"
decimals:
type: integer
Expand Down Expand Up @@ -6908,6 +6942,7 @@ components:
example: true
total_supply:
type: string
x-js-format: bigint
example: "5887105890579978"
admin:
$ref: '#/components/schemas/AccountAddress'
Expand Down Expand Up @@ -6942,6 +6977,7 @@ components:
$ref: '#/components/schemas/AccountAddress'
balance:
type: string
x-js-format: bigint
example: "168856200518084"
description: balance in the smallest jetton's units
total:
Expand All @@ -6956,12 +6992,14 @@ components:
properties:
custom_payload:
type: string
description: "hex-encoded BoC"
# format: ???
example: "b5ee9c72410212010001b40009460395b521c9251151ae7987e03c544bd275d6cd42c2d157f840beb14d5454b96718000d012205817002020328480101fd7f6a648d4f771d7f0abc1707e4e806b19de1801f65eb8c133a4cfb0c33d847000b22012004052848010147da975b922d89192f4c9b68a640daa6764ec398c93cec025e17f0c1852a711a0009220120061122012007082848010170d9fb0423cbef6c2cf1f3811a2f640daf8c9a326b6f8816c1b993e90d88e2100006220120090a28480101f6df1d75f6b9e45f224b2cb4fc2286d927d47b468b6dbf1fedc4316290ec2ae900042201200b102201200c0f2201200d"
description: "hex-encoded BoC"
state_init:
type: string
description: "hex-encoded BoC"
# format: ???
example: "b5ee9c72410212010001b40009460395b521c9251151ae7987e03c544bd275d6cd42c2d157f840beb14d5454b96718000d012205817002020328480101fd7f6a648d4f771d7f0abc1707e4e806b19de1801f65eb8c133a4cfb0c33d847000b22012004052848010147da975b922d89192f4c9b68a640daa6764ec398c93cec025e17f0c1852a711a0009220120061122012007082848010170d9fb0423cbef6c2cf1f3811a2f640daf8c9a326b6f8816c1b993e90d88e2100006220120090a28480101f6df1d75f6b9e45f224b2cb4fc2286d927d47b468b6dbf1fedc4316290ec2ae900042201200b102201200c0f2201200d"
description: "hex-encoded BoC"
AccountStaking:
type: object
required:
Expand Down Expand Up @@ -7221,7 +7259,8 @@ components:
format: int32
shard:
type: string
example: 800000000000000
# x-js-format: bigint ??
example: "800000000000000"
seqno:
type: integer
example: 30699640
Expand Down

0 comments on commit 9f5de12

Please sign in to comment.