@reyaxyz/common 0.213.0 → 0.214.0

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.
@@ -786,6 +786,107 @@
786
786
  "outputs": [],
787
787
  "stateMutability": "nonpayable"
788
788
  },
789
+ {
790
+ "type": "function",
791
+ "name": "executeViaPublisher",
792
+ "inputs": [
793
+ {
794
+ "name": "inputs",
795
+ "type": "tuple",
796
+ "internalType": "struct PeripheryExecutionViaPublisherInputs",
797
+ "components": [
798
+ {
799
+ "name": "accountId",
800
+ "type": "uint128",
801
+ "internalType": "uint128"
802
+ },
803
+ {
804
+ "name": "commands",
805
+ "type": "tuple[]",
806
+ "internalType": "struct Command[]",
807
+ "components": [
808
+ {
809
+ "name": "commandType",
810
+ "type": "uint8",
811
+ "internalType": "enum CommandType"
812
+ },
813
+ {
814
+ "name": "inputs",
815
+ "type": "bytes",
816
+ "internalType": "bytes"
817
+ },
818
+ {
819
+ "name": "marketId",
820
+ "type": "uint128",
821
+ "internalType": "uint128"
822
+ },
823
+ {
824
+ "name": "exchangeId",
825
+ "type": "uint128",
826
+ "internalType": "uint128"
827
+ }
828
+ ]
829
+ },
830
+ {
831
+ "name": "sig",
832
+ "type": "tuple",
833
+ "internalType": "struct EIP712Signature",
834
+ "components": [
835
+ {
836
+ "name": "v",
837
+ "type": "uint8",
838
+ "internalType": "uint8"
839
+ },
840
+ {
841
+ "name": "r",
842
+ "type": "bytes32",
843
+ "internalType": "bytes32"
844
+ },
845
+ {
846
+ "name": "s",
847
+ "type": "bytes32",
848
+ "internalType": "bytes32"
849
+ },
850
+ {
851
+ "name": "deadline",
852
+ "type": "uint256",
853
+ "internalType": "uint256"
854
+ }
855
+ ]
856
+ },
857
+ {
858
+ "name": "publisherSig",
859
+ "type": "tuple",
860
+ "internalType": "struct EIP712Signature",
861
+ "components": [
862
+ {
863
+ "name": "v",
864
+ "type": "uint8",
865
+ "internalType": "uint8"
866
+ },
867
+ {
868
+ "name": "r",
869
+ "type": "bytes32",
870
+ "internalType": "bytes32"
871
+ },
872
+ {
873
+ "name": "s",
874
+ "type": "bytes32",
875
+ "internalType": "bytes32"
876
+ },
877
+ {
878
+ "name": "deadline",
879
+ "type": "uint256",
880
+ "internalType": "uint256"
881
+ }
882
+ ]
883
+ }
884
+ ]
885
+ }
886
+ ],
887
+ "outputs": [],
888
+ "stateMutability": "nonpayable"
889
+ },
789
890
  {
790
891
  "type": "function",
791
892
  "name": "isCommandAllowed",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reyaxyz/common",
3
- "version": "0.213.0",
3
+ "version": "0.214.0",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -43,5 +43,5 @@
43
43
  "generate:coverage-badges": "npx istanbul-badges-readme --silent"
44
44
  },
45
45
  "packageManager": "pnpm@8.3.1",
46
- "gitHead": "b21bf88d42de372efe0eb7379edbdc8590b7c11d"
46
+ "gitHead": "df1693ef844d5569d9d20efb269ade764a4e54c6"
47
47
  }
@@ -786,6 +786,107 @@
786
786
  "outputs": [],
787
787
  "stateMutability": "nonpayable"
788
788
  },
789
+ {
790
+ "type": "function",
791
+ "name": "executeViaPublisher",
792
+ "inputs": [
793
+ {
794
+ "name": "inputs",
795
+ "type": "tuple",
796
+ "internalType": "struct PeripheryExecutionViaPublisherInputs",
797
+ "components": [
798
+ {
799
+ "name": "accountId",
800
+ "type": "uint128",
801
+ "internalType": "uint128"
802
+ },
803
+ {
804
+ "name": "commands",
805
+ "type": "tuple[]",
806
+ "internalType": "struct Command[]",
807
+ "components": [
808
+ {
809
+ "name": "commandType",
810
+ "type": "uint8",
811
+ "internalType": "enum CommandType"
812
+ },
813
+ {
814
+ "name": "inputs",
815
+ "type": "bytes",
816
+ "internalType": "bytes"
817
+ },
818
+ {
819
+ "name": "marketId",
820
+ "type": "uint128",
821
+ "internalType": "uint128"
822
+ },
823
+ {
824
+ "name": "exchangeId",
825
+ "type": "uint128",
826
+ "internalType": "uint128"
827
+ }
828
+ ]
829
+ },
830
+ {
831
+ "name": "sig",
832
+ "type": "tuple",
833
+ "internalType": "struct EIP712Signature",
834
+ "components": [
835
+ {
836
+ "name": "v",
837
+ "type": "uint8",
838
+ "internalType": "uint8"
839
+ },
840
+ {
841
+ "name": "r",
842
+ "type": "bytes32",
843
+ "internalType": "bytes32"
844
+ },
845
+ {
846
+ "name": "s",
847
+ "type": "bytes32",
848
+ "internalType": "bytes32"
849
+ },
850
+ {
851
+ "name": "deadline",
852
+ "type": "uint256",
853
+ "internalType": "uint256"
854
+ }
855
+ ]
856
+ },
857
+ {
858
+ "name": "publisherSig",
859
+ "type": "tuple",
860
+ "internalType": "struct EIP712Signature",
861
+ "components": [
862
+ {
863
+ "name": "v",
864
+ "type": "uint8",
865
+ "internalType": "uint8"
866
+ },
867
+ {
868
+ "name": "r",
869
+ "type": "bytes32",
870
+ "internalType": "bytes32"
871
+ },
872
+ {
873
+ "name": "s",
874
+ "type": "bytes32",
875
+ "internalType": "bytes32"
876
+ },
877
+ {
878
+ "name": "deadline",
879
+ "type": "uint256",
880
+ "internalType": "uint256"
881
+ }
882
+ ]
883
+ }
884
+ ]
885
+ }
886
+ ],
887
+ "outputs": [],
888
+ "stateMutability": "nonpayable"
889
+ },
789
890
  {
790
891
  "type": "function",
791
892
  "name": "isCommandAllowed",