@bananapus/nana-sdk-core 2.12.0 → 2.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generated/juicebox.d.ts +176 -42
- package/dist/cjs/generated/juicebox.d.ts.map +1 -1
- package/dist/cjs/generated/juicebox.js +126 -42
- package/dist/cjs/generated/juicebox.js.map +1 -1
- package/dist/esm/generated/juicebox.d.ts +176 -42
- package/dist/esm/generated/juicebox.d.ts.map +1 -1
- package/dist/esm/generated/juicebox.js +126 -42
- package/dist/esm/generated/juicebox.js.map +1 -1
- package/package.json +1 -1
|
@@ -65955,6 +65955,13 @@ export const stickyAutoStickAbi = [
|
|
|
65955
65955
|
],
|
|
65956
65956
|
stateMutability: 'view',
|
|
65957
65957
|
},
|
|
65958
|
+
{
|
|
65959
|
+
type: 'function',
|
|
65960
|
+
inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
|
|
65961
|
+
name: 'isTrustedForwarder',
|
|
65962
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
65963
|
+
stateMutability: 'view',
|
|
65964
|
+
},
|
|
65958
65965
|
{
|
|
65959
65966
|
type: 'function',
|
|
65960
65967
|
inputs: [
|
|
@@ -65996,6 +66003,13 @@ export const stickyAutoStickAbi = [
|
|
|
65996
66003
|
],
|
|
65997
66004
|
stateMutability: 'nonpayable',
|
|
65998
66005
|
},
|
|
66006
|
+
{
|
|
66007
|
+
type: 'function',
|
|
66008
|
+
inputs: [],
|
|
66009
|
+
name: 'trustedForwarder',
|
|
66010
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
66011
|
+
stateMutability: 'view',
|
|
66012
|
+
},
|
|
65999
66013
|
{
|
|
66000
66014
|
type: 'event',
|
|
66001
66015
|
anonymous: false,
|
|
@@ -66305,6 +66319,13 @@ export const stickyDeployerAbi = [
|
|
|
66305
66319
|
outputs: [{ name: 'projectId', internalType: 'uint256', type: 'uint256' }],
|
|
66306
66320
|
stateMutability: 'payable',
|
|
66307
66321
|
},
|
|
66322
|
+
{
|
|
66323
|
+
type: 'function',
|
|
66324
|
+
inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
|
|
66325
|
+
name: 'isTrustedForwarder',
|
|
66326
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
66327
|
+
stateMutability: 'view',
|
|
66328
|
+
},
|
|
66308
66329
|
{
|
|
66309
66330
|
type: 'function',
|
|
66310
66331
|
inputs: [
|
|
@@ -66363,6 +66384,13 @@ export const stickyDeployerAbi = [
|
|
|
66363
66384
|
],
|
|
66364
66385
|
stateMutability: 'view',
|
|
66365
66386
|
},
|
|
66387
|
+
{
|
|
66388
|
+
type: 'function',
|
|
66389
|
+
inputs: [],
|
|
66390
|
+
name: 'trustedForwarder',
|
|
66391
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
66392
|
+
stateMutability: 'view',
|
|
66393
|
+
},
|
|
66366
66394
|
{
|
|
66367
66395
|
type: 'event',
|
|
66368
66396
|
anonymous: false,
|
|
@@ -66750,6 +66778,13 @@ export const stickyDistributorAbi = [
|
|
|
66750
66778
|
outputs: [],
|
|
66751
66779
|
stateMutability: 'payable',
|
|
66752
66780
|
},
|
|
66781
|
+
{
|
|
66782
|
+
type: 'function',
|
|
66783
|
+
inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
|
|
66784
|
+
name: 'isTrustedForwarder',
|
|
66785
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
66786
|
+
stateMutability: 'view',
|
|
66787
|
+
},
|
|
66753
66788
|
{
|
|
66754
66789
|
type: 'function',
|
|
66755
66790
|
inputs: [{ name: 'groupId', internalType: 'uint256', type: 'uint256' }],
|
|
@@ -66950,6 +66985,13 @@ export const stickyDistributorAbi = [
|
|
|
66950
66985
|
outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
|
|
66951
66986
|
stateMutability: 'view',
|
|
66952
66987
|
},
|
|
66988
|
+
{
|
|
66989
|
+
type: 'function',
|
|
66990
|
+
inputs: [],
|
|
66991
|
+
name: 'trustedForwarder',
|
|
66992
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
66993
|
+
stateMutability: 'view',
|
|
66994
|
+
},
|
|
66953
66995
|
{
|
|
66954
66996
|
type: 'function',
|
|
66955
66997
|
inputs: [
|
|
@@ -67575,6 +67617,7 @@ export const stickyHookAbi = [
|
|
|
67575
67617
|
type: 'address',
|
|
67576
67618
|
},
|
|
67577
67619
|
{ name: 'deployer', internalType: 'address', type: 'address' },
|
|
67620
|
+
{ name: 'trustedForwarder', internalType: 'address', type: 'address' },
|
|
67578
67621
|
],
|
|
67579
67622
|
stateMutability: 'nonpayable',
|
|
67580
67623
|
},
|
|
@@ -67879,6 +67922,13 @@ export const stickyHookAbi = [
|
|
|
67879
67922
|
outputs: [{ name: 'isPaying', internalType: 'bool', type: 'bool' }],
|
|
67880
67923
|
stateMutability: 'view',
|
|
67881
67924
|
},
|
|
67925
|
+
{
|
|
67926
|
+
type: 'function',
|
|
67927
|
+
inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
|
|
67928
|
+
name: 'isTrustedForwarder',
|
|
67929
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
67930
|
+
stateMutability: 'view',
|
|
67931
|
+
},
|
|
67882
67932
|
{
|
|
67883
67933
|
type: 'function',
|
|
67884
67934
|
inputs: [
|
|
@@ -68086,6 +68136,13 @@ export const stickyHookAbi = [
|
|
|
68086
68136
|
],
|
|
68087
68137
|
stateMutability: 'view',
|
|
68088
68138
|
},
|
|
68139
|
+
{
|
|
68140
|
+
type: 'function',
|
|
68141
|
+
inputs: [],
|
|
68142
|
+
name: 'trustedForwarder',
|
|
68143
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
68144
|
+
stateMutability: 'view',
|
|
68145
|
+
},
|
|
68089
68146
|
{
|
|
68090
68147
|
type: 'event',
|
|
68091
68148
|
anonymous: false,
|
|
@@ -68447,8 +68504,8 @@ export const stickyRewardReceiverFactoryAbi = [
|
|
|
68447
68504
|
type: 'constructor',
|
|
68448
68505
|
inputs: [
|
|
68449
68506
|
{
|
|
68450
|
-
name: '
|
|
68451
|
-
internalType: 'contract
|
|
68507
|
+
name: 'receiver',
|
|
68508
|
+
internalType: 'contract StickyRewardReceiver',
|
|
68452
68509
|
type: 'address',
|
|
68453
68510
|
},
|
|
68454
68511
|
],
|
|
@@ -68467,6 +68524,19 @@ export const stickyRewardReceiverFactoryAbi = [
|
|
|
68467
68524
|
],
|
|
68468
68525
|
stateMutability: 'view',
|
|
68469
68526
|
},
|
|
68527
|
+
{
|
|
68528
|
+
type: 'function',
|
|
68529
|
+
inputs: [],
|
|
68530
|
+
name: 'RECEIVER',
|
|
68531
|
+
outputs: [
|
|
68532
|
+
{
|
|
68533
|
+
name: '',
|
|
68534
|
+
internalType: 'contract StickyRewardReceiver',
|
|
68535
|
+
type: 'address',
|
|
68536
|
+
},
|
|
68537
|
+
],
|
|
68538
|
+
stateMutability: 'view',
|
|
68539
|
+
},
|
|
68470
68540
|
{
|
|
68471
68541
|
type: 'function',
|
|
68472
68542
|
inputs: [
|
|
@@ -68576,11 +68646,25 @@ export const stickyRewardReceiverFactoryAbi = [
|
|
|
68576
68646
|
],
|
|
68577
68647
|
name: 'Settle',
|
|
68578
68648
|
},
|
|
68649
|
+
{ type: 'error', inputs: [], name: 'FailedDeployment' },
|
|
68650
|
+
{
|
|
68651
|
+
type: 'error',
|
|
68652
|
+
inputs: [
|
|
68653
|
+
{ name: 'balance', internalType: 'uint256', type: 'uint256' },
|
|
68654
|
+
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
68655
|
+
],
|
|
68656
|
+
name: 'InsufficientBalance',
|
|
68657
|
+
},
|
|
68579
68658
|
{
|
|
68580
68659
|
type: 'error',
|
|
68581
68660
|
inputs: [{ name: 'groupId', internalType: 'uint256', type: 'uint256' }],
|
|
68582
68661
|
name: 'StickyRewardReceiverFactory_InvalidGroupId',
|
|
68583
68662
|
},
|
|
68663
|
+
{
|
|
68664
|
+
type: 'error',
|
|
68665
|
+
inputs: [{ name: 'stickyToken', internalType: 'address', type: 'address' }],
|
|
68666
|
+
name: 'StickyRewardReceiverFactory_InvalidStickyToken',
|
|
68667
|
+
},
|
|
68584
68668
|
];
|
|
68585
68669
|
/**
|
|
68586
68670
|
* Addresses to use in JB project deployments.
|
|
@@ -69576,54 +69660,54 @@ export const jbContractAddress = {
|
|
|
69576
69660
|
"11155420": "0xb853758a70a6b4216c09f1d071ea2344aba0a34f"
|
|
69577
69661
|
},
|
|
69578
69662
|
"StickyDeployer": {
|
|
69579
|
-
"1": "
|
|
69580
|
-
"10": "
|
|
69581
|
-
"8453": "
|
|
69582
|
-
"42161": "
|
|
69583
|
-
"84532": "
|
|
69584
|
-
"421614": "
|
|
69585
|
-
"11155111": "
|
|
69586
|
-
"11155420": "
|
|
69663
|
+
"1": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69664
|
+
"10": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69665
|
+
"8453": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69666
|
+
"42161": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69667
|
+
"84532": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69668
|
+
"421614": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69669
|
+
"11155111": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69670
|
+
"11155420": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9"
|
|
69587
69671
|
},
|
|
69588
69672
|
"StickyHook": {
|
|
69589
|
-
"1": "
|
|
69590
|
-
"10": "
|
|
69591
|
-
"8453": "
|
|
69592
|
-
"42161": "
|
|
69593
|
-
"84532": "
|
|
69594
|
-
"421614": "
|
|
69595
|
-
"11155111": "
|
|
69596
|
-
"11155420": "
|
|
69673
|
+
"1": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69674
|
+
"10": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69675
|
+
"8453": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69676
|
+
"42161": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69677
|
+
"84532": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69678
|
+
"421614": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69679
|
+
"11155111": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69680
|
+
"11155420": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693"
|
|
69597
69681
|
},
|
|
69598
69682
|
"StickyDistributor": {
|
|
69599
|
-
"1": "
|
|
69600
|
-
"10": "
|
|
69601
|
-
"8453": "
|
|
69602
|
-
"42161": "
|
|
69603
|
-
"84532": "
|
|
69604
|
-
"421614": "
|
|
69605
|
-
"11155111": "
|
|
69606
|
-
"11155420": "
|
|
69683
|
+
"1": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69684
|
+
"10": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69685
|
+
"8453": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69686
|
+
"42161": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69687
|
+
"84532": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69688
|
+
"421614": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69689
|
+
"11155111": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69690
|
+
"11155420": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8"
|
|
69607
69691
|
},
|
|
69608
69692
|
"StickyRewardReceiverFactory": {
|
|
69609
|
-
"1": "
|
|
69610
|
-
"10": "
|
|
69611
|
-
"8453": "
|
|
69612
|
-
"42161": "
|
|
69613
|
-
"84532": "
|
|
69614
|
-
"421614": "
|
|
69615
|
-
"11155111": "
|
|
69616
|
-
"11155420": "
|
|
69693
|
+
"1": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69694
|
+
"10": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69695
|
+
"8453": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69696
|
+
"42161": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69697
|
+
"84532": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69698
|
+
"421614": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69699
|
+
"11155111": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69700
|
+
"11155420": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737"
|
|
69617
69701
|
},
|
|
69618
69702
|
"StickyAutoStick": {
|
|
69619
|
-
"1": "
|
|
69620
|
-
"10": "
|
|
69621
|
-
"8453": "
|
|
69622
|
-
"42161": "
|
|
69623
|
-
"84532": "
|
|
69624
|
-
"421614": "
|
|
69625
|
-
"11155111": "
|
|
69626
|
-
"11155420": "
|
|
69703
|
+
"1": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69704
|
+
"10": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69705
|
+
"8453": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69706
|
+
"42161": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69707
|
+
"84532": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69708
|
+
"421614": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69709
|
+
"11155111": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69710
|
+
"11155420": "0x9b091e21d25c424de67751f4b6ae8494351218c5"
|
|
69627
69711
|
},
|
|
69628
69712
|
"REVDeployer": {
|
|
69629
69713
|
"1": "0xb552eb94284f94b833837d4b2cbb237128415d4e",
|