@lukso/lsp-smart-contracts 0.10.0 → 0.10.1

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.
@@ -869,11 +869,11 @@ export declare const ErrorSelectors: {
869
869
  };
870
870
  LSP16UniversalFactory: {
871
871
  /**
872
- * error CannotInitializeContract()
872
+ * error ContractInitializationFailed()
873
873
  *
874
- * 0x068c2f17 = keccak256('CannotInitializeContract()')
874
+ * 0xc1ee8543 = keccak256('ContractInitializationFailed()')
875
875
  */
876
- "0x068c2f17": {
876
+ "0xc1ee8543": {
877
877
  sig: string;
878
878
  inputs: any[];
879
879
  name: string;
@@ -883,11 +883,11 @@ export declare const ErrorSelectors: {
883
883
  }[];
884
884
  };
885
885
  /**
886
- * error InvalidMsgValueDistribution()
886
+ * error InvalidValueSum()
887
887
  *
888
- * 0x02045484 = keccak256('InvalidMsgValueDistribution()')
888
+ * 0x2fd9ca91 = keccak256('InvalidValueSum()')
889
889
  */
890
- "0x02045484": {
890
+ "0x2fd9ca91": {
891
891
  sig: string;
892
892
  inputs: any[];
893
893
  name: string;
@@ -9591,13 +9591,14 @@ export declare const EventSigHashes: {
9591
9591
  * event ContractCreated(
9592
9592
  * address indexed contractCreated,
9593
9593
  * bytes32 indexed providedSalt,
9594
- * bool indexed initializable,
9594
+ * bytes32 generatedSalt,
9595
+ * bool indexed initialized,
9595
9596
  * bytes initializeCalldata
9596
9597
  * )
9597
9598
  *
9598
- * 0xc587425c92859c27d4383bf2eb0ab8ea1670c48039f8d6375b9947b82a20f746 = keccak256('ContractCreated(address,bytes32,bool,bytes)')
9599
+ * 0x8872a323d65599f01bf90dc61c94b4e0cc8e2347d6af4122fccc3e112ee34a84 = keccak256('ContractCreated(address,bytes32,bytes32,bool,bytes)')
9599
9600
  */
9600
- "0xc587425c92859c27d4383bf2eb0ab8ea1670c48039f8d6375b9947b82a20f746": {
9601
+ "0x8872a323d65599f01bf90dc61c94b4e0cc8e2347d6af4122fccc3e112ee34a84": {
9601
9602
  sig: string;
9602
9603
  anonymous: boolean;
9603
9604
  inputs: {
@@ -9612,8 +9613,9 @@ export declare const EventSigHashes: {
9612
9613
  details: string;
9613
9614
  params: {
9614
9615
  contractCreated: string;
9615
- initializable: string;
9616
+ generatedSalt: string;
9616
9617
  initializeCalldata: string;
9618
+ initialized: string;
9617
9619
  providedSalt: string;
9618
9620
  };
9619
9621
  };
@@ -14333,7 +14335,7 @@ export declare const FunctionSelectors: {
14333
14335
  };
14334
14336
  /**
14335
14337
  * function initialize(
14336
- * address newOwner
14338
+ * address initialOwner
14337
14339
  * )
14338
14340
  *
14339
14341
  * 0xc4d66de8 = keccak256('initialize(address)')
@@ -14352,9 +14354,12 @@ export declare const FunctionSelectors: {
14352
14354
  devdoc: {
14353
14355
  details: string;
14354
14356
  params: {
14355
- newOwner: string;
14357
+ initialOwner: string;
14356
14358
  };
14357
14359
  };
14360
+ userdoc: {
14361
+ notice: string;
14362
+ };
14358
14363
  };
14359
14364
  /**
14360
14365
  * function isValidSignature(
@@ -15434,16 +15439,16 @@ export declare const FunctionSelectors: {
15434
15439
  };
15435
15440
  LSP16UniversalFactory: {
15436
15441
  /**
15437
- * function calculateAddress(
15442
+ * function computeAddress(
15438
15443
  * bytes32 byteCodeHash,
15439
15444
  * bytes32 providedSalt,
15440
15445
  * bool initializable,
15441
- * bytes initializeCallData
15446
+ * bytes initializeCalldata
15442
15447
  * )
15443
15448
  *
15444
- * 0x8d23bbe1 = keccak256('calculateAddress(bytes32,bytes32,bool,bytes)')
15449
+ * 0x3b315680 = keccak256('computeAddress(bytes32,bytes32,bool,bytes)')
15445
15450
  */
15446
- "0x8d23bbe1": {
15451
+ "0x3b315680": {
15447
15452
  sig: string;
15448
15453
  inputs: {
15449
15454
  internalType: string;
@@ -15460,19 +15465,28 @@ export declare const FunctionSelectors: {
15460
15465
  type: string;
15461
15466
  devdoc: {
15462
15467
  details: string;
15468
+ params: {
15469
+ byteCodeHash: string;
15470
+ initializable: string;
15471
+ initializeCalldata: string;
15472
+ providedSalt: string;
15473
+ };
15474
+ returns: {
15475
+ _0: string;
15476
+ };
15463
15477
  };
15464
15478
  };
15465
15479
  /**
15466
- * function calculateProxyAddress(
15467
- * address baseContract,
15480
+ * function computeERC1167Address(
15481
+ * address implementationContract,
15468
15482
  * bytes32 providedSalt,
15469
15483
  * bool initializable,
15470
- * bytes initializeCallData
15484
+ * bytes initializeCalldata
15471
15485
  * )
15472
15486
  *
15473
- * 0x5f4ed88f = keccak256('calculateProxyAddress(address,bytes32,bool,bytes)')
15487
+ * 0xe888edcb = keccak256('computeERC1167Address(address,bytes32,bool,bytes)')
15474
15488
  */
15475
- "0x5f4ed88f": {
15489
+ "0xe888edcb": {
15476
15490
  sig: string;
15477
15491
  inputs: {
15478
15492
  internalType: string;
@@ -15489,6 +15503,15 @@ export declare const FunctionSelectors: {
15489
15503
  type: string;
15490
15504
  devdoc: {
15491
15505
  details: string;
15506
+ params: {
15507
+ implementationContract: string;
15508
+ initializable: string;
15509
+ initializeCalldata: string;
15510
+ providedSalt: string;
15511
+ };
15512
+ returns: {
15513
+ _0: string;
15514
+ };
15492
15515
  };
15493
15516
  };
15494
15517
  /**
@@ -15516,10 +15539,17 @@ export declare const FunctionSelectors: {
15516
15539
  type: string;
15517
15540
  devdoc: {
15518
15541
  details: string;
15542
+ params: {
15543
+ byteCode: string;
15544
+ providedSalt: string;
15545
+ };
15546
+ returns: {
15547
+ _0: string;
15548
+ };
15519
15549
  };
15520
15550
  };
15521
15551
  /**
15522
- * function deployCreate2Init(
15552
+ * function deployCreate2AndInitialize(
15523
15553
  * bytes byteCode,
15524
15554
  * bytes32 providedSalt,
15525
15555
  * bytes initializeCalldata,
@@ -15527,9 +15557,9 @@ export declare const FunctionSelectors: {
15527
15557
  * uint256 initializeCalldataMsgValue
15528
15558
  * )
15529
15559
  *
15530
- * 0xcace0e47 = keccak256('deployCreate2Init(bytes,bytes32,bytes,uint256,uint256)')
15560
+ * 0xcdbd473a = keccak256('deployCreate2AndInitialize(bytes,bytes32,bytes,uint256,uint256)')
15531
15561
  */
15532
- "0xcace0e47": {
15562
+ "0xcdbd473a": {
15533
15563
  sig: string;
15534
15564
  inputs: {
15535
15565
  internalType: string;
@@ -15546,17 +15576,27 @@ export declare const FunctionSelectors: {
15546
15576
  type: string;
15547
15577
  devdoc: {
15548
15578
  details: string;
15579
+ params: {
15580
+ byteCode: string;
15581
+ constructorMsgValue: string;
15582
+ initializeCalldata: string;
15583
+ initializeCalldataMsgValue: string;
15584
+ providedSalt: string;
15585
+ };
15586
+ returns: {
15587
+ _0: string;
15588
+ };
15549
15589
  };
15550
15590
  };
15551
15591
  /**
15552
- * function deployCreate2Proxy(
15553
- * address baseContract,
15592
+ * function deployERC1167Proxy(
15593
+ * address implementationContract,
15554
15594
  * bytes32 providedSalt
15555
15595
  * )
15556
15596
  *
15557
- * 0x7cdf3c5a = keccak256('deployCreate2Proxy(address,bytes32)')
15597
+ * 0x49d8abed = keccak256('deployERC1167Proxy(address,bytes32)')
15558
15598
  */
15559
- "0x7cdf3c5a": {
15599
+ "0x49d8abed": {
15560
15600
  sig: string;
15561
15601
  inputs: {
15562
15602
  internalType: string;
@@ -15573,18 +15613,25 @@ export declare const FunctionSelectors: {
15573
15613
  type: string;
15574
15614
  devdoc: {
15575
15615
  details: string;
15616
+ params: {
15617
+ implementationContract: string;
15618
+ providedSalt: string;
15619
+ };
15620
+ returns: {
15621
+ _0: string;
15622
+ };
15576
15623
  };
15577
15624
  };
15578
15625
  /**
15579
- * function deployCreate2ProxyInit(
15580
- * address baseContract,
15626
+ * function deployERC1167ProxyAndInitialize(
15627
+ * address implementationContract,
15581
15628
  * bytes32 providedSalt,
15582
15629
  * bytes initializeCalldata
15583
15630
  * )
15584
15631
  *
15585
- * 0x43c329ae = keccak256('deployCreate2ProxyInit(address,bytes32,bytes)')
15632
+ * 0x5340165f = keccak256('deployERC1167ProxyAndInitialize(address,bytes32,bytes)')
15586
15633
  */
15587
- "0x43c329ae": {
15634
+ "0x5340165f": {
15588
15635
  sig: string;
15589
15636
  inputs: {
15590
15637
  internalType: string;
@@ -15601,18 +15648,26 @@ export declare const FunctionSelectors: {
15601
15648
  type: string;
15602
15649
  devdoc: {
15603
15650
  details: string;
15651
+ params: {
15652
+ implementationContract: string;
15653
+ initializeCalldata: string;
15654
+ providedSalt: string;
15655
+ };
15656
+ returns: {
15657
+ _0: string;
15658
+ };
15604
15659
  };
15605
15660
  };
15606
15661
  /**
15607
15662
  * function generateSalt(
15663
+ * bytes32 providedSalt,
15608
15664
  * bool initializable,
15609
- * bytes initializeCallData,
15610
- * bytes32 providedSalt
15665
+ * bytes initializeCalldata
15611
15666
  * )
15612
15667
  *
15613
- * 0x602dcc96 = keccak256('generateSalt(bool,bytes,bytes32)')
15668
+ * 0x1a17ccbf = keccak256('generateSalt(bytes32,bool,bytes)')
15614
15669
  */
15615
- "0x602dcc96": {
15670
+ "0x1a17ccbf": {
15616
15671
  sig: string;
15617
15672
  inputs: {
15618
15673
  internalType: string;
@@ -15629,6 +15684,14 @@ export declare const FunctionSelectors: {
15629
15684
  type: string;
15630
15685
  devdoc: {
15631
15686
  details: string;
15687
+ params: {
15688
+ initializable: string;
15689
+ initializeCalldata: string;
15690
+ providedSalt: string;
15691
+ };
15692
+ returns: {
15693
+ _0: string;
15694
+ };
15632
15695
  };
15633
15696
  };
15634
15697
  };
@@ -31185,7 +31248,7 @@ export declare const FunctionSelectors: {
31185
31248
  };
31186
31249
  /**
31187
31250
  * function initialize(
31188
- * address newOwner
31251
+ * address initialOwner
31189
31252
  * )
31190
31253
  *
31191
31254
  * 0xc4d66de8 = keccak256('initialize(address)')
@@ -31202,8 +31265,9 @@ export declare const FunctionSelectors: {
31202
31265
  stateMutability: string;
31203
31266
  type: string;
31204
31267
  devdoc: {
31268
+ details: string;
31205
31269
  params: {
31206
- newOwner: string;
31270
+ initialOwner: string;
31207
31271
  };
31208
31272
  };
31209
31273
  userdoc: {
@@ -31458,6 +31522,20 @@ export declare const FunctionSelectors: {
31458
31522
  };
31459
31523
  export declare const ContractsDocs: {};
31460
31524
  export declare const StateVariables: {
31525
+ LSP16UniversalFactory: {
31526
+ /**
31527
+ * stateVariable _EMPTY_BYTE()
31528
+ *
31529
+ * 0x3bc60789 = keccak256('_EMPTY_BYTE()')
31530
+ */
31531
+ "0x3bc60789": {
31532
+ sig: string;
31533
+ type: string;
31534
+ devdoc: {
31535
+ details: string;
31536
+ };
31537
+ };
31538
+ };
31461
31539
  LSP8CompatibleERC721: {
31462
31540
  /**
31463
31541
  * stateVariable _operatorApprovals()