@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
|
@@ -65954,6 +65954,13 @@ exports.stickyAutoStickAbi = [
|
|
|
65954
65954
|
],
|
|
65955
65955
|
stateMutability: 'view',
|
|
65956
65956
|
},
|
|
65957
|
+
{
|
|
65958
|
+
type: 'function',
|
|
65959
|
+
inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
|
|
65960
|
+
name: 'isTrustedForwarder',
|
|
65961
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
65962
|
+
stateMutability: 'view',
|
|
65963
|
+
},
|
|
65957
65964
|
{
|
|
65958
65965
|
type: 'function',
|
|
65959
65966
|
inputs: [
|
|
@@ -65995,6 +66002,13 @@ exports.stickyAutoStickAbi = [
|
|
|
65995
66002
|
],
|
|
65996
66003
|
stateMutability: 'nonpayable',
|
|
65997
66004
|
},
|
|
66005
|
+
{
|
|
66006
|
+
type: 'function',
|
|
66007
|
+
inputs: [],
|
|
66008
|
+
name: 'trustedForwarder',
|
|
66009
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
66010
|
+
stateMutability: 'view',
|
|
66011
|
+
},
|
|
65998
66012
|
{
|
|
65999
66013
|
type: 'event',
|
|
66000
66014
|
anonymous: false,
|
|
@@ -66304,6 +66318,13 @@ exports.stickyDeployerAbi = [
|
|
|
66304
66318
|
outputs: [{ name: 'projectId', internalType: 'uint256', type: 'uint256' }],
|
|
66305
66319
|
stateMutability: 'payable',
|
|
66306
66320
|
},
|
|
66321
|
+
{
|
|
66322
|
+
type: 'function',
|
|
66323
|
+
inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
|
|
66324
|
+
name: 'isTrustedForwarder',
|
|
66325
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
66326
|
+
stateMutability: 'view',
|
|
66327
|
+
},
|
|
66307
66328
|
{
|
|
66308
66329
|
type: 'function',
|
|
66309
66330
|
inputs: [
|
|
@@ -66362,6 +66383,13 @@ exports.stickyDeployerAbi = [
|
|
|
66362
66383
|
],
|
|
66363
66384
|
stateMutability: 'view',
|
|
66364
66385
|
},
|
|
66386
|
+
{
|
|
66387
|
+
type: 'function',
|
|
66388
|
+
inputs: [],
|
|
66389
|
+
name: 'trustedForwarder',
|
|
66390
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
66391
|
+
stateMutability: 'view',
|
|
66392
|
+
},
|
|
66365
66393
|
{
|
|
66366
66394
|
type: 'event',
|
|
66367
66395
|
anonymous: false,
|
|
@@ -66749,6 +66777,13 @@ exports.stickyDistributorAbi = [
|
|
|
66749
66777
|
outputs: [],
|
|
66750
66778
|
stateMutability: 'payable',
|
|
66751
66779
|
},
|
|
66780
|
+
{
|
|
66781
|
+
type: 'function',
|
|
66782
|
+
inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
|
|
66783
|
+
name: 'isTrustedForwarder',
|
|
66784
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
66785
|
+
stateMutability: 'view',
|
|
66786
|
+
},
|
|
66752
66787
|
{
|
|
66753
66788
|
type: 'function',
|
|
66754
66789
|
inputs: [{ name: 'groupId', internalType: 'uint256', type: 'uint256' }],
|
|
@@ -66949,6 +66984,13 @@ exports.stickyDistributorAbi = [
|
|
|
66949
66984
|
outputs: [{ name: 'amount', internalType: 'uint256', type: 'uint256' }],
|
|
66950
66985
|
stateMutability: 'view',
|
|
66951
66986
|
},
|
|
66987
|
+
{
|
|
66988
|
+
type: 'function',
|
|
66989
|
+
inputs: [],
|
|
66990
|
+
name: 'trustedForwarder',
|
|
66991
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
66992
|
+
stateMutability: 'view',
|
|
66993
|
+
},
|
|
66952
66994
|
{
|
|
66953
66995
|
type: 'function',
|
|
66954
66996
|
inputs: [
|
|
@@ -67574,6 +67616,7 @@ exports.stickyHookAbi = [
|
|
|
67574
67616
|
type: 'address',
|
|
67575
67617
|
},
|
|
67576
67618
|
{ name: 'deployer', internalType: 'address', type: 'address' },
|
|
67619
|
+
{ name: 'trustedForwarder', internalType: 'address', type: 'address' },
|
|
67577
67620
|
],
|
|
67578
67621
|
stateMutability: 'nonpayable',
|
|
67579
67622
|
},
|
|
@@ -67878,6 +67921,13 @@ exports.stickyHookAbi = [
|
|
|
67878
67921
|
outputs: [{ name: 'isPaying', internalType: 'bool', type: 'bool' }],
|
|
67879
67922
|
stateMutability: 'view',
|
|
67880
67923
|
},
|
|
67924
|
+
{
|
|
67925
|
+
type: 'function',
|
|
67926
|
+
inputs: [{ name: 'forwarder', internalType: 'address', type: 'address' }],
|
|
67927
|
+
name: 'isTrustedForwarder',
|
|
67928
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
67929
|
+
stateMutability: 'view',
|
|
67930
|
+
},
|
|
67881
67931
|
{
|
|
67882
67932
|
type: 'function',
|
|
67883
67933
|
inputs: [
|
|
@@ -68085,6 +68135,13 @@ exports.stickyHookAbi = [
|
|
|
68085
68135
|
],
|
|
68086
68136
|
stateMutability: 'view',
|
|
68087
68137
|
},
|
|
68138
|
+
{
|
|
68139
|
+
type: 'function',
|
|
68140
|
+
inputs: [],
|
|
68141
|
+
name: 'trustedForwarder',
|
|
68142
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
68143
|
+
stateMutability: 'view',
|
|
68144
|
+
},
|
|
68088
68145
|
{
|
|
68089
68146
|
type: 'event',
|
|
68090
68147
|
anonymous: false,
|
|
@@ -68446,8 +68503,8 @@ exports.stickyRewardReceiverFactoryAbi = [
|
|
|
68446
68503
|
type: 'constructor',
|
|
68447
68504
|
inputs: [
|
|
68448
68505
|
{
|
|
68449
|
-
name: '
|
|
68450
|
-
internalType: 'contract
|
|
68506
|
+
name: 'receiver',
|
|
68507
|
+
internalType: 'contract StickyRewardReceiver',
|
|
68451
68508
|
type: 'address',
|
|
68452
68509
|
},
|
|
68453
68510
|
],
|
|
@@ -68466,6 +68523,19 @@ exports.stickyRewardReceiverFactoryAbi = [
|
|
|
68466
68523
|
],
|
|
68467
68524
|
stateMutability: 'view',
|
|
68468
68525
|
},
|
|
68526
|
+
{
|
|
68527
|
+
type: 'function',
|
|
68528
|
+
inputs: [],
|
|
68529
|
+
name: 'RECEIVER',
|
|
68530
|
+
outputs: [
|
|
68531
|
+
{
|
|
68532
|
+
name: '',
|
|
68533
|
+
internalType: 'contract StickyRewardReceiver',
|
|
68534
|
+
type: 'address',
|
|
68535
|
+
},
|
|
68536
|
+
],
|
|
68537
|
+
stateMutability: 'view',
|
|
68538
|
+
},
|
|
68469
68539
|
{
|
|
68470
68540
|
type: 'function',
|
|
68471
68541
|
inputs: [
|
|
@@ -68575,11 +68645,25 @@ exports.stickyRewardReceiverFactoryAbi = [
|
|
|
68575
68645
|
],
|
|
68576
68646
|
name: 'Settle',
|
|
68577
68647
|
},
|
|
68648
|
+
{ type: 'error', inputs: [], name: 'FailedDeployment' },
|
|
68649
|
+
{
|
|
68650
|
+
type: 'error',
|
|
68651
|
+
inputs: [
|
|
68652
|
+
{ name: 'balance', internalType: 'uint256', type: 'uint256' },
|
|
68653
|
+
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
68654
|
+
],
|
|
68655
|
+
name: 'InsufficientBalance',
|
|
68656
|
+
},
|
|
68578
68657
|
{
|
|
68579
68658
|
type: 'error',
|
|
68580
68659
|
inputs: [{ name: 'groupId', internalType: 'uint256', type: 'uint256' }],
|
|
68581
68660
|
name: 'StickyRewardReceiverFactory_InvalidGroupId',
|
|
68582
68661
|
},
|
|
68662
|
+
{
|
|
68663
|
+
type: 'error',
|
|
68664
|
+
inputs: [{ name: 'stickyToken', internalType: 'address', type: 'address' }],
|
|
68665
|
+
name: 'StickyRewardReceiverFactory_InvalidStickyToken',
|
|
68666
|
+
},
|
|
68583
68667
|
];
|
|
68584
68668
|
/**
|
|
68585
68669
|
* Addresses to use in JB project deployments.
|
|
@@ -69575,54 +69659,54 @@ exports.jbContractAddress = {
|
|
|
69575
69659
|
"11155420": "0xb853758a70a6b4216c09f1d071ea2344aba0a34f"
|
|
69576
69660
|
},
|
|
69577
69661
|
"StickyDeployer": {
|
|
69578
|
-
"1": "
|
|
69579
|
-
"10": "
|
|
69580
|
-
"8453": "
|
|
69581
|
-
"42161": "
|
|
69582
|
-
"84532": "
|
|
69583
|
-
"421614": "
|
|
69584
|
-
"11155111": "
|
|
69585
|
-
"11155420": "
|
|
69662
|
+
"1": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69663
|
+
"10": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69664
|
+
"8453": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69665
|
+
"42161": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69666
|
+
"84532": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69667
|
+
"421614": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69668
|
+
"11155111": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9",
|
|
69669
|
+
"11155420": "0xda38ec48b5b1d186b02ba99f297e95153bee33a9"
|
|
69586
69670
|
},
|
|
69587
69671
|
"StickyHook": {
|
|
69588
|
-
"1": "
|
|
69589
|
-
"10": "
|
|
69590
|
-
"8453": "
|
|
69591
|
-
"42161": "
|
|
69592
|
-
"84532": "
|
|
69593
|
-
"421614": "
|
|
69594
|
-
"11155111": "
|
|
69595
|
-
"11155420": "
|
|
69672
|
+
"1": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69673
|
+
"10": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69674
|
+
"8453": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69675
|
+
"42161": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69676
|
+
"84532": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69677
|
+
"421614": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69678
|
+
"11155111": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693",
|
|
69679
|
+
"11155420": "0xa8dcd735031cf96c4213d9a3f66a1dffdcdba693"
|
|
69596
69680
|
},
|
|
69597
69681
|
"StickyDistributor": {
|
|
69598
|
-
"1": "
|
|
69599
|
-
"10": "
|
|
69600
|
-
"8453": "
|
|
69601
|
-
"42161": "
|
|
69602
|
-
"84532": "
|
|
69603
|
-
"421614": "
|
|
69604
|
-
"11155111": "
|
|
69605
|
-
"11155420": "
|
|
69682
|
+
"1": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69683
|
+
"10": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69684
|
+
"8453": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69685
|
+
"42161": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69686
|
+
"84532": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69687
|
+
"421614": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69688
|
+
"11155111": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8",
|
|
69689
|
+
"11155420": "0xc62b3fed668cd8a3879ba34890a67c48a52b1bb8"
|
|
69606
69690
|
},
|
|
69607
69691
|
"StickyRewardReceiverFactory": {
|
|
69608
|
-
"1": "
|
|
69609
|
-
"10": "
|
|
69610
|
-
"8453": "
|
|
69611
|
-
"42161": "
|
|
69612
|
-
"84532": "
|
|
69613
|
-
"421614": "
|
|
69614
|
-
"11155111": "
|
|
69615
|
-
"11155420": "
|
|
69692
|
+
"1": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69693
|
+
"10": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69694
|
+
"8453": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69695
|
+
"42161": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69696
|
+
"84532": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69697
|
+
"421614": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69698
|
+
"11155111": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737",
|
|
69699
|
+
"11155420": "0x41aec7aacea4759f2c8aabd68d4a4c1574a6a737"
|
|
69616
69700
|
},
|
|
69617
69701
|
"StickyAutoStick": {
|
|
69618
|
-
"1": "
|
|
69619
|
-
"10": "
|
|
69620
|
-
"8453": "
|
|
69621
|
-
"42161": "
|
|
69622
|
-
"84532": "
|
|
69623
|
-
"421614": "
|
|
69624
|
-
"11155111": "
|
|
69625
|
-
"11155420": "
|
|
69702
|
+
"1": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69703
|
+
"10": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69704
|
+
"8453": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69705
|
+
"42161": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69706
|
+
"84532": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69707
|
+
"421614": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69708
|
+
"11155111": "0x9b091e21d25c424de67751f4b6ae8494351218c5",
|
|
69709
|
+
"11155420": "0x9b091e21d25c424de67751f4b6ae8494351218c5"
|
|
69626
69710
|
},
|
|
69627
69711
|
"REVDeployer": {
|
|
69628
69712
|
"1": "0xb552eb94284f94b833837d4b2cbb237128415d4e",
|