Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fuel-ts/utils

Package Overview
Dependencies
Maintainers
1
Versions
2805
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fuel-ts/utils - npm Package Compare versions

Comparing version 0.0.0-next-20241210125820 to 0.0.0-next-20241211160457

642

dist/index.js

@@ -236,3 +236,3 @@ "use strict";

consensus_parameters: {
V1: {
V2: {
tx_params: {

@@ -244,3 +244,3 @@ V1: {

max_gas_per_tx: 3e7,
max_size: 262144,
max_size: 112640,
max_bytecode_subsections: 256

@@ -251,6 +251,6 @@ }

V1: {
max_predicate_length: 102400,
max_predicate_data_length: 102400,
max_predicate_length: 24576,
max_predicate_data_length: 24576,
max_message_data_length: 102400,
max_gas_per_predicate: 3e7
max_gas_per_predicate: 1e6
}

@@ -266,3 +266,3 @@ },

V1: {
contract_max_size: 262144,
contract_max_size: 112640,
max_storage_slots: 1760

@@ -273,3 +273,3 @@ }

V1: {
gas_price_factor: 92e3,
gas_price_factor: 115e4,
gas_per_byte: 63

@@ -285,6 +285,6 @@ }

andi: 2,
bal: 29,
bal: 274,
bhei: 2,
bhsh: 2,
burn: 19976,
burn: 7566,
cb: 2,

@@ -294,4 +294,4 @@ cfsi: 2,

divi: 2,
eck1: 1907,
ecr1: 26135,
eck1: 1489,
ecr1: 20513,
eq: 2,

@@ -303,3 +303,3 @@ exp: 2,

gt: 2,
gtf: 13,
gtf: 3,
ji: 2,

@@ -317,6 +317,6 @@ jmp: 2,

lb: 2,
log: 102,
log: 80,
lt: 2,
lw: 2,
mint: 18042,
mint: 6566,
mlog: 2,

@@ -326,4 +326,4 @@ mod: 2,

move: 2,
movi: 2,
mroo: 4,
movi: 1,
mroo: 3,
mul: 2,

@@ -334,10 +334,10 @@ muli: 2,

not: 2,
or: 2,
or: 1,
ori: 2,
poph: 3,
popl: 3,
poph: 2,
popl: 2,
pshh: 5,
pshl: 5,
ret_contract: 53,
rvrt_contract: 52,
ret_contract: 43,
rvrt_contract: 39,
sb: 2,

@@ -348,24 +348,24 @@ sll: 2,

srli: 2,
srw: 177,
srw: 237,
sub: 2,
subi: 2,
sw: 2,
sww: 17302,
time: 35,
tr: 27852,
tro: 19718,
sww: 5708,
time: 106,
tr: 9253,
tro: 7199,
wdcm: 2,
wqcm: 2,
wdop: 3,
wdop: 2,
wqop: 3,
wdml: 3,
wqml: 3,
wddv: 4,
wqdv: 5,
wdmd: 8,
wqmd: 12,
wdam: 7,
wqam: 8,
wdmm: 8,
wqmm: 8,
wddv: 3,
wqdv: 4,
wdmd: 6,
wqmd: 9,
wdam: 6,
wqam: 6,
wdmm: 6,
wqmm: 6,
xor: 2,

@@ -376,3 +376,3 @@ xori: 2,

base: 2,
units_per_gas: 15
units_per_gas: 35
}

@@ -382,4 +382,4 @@ },

LightOperation: {
base: 17,
units_per_gas: 790
base: 25,
units_per_gas: 564
}

@@ -389,4 +389,4 @@ },

LightOperation: {
base: 15,
units_per_gas: 272
base: 33,
units_per_gas: 130
}

@@ -397,3 +397,3 @@ },

base: 10,
units_per_gas: 1818181
units_per_gas: 62
}

@@ -403,4 +403,4 @@ },

LightOperation: {
base: 2,
units_per_gas: 1e6
base: 10,
units_per_gas: 66
}

@@ -410,4 +410,4 @@ },

LightOperation: {
base: 13513,
units_per_gas: 7
base: 6934,
units_per_gas: 14
}

@@ -417,4 +417,4 @@ },

LightOperation: {
base: 34,
units_per_gas: 39
base: 21,
units_per_gas: 155
}

@@ -424,4 +424,4 @@ },

LightOperation: {
base: 91,
units_per_gas: 3
base: 69,
units_per_gas: 4
}

@@ -431,4 +431,4 @@ },

LightOperation: {
base: 31,
units_per_gas: 438
base: 25,
units_per_gas: 580
}

@@ -438,4 +438,4 @@ },

LightOperation: {
base: 3e3,
units_per_gas: 214
base: 3232,
units_per_gas: 7
}

@@ -445,4 +445,4 @@ },

LightOperation: {
base: 27,
units_per_gas: 5
base: 21,
units_per_gas: 6
}

@@ -452,4 +452,4 @@ },

LightOperation: {
base: 43,
units_per_gas: 102
base: 84,
units_per_gas: 113
}

@@ -459,4 +459,4 @@ },

LightOperation: {
base: 363,
units_per_gas: 4
base: 278,
units_per_gas: 5
}

@@ -467,3 +467,3 @@ },

base: 2,
units_per_gas: 1041
units_per_gas: 1282
}

@@ -474,3 +474,3 @@ },

base: 2,
units_per_gas: 1025
units_per_gas: 1250
}

@@ -480,4 +480,4 @@ },

LightOperation: {
base: 4,
units_per_gas: 325
base: 3,
units_per_gas: 385
}

@@ -487,4 +487,4 @@ },

LightOperation: {
base: 8,
units_per_gas: 511
base: 7,
units_per_gas: 585
}

@@ -494,4 +494,4 @@ },

LightOperation: {
base: 3,
units_per_gas: 940
base: 2,
units_per_gas: 1234
}

@@ -501,4 +501,4 @@ },

LightOperation: {
base: 305,
units_per_gas: 4
base: 227,
units_per_gas: 5
}

@@ -508,4 +508,4 @@ },

LightOperation: {
base: 31,
units_per_gas: 4
base: 25,
units_per_gas: 5
}

@@ -515,4 +515,4 @@ },

HeavyOperation: {
base: 16346,
gas_per_unit: 17163
base: 5666,
gas_per_unit: 6628
}

@@ -522,4 +522,4 @@ },

LightOperation: {
base: 40860,
units_per_gas: 2
base: 14635,
units_per_gas: 3
}

@@ -529,4 +529,4 @@ },

HeavyOperation: {
base: 187,
gas_per_unit: 179
base: 245,
gas_per_unit: 243
}

@@ -536,4 +536,4 @@ },

HeavyOperation: {
base: 17046,
gas_per_unit: 16232
base: 5661,
gas_per_unit: 5776
}

@@ -543,4 +543,4 @@ },

LightOperation: {
base: 31,
units_per_gas: 2
base: 24,
units_per_gas: 3
}

@@ -550,4 +550,4 @@ },

HeavyOperation: {
base: 236,
gas_per_unit: 122
base: 189,
gas_per_unit: 96
}

@@ -558,4 +558,4 @@ },

LightOperation: {
base: 3957,
units_per_gas: 48
base: 3127,
units_per_gas: 61
}

@@ -567,2 +567,3 @@ }

block_gas_limit: 3e7,
block_transaction_size_limit: 260096,
privileged_address: "0000000000000000000000000000000000000000000000000000000000000000"

@@ -590,471 +591,4 @@ }

var stateConfig_default = {
coins: [
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000001",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x94ffcc53b892684acefaebc8a3d4a595e528a8cf664eeb3ef36f1020b0809d0d",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000002",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x09c0b2d1a486c439a87bcba6b46a7a1a23f3897cc83a94521a96da5c23bc58db",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000003",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x09c0b2d1a486c439a87bcba6b46a7a1a23f3897cc83a94521a96da5c23bc58db",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000004",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x09c0b2d1a486c439a87bcba6b46a7a1a23f3897cc83a94521a96da5c23bc58db",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000005",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x5d99ee966b42cd8fc7bdd1364b389153a9e78b42b7d4a691470674e817888d4e",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000006",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x5d99ee966b42cd8fc7bdd1364b389153a9e78b42b7d4a691470674e817888d4e",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000007",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x5d99ee966b42cd8fc7bdd1364b389153a9e78b42b7d4a691470674e817888d4e",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000008",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xbdaad6a89e073e177895b3e5a9ccd15806749eda134a6438dae32fc5b6601f3f",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000009",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xbdaad6a89e073e177895b3e5a9ccd15806749eda134a6438dae32fc5b6601f3f",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000010",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xbdaad6a89e073e177895b3e5a9ccd15806749eda134a6438dae32fc5b6601f3f",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000011",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x95a7aa6cc32743f8706c40ef49a7423b47da763bb4bbc055b1f07254dc729036",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000012",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x95a7aa6cc32743f8706c40ef49a7423b47da763bb4bbc055b1f07254dc729036",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000013",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x95a7aa6cc32743f8706c40ef49a7423b47da763bb4bbc055b1f07254dc729036",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000014",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xcee104acd38b940c8f1c62c6d7ea00a0ad2241d6dee0509a4bf27297508870d3",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000015",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xcee104acd38b940c8f1c62c6d7ea00a0ad2241d6dee0509a4bf27297508870d3",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000016",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xcee104acd38b940c8f1c62c6d7ea00a0ad2241d6dee0509a4bf27297508870d3",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000017",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x7e3626e306588eba79cafab73f0709e55ab8f4bdfe8c8b75034a430fc56ece89",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000018",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x7e3626e306588eba79cafab73f0709e55ab8f4bdfe8c8b75034a430fc56ece89",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000019",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x7e3626e306588eba79cafab73f0709e55ab8f4bdfe8c8b75034a430fc56ece89",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000020",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x1c31df52b6df56407dd95f83082e8beb9cfc9532ac111d5bd8491651d95ba775",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000021",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x1c31df52b6df56407dd95f83082e8beb9cfc9532ac111d5bd8491651d95ba775",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000022",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x1c31df52b6df56407dd95f83082e8beb9cfc9532ac111d5bd8491651d95ba775",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000023",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x09dd7a49174d6fcc9f4c6f7942c18060a935ddd03ee69b594189b8c3581276ea",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000024",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x09dd7a49174d6fcc9f4c6f7942c18060a935ddd03ee69b594189b8c3581276ea",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000025",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x09dd7a49174d6fcc9f4c6f7942c18060a935ddd03ee69b594189b8c3581276ea",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000026",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x86604282dc604481b809845be49667607c470644f6822fc01eb0d22f167e08cf",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000027",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x86604282dc604481b809845be49667607c470644f6822fc01eb0d22f167e08cf",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000028",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x86604282dc604481b809845be49667607c470644f6822fc01eb0d22f167e08cf",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000029",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xbca334a06d19db5041c78fe2f465b07be5bec828f38b7796b2877e7d1542c950",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000030",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xbca334a06d19db5041c78fe2f465b07be5bec828f38b7796b2877e7d1542c950",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000031",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xbca334a06d19db5041c78fe2f465b07be5bec828f38b7796b2877e7d1542c950",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000032",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xbd9a1dc8d3ec3521c43f6c2c01611b4d0204c7610204ff0178488c8738a30bd2",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000033",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xbd9a1dc8d3ec3521c43f6c2c01611b4d0204c7610204ff0178488c8738a30bd2",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000034",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xbd9a1dc8d3ec3521c43f6c2c01611b4d0204c7610204ff0178488c8738a30bd2",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000035",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xb32197cf75efe05bf453c26178139f09b391582065549c1422bc92555ecffb64",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000036",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xb32197cf75efe05bf453c26178139f09b391582065549c1422bc92555ecffb64",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000037",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0xb32197cf75efe05bf453c26178139f09b391582065549c1422bc92555ecffb64",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000038",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x3b24509ed4ab3c7959f5c9391c1445c59290cdb5f13d6f780922f376b7029f30",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000039",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x3b24509ed4ab3c7959f5c9391c1445c59290cdb5f13d6f780922f376b7029f30",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000040",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x3b24509ed4ab3c7959f5c9391c1445c59290cdb5f13d6f780922f376b7029f30",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000041",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x77c6f40b7da70d885f68efaad7c661327482a63ea10dcb4271de819438254ae1",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000042",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x77c6f40b7da70d885f68efaad7c661327482a63ea10dcb4271de819438254ae1",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000043",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x77c6f40b7da70d885f68efaad7c661327482a63ea10dcb4271de819438254ae1",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000044",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x6a2c4691c547c43924650dbd30620b184b5fe3fb6dbe5c4446110b08f6f405bf",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000045",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x6a2c4691c547c43924650dbd30620b184b5fe3fb6dbe5c4446110b08f6f405bf",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000046",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x6a2c4691c547c43924650dbd30620b184b5fe3fb6dbe5c4446110b08f6f405bf",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000047",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x49075a7538e2c88ebe1926ce4d898198a2a4e790d14512943a9864bc536b3c82",
amount: 18446744073709552e3,
asset_id: "0xf8f8b6283d7fa5b672b530cbb84fcccb4ff8dc40f8176ef4544ddb1f1952ad07"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000048",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x49075a7538e2c88ebe1926ce4d898198a2a4e790d14512943a9864bc536b3c82",
amount: 18446744073709552e3,
asset_id: "0x0101010101010101010101010101010101010101010101010101010101010101"
},
{
tx_id: "0x0000000000000000000000000000000000000000000000000000000000000049",
output_index: 0,
tx_pointer_block_height: 0,
tx_pointer_tx_idx: 0,
owner: "0x49075a7538e2c88ebe1926ce4d898198a2a4e790d14512943a9864bc536b3c82",
amount: 18446744073709552e3,
asset_id: "0x0202020202020202020202020202020202020202020202020202020202020202"
}
],
messages: [
{
sender: "0xc43454aa38dd91f88109a4b7aef5efb96ce34e3f24992fe0f81d233ca686f80f",
recipient: "0x69a2b736b60159b43bb8a4f98c0589f6da5fa3a3d101e8e269c499eb942753ba",
nonce: "0101010101010101010101010101010101010101010101010101010101010101",
amount: 18446744073709552e3,
data: "",
da_height: 0
},
{
sender: "0x69a2b736b60159b43bb8a4f98c0589f6da5fa3a3d101e8e269c499eb942753ba",
recipient: "0xc43454aa38dd91f88109a4b7aef5efb96ce34e3f24992fe0f81d233ca686f80f",
nonce: "0e1ef2963832068b0e1ef2963832068b0e1ef2963832068b0e1ef2963832068b",
amount: 12704439083013452e3,
data: "",
da_height: 0
},
{
sender: "0x22cae5308938e8b4caf217b6464884f6331eff05e81468df8ccd08126effc8d0",
recipient: "0x8d2af98a4198732a46bf65d87a73427dd7608acaad2414585d8ccdd6f59c437b",
nonce: "0x381de90750098776c71544527fd253412908dec3d07ce9a7367bd1ba975908a0",
amount: 18446744073709552e3,
data: "",
da_height: 0
}
],
coins: [],
messages: [],
contracts: [],

@@ -1061,0 +595,0 @@ blobs: [],

7

dist/utils/types.d.ts

@@ -0,1 +1,2 @@

import type { BN } from '@fuel-ts/math';
interface Coin {

@@ -7,3 +8,3 @@ tx_id: string;

owner: string;
amount: number;
amount: number | BN;
asset_id: string;

@@ -15,3 +16,3 @@ }

nonce: string;
amount: number;
amount: number | BN;
data: string;

@@ -202,3 +203,3 @@ da_height: number;

consensus_parameters: {
V1: ConsensusParameters;
V2: ConsensusParameters;
};

@@ -205,0 +206,0 @@ consensus: Consensus;

{
"name": "@fuel-ts/utils",
"version": "0.0.0-next-20241210125820",
"version": "0.0.0-next-20241211160457",
"description": "Utilities (and test utilities) collection",

@@ -45,6 +45,6 @@ "author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",

"fflate": "^0.8.2",
"@fuel-ts/errors": "0.0.0-next-20241210125820",
"@fuel-ts/interfaces": "0.0.0-next-20241210125820",
"@fuel-ts/math": "0.0.0-next-20241210125820",
"@fuel-ts/versions": "0.0.0-next-20241210125820"
"@fuel-ts/errors": "0.0.0-next-20241211160457",
"@fuel-ts/interfaces": "0.0.0-next-20241211160457",
"@fuel-ts/math": "0.0.0-next-20241211160457",
"@fuel-ts/versions": "0.0.0-next-20241211160457"
},

@@ -51,0 +51,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc