@ercworldio/blockchain-shared 1.0.3-dev.3 → 1.0.3-dev.4
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/build/chains/networks_prod-dz.json +7 -7
- package/build/chains/networks_prod-sh.json +41 -5
- package/build/chains/networks_prod-yb.json +42 -6
- package/build/chains/networks_stg-yb.json +1 -1
- package/build/contracts/artifacts/Escrow.json +1831 -342
- package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +0 -1
- package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts +0 -6
- package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +761 -76
- package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts +65 -17
- package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/index.d.ts +2 -0
- package/build/contracts/typechain-types/contracts/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts +386 -0
- package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/lib/Events.js +2 -0
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts +21 -0
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/lib/MultisigLib.js +2 -0
- package/build/contracts/typechain-types/contracts/lib/index.d.ts +3 -0
- package/build/contracts/typechain-types/contracts/lib/index.d.ts.map +1 -0
- package/build/contracts/typechain-types/contracts/lib/index.js +2 -0
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +0 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js +1 -3
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +0 -4
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.js +1 -7
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +286 -12
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +374 -12
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +137 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +182 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +1247 -98
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +1736 -247
- package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.js +1 -1
- package/build/contracts/typechain-types/factories/contracts/index.d.ts +1 -0
- package/build/contracts/typechain-types/factories/contracts/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/index.js +2 -1
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +373 -0
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +473 -0
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +55 -0
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +82 -0
- package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts +3 -0
- package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts.map +1 -0
- package/build/contracts/typechain-types/factories/contracts/lib/index.js +10 -0
- package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts +1 -1
- package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts.map +1 -1
- package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.js +1 -1
- package/build/contracts/typechain-types/index.d.ts +4 -10
- package/build/contracts/typechain-types/index.d.ts.map +1 -1
- package/build/contracts/typechain-types/index.js +5 -11
- package/build/entities/AdminOperationThresholds.d.ts +12 -0
- package/build/entities/AdminOperationThresholds.d.ts.map +1 -0
- package/build/entities/AdminOperationThresholds.js +56 -0
- package/build/entities/EscrowRoles.d.ts +12 -0
- package/build/entities/EscrowRoles.d.ts.map +1 -0
- package/build/entities/EscrowRoles.js +57 -0
- package/build/entities/GlobalTimelock.d.ts +14 -0
- package/build/entities/GlobalTimelock.d.ts.map +1 -0
- package/build/entities/GlobalTimelock.js +64 -0
- package/build/entities/GranularTimelock .d.ts +12 -0
- package/build/entities/GranularTimelock .d.ts.map +1 -0
- package/build/entities/GranularTimelock .js +56 -0
- package/build/entities/OperationType.d.ts +18 -0
- package/build/entities/OperationType.d.ts.map +1 -0
- package/build/entities/OperationType.js +50 -0
- package/build/entities/RoleHash.d.ts +11 -0
- package/build/entities/RoleHash.d.ts.map +1 -0
- package/build/entities/RoleHash.js +52 -0
- package/build/entities/Signatures.d.ts +16 -0
- package/build/entities/Signatures.d.ts.map +1 -0
- package/build/entities/Signatures.js +72 -0
- package/build/entities/TokenExecutionThresholds.d.ts +16 -0
- package/build/entities/TokenExecutionThresholds.d.ts.map +1 -0
- package/build/entities/TokenExecutionThresholds.js +72 -0
- package/build/index.d.ts +1 -0
- package/build/index.d.ts.map +1 -1
- package/build/index.js +4 -2
- package/build/services/ChainManager.d.ts.map +1 -1
- package/build/services/SweepJobService.d.ts +3 -3
- package/build/services/SweepJobService.d.ts.map +1 -1
- package/build/services/SweepJobService.js +12 -7
- package/build/services/db/roles/ContractRoles.d.ts +54 -0
- package/build/services/db/roles/ContractRoles.d.ts.map +1 -0
- package/build/services/db/roles/ContractRoles.js +81 -0
- package/package.json +1 -1
package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.js
CHANGED
|
@@ -349,7 +349,7 @@ const _abi = [
|
|
|
349
349
|
type: "function",
|
|
350
350
|
},
|
|
351
351
|
];
|
|
352
|
-
const _bytecode = "
|
|
352
|
+
const _bytecode = "0x604060808152346200039f5762000b7c803803806200001e81620003a4565b92833981016060828203126200039f57815191602091828201519160018060401b03928381116200039f578262000057918301620003ca565b91868201518481116200039f57620000709201620003ca565b9181518181116200029f576003908154906001948583811c9316801562000394575b888410146200037e578190601f9384811162000328575b508890848311600114620002c157600092620002b5575b505060001982851b1c191690851b1782555b84519283116200029f5760049485548581811c9116801562000294575b888210146200027f5782811162000234575b5086918411600114620001c957938394918492600095620001bd575b50501b92600019911b1c19161781555b3315620001a657600254908382018092116200019157506000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9160025533835282815284832084815401905584519384523393a35161073f90816200043d8239f35b601190634e487b7160e01b6000525260246000fd5b602490600085519163ec442f0560e01b8352820152fd5b0151935038806200011d565b9190601f198416928660005284886000209460005b8a898383106200021c575050501062000201575b50505050811b0181556200012d565b01519060f884600019921b161c1916905538808080620001f2565b868601518955909701969485019488935001620001de565b86600052876000208380870160051c8201928a881062000275575b0160051c019086905b8281106200026857505062000101565b6000815501869062000258565b925081926200024f565b602287634e487b7160e01b6000525260246000fd5b90607f1690620000ef565b634e487b7160e01b600052604160045260246000fd5b015190503880620000c0565b90879350601f19831691866000528a6000209260005b8c828210620003115750508411620002f8575b505050811b018255620000d2565b015160001983871b60f8161c19169055388080620002ea565b8385015186558b97909501949384019301620002d7565b90915084600052886000208480850160051c8201928b861062000374575b918991869594930160051c01915b82811062000364575050620000a9565b6000815585945089910162000354565b9250819262000346565b634e487b7160e01b600052602260045260246000fd5b92607f169262000092565b600080fd5b6040519190601f01601f191682016001600160401b038111838210176200029f57604052565b919080601f840112156200039f5782516001600160401b0381116200029f5760209062000400601f8201601f19168301620003a4565b928184528282870101116200039f5760005b8181106200042857508260009394955001015290565b85810183015184820184015282016200041256fe608060408181526004918236101561001657600080fd5b600092833560e01c91826306fdde03146104d957508163095ea7b31461042f57816318160ddd1461041057816323b872dd14610319578163313ce567146102fd57816370a08231146102c657816395d89b41146101a7578163a0712d681461010e57508063a9059cbb146100de5763dd62ed3e1461009357600080fd5b346100da57806003193601126100da57806020926100af6105fa565b6100b7610615565b6001600160a01b0391821683526001865283832091168252845220549051908152f35b5080fd5b50346100da57806003193601126100da576020906101076100fd6105fa565b602435903361062b565b5160018152f35b919050346101a35760203660031901126101a357813591331561018e576002549083820180921161017b57506002553383528260205280832082815401905551908152817fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a380f35b634e487b7160e01b855260119052602484fd5b83602492519163ec442f0560e01b8352820152fd5b8280fd5b8383346100da57816003193601126100da57805190828454600181811c908083169283156102bc575b60209384841081146102a95783885290811561028d5750600114610238575b505050829003601f01601f191682019267ffffffffffffffff84118385101761022557508291826102219252826105b1565b0390f35b634e487b7160e01b815260418552602490fd5b8787529192508591837f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b83851061027957505050508301018580806101ef565b805488860183015293019284908201610263565b60ff1916878501525050151560051b84010190508580806101ef565b634e487b7160e01b895260228a52602489fd5b91607f16916101d0565b5050346100da5760203660031901126100da5760209181906001600160a01b036102ee6105fa565b16815280845220549051908152f35b5050346100da57816003193601126100da576020905160068152f35b9050823461040d57606036600319011261040d576103356105fa565b61033d610615565b916044359360018060a01b038316808352600160205286832033845260205286832054916000198310610379575b60208861010789898961062b565b8683106103e15781156103ca5733156103b3575082526001602090815286832033845281529186902090859003905582906101078761036b565b8751634a1406b160e11b8152908101849052602490fd5b875163e602df0560e01b8152908101849052602490fd5b8751637dc7a0d960e11b8152339181019182526020820193909352604081018790528291506060010390fd5b80fd5b5050346100da57816003193601126100da576020906002549051908152f35b9050346101a357816003193601126101a3576104496105fa565b6024359033156104c2576001600160a01b03169182156104ab57508083602095338152600187528181208582528752205582519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925843392a35160018152f35b8351634a1406b160e11b8152908101859052602490fd5b835163e602df0560e01b8152808401869052602490fd5b849084346101a357826003193601126101a35782600354600181811c908083169283156105a7575b60209384841081146102a95783885290811561028d575060011461055157505050829003601f01601f191682019267ffffffffffffffff84118385101761022557508291826102219252826105b1565b600387529192508591837fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b83851061059357505050508301018580806101ef565b80548886018301529301928490820161057d565b91607f1691610501565b6020808252825181830181905290939260005b8281106105e657505060409293506000838284010152601f8019910116010190565b8181018601518482016040015285016105c4565b600435906001600160a01b038216820361061057565b600080fd5b602435906001600160a01b038216820361061057565b916001600160a01b038084169283156106f057169283156106d757600090838252816020526040822054908382106106a5575091604082827fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef958760209652828652038282205586815220818154019055604051908152a3565b60405163391434e360e21b81526001600160a01b03919091166004820152602481019190915260448101839052606490fd5b60405163ec442f0560e01b815260006004820152602490fd5b604051634b637e8f60e11b815260006004820152602490fdfea26469706673582212204df6fb9a489003938adb752642126db10f37a9e4b56af984ec722ff484239f9e64736f6c63430008140033";
|
|
353
353
|
const isSuperArgs = (xs) => xs.length > 1;
|
|
354
354
|
class ERC20Mock__factory extends ethers_1.ContractFactory {
|
|
355
355
|
constructor(...args) {
|
|
@@ -19,8 +19,6 @@ export type { IERC721Errors } from "./@openzeppelin/contracts/interfaces/draft-I
|
|
|
19
19
|
export { IERC721Errors__factory } from "./factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory";
|
|
20
20
|
export type { IERC1363 } from "./@openzeppelin/contracts/interfaces/IERC1363";
|
|
21
21
|
export { IERC1363__factory } from "./factories/@openzeppelin/contracts/interfaces/IERC1363__factory";
|
|
22
|
-
export type { IERC5267 } from "./@openzeppelin/contracts/interfaces/IERC5267";
|
|
23
|
-
export { IERC5267__factory } from "./factories/@openzeppelin/contracts/interfaces/IERC5267__factory";
|
|
24
22
|
export type { ERC20 } from "./@openzeppelin/contracts/token/ERC20/ERC20";
|
|
25
23
|
export { ERC20__factory } from "./factories/@openzeppelin/contracts/token/ERC20/ERC20__factory";
|
|
26
24
|
export type { IERC20Metadata } from "./@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata";
|
|
@@ -29,18 +27,10 @@ export type { IERC20 } from "./@openzeppelin/contracts/token/ERC20/IERC20";
|
|
|
29
27
|
export { IERC20__factory } from "./factories/@openzeppelin/contracts/token/ERC20/IERC20__factory";
|
|
30
28
|
export type { SafeERC20 } from "./@openzeppelin/contracts/token/ERC20/utils/SafeERC20";
|
|
31
29
|
export { SafeERC20__factory } from "./factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory";
|
|
32
|
-
export type { EIP712 } from "./@openzeppelin/contracts/utils/cryptography/EIP712";
|
|
33
|
-
export { EIP712__factory } from "./factories/@openzeppelin/contracts/utils/cryptography/EIP712__factory";
|
|
34
30
|
export type { ERC165 } from "./@openzeppelin/contracts/utils/introspection/ERC165";
|
|
35
31
|
export { ERC165__factory } from "./factories/@openzeppelin/contracts/utils/introspection/ERC165__factory";
|
|
36
32
|
export type { IERC165 } from "./@openzeppelin/contracts/utils/introspection/IERC165";
|
|
37
33
|
export { IERC165__factory } from "./factories/@openzeppelin/contracts/utils/introspection/IERC165__factory";
|
|
38
|
-
export type { SafeCast } from "./@openzeppelin/contracts/utils/math/SafeCast";
|
|
39
|
-
export { SafeCast__factory } from "./factories/@openzeppelin/contracts/utils/math/SafeCast__factory";
|
|
40
|
-
export type { ShortStrings } from "./@openzeppelin/contracts/utils/ShortStrings";
|
|
41
|
-
export { ShortStrings__factory } from "./factories/@openzeppelin/contracts/utils/ShortStrings__factory";
|
|
42
|
-
export type { Strings } from "./@openzeppelin/contracts/utils/Strings";
|
|
43
|
-
export { Strings__factory } from "./factories/@openzeppelin/contracts/utils/Strings__factory";
|
|
44
34
|
export type { Escrow } from "./contracts/escrow/Escrow";
|
|
45
35
|
export { Escrow__factory } from "./factories/contracts/escrow/Escrow__factory";
|
|
46
36
|
export type { EscrowAccessControl } from "./contracts/escrow/EscrowAccessControl";
|
|
@@ -51,6 +41,10 @@ export type { EscrowSignature } from "./contracts/escrow/EscrowSignature";
|
|
|
51
41
|
export { EscrowSignature__factory } from "./factories/contracts/escrow/EscrowSignature__factory";
|
|
52
42
|
export type { TokensWhitelist } from "./contracts/escrow/TokensWhitelist";
|
|
53
43
|
export { TokensWhitelist__factory } from "./factories/contracts/escrow/TokensWhitelist__factory";
|
|
44
|
+
export type { Events } from "./contracts/lib/Events";
|
|
45
|
+
export { Events__factory } from "./factories/contracts/lib/Events__factory";
|
|
46
|
+
export type { MultisigLib } from "./contracts/lib/MultisigLib";
|
|
47
|
+
export { MultisigLib__factory } from "./factories/contracts/lib/MultisigLib__factory";
|
|
54
48
|
export type { ERC20Mock } from "./contracts/mock/erc20/ERC20Mock";
|
|
55
49
|
export { ERC20Mock__factory } from "./factories/contracts/mock/erc20/ERC20Mock__factory";
|
|
56
50
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contracts/typechain-types/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,YAAY,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,YAAY,EAAE,CAAC;AAC7B,OAAO,KAAK,KAAK,SAAS,MAAM,aAAa,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,CAAC;AAC1B,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,MAAM,iEAAiE,CAAC;AACrG,OAAO,EAAE,sBAAsB,EAAE,MAAM,oFAAoF,CAAC;AAC5H,YAAY,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mEAAmE,CAAC;AAC3G,YAAY,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oEAAoE,CAAC;AAC7G,YAAY,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAC/F,YAAY,EAAE,cAAc,EAAE,MAAM,wEAAwE,CAAC;AAC7G,OAAO,EAAE,uBAAuB,EAAE,MAAM,2FAA2F,CAAC;AACpI,YAAY,EAAE,YAAY,EAAE,MAAM,sEAAsE,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,yFAAyF,CAAC;AAChI,YAAY,EAAE,aAAa,EAAE,MAAM,uEAAuE,CAAC;AAC3G,OAAO,EAAE,sBAAsB,EAAE,MAAM,0FAA0F,CAAC;AAClI,YAAY,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kEAAkE,CAAC;AACrG,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contracts/typechain-types/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,YAAY,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,YAAY,EAAE,CAAC;AAC7B,OAAO,KAAK,KAAK,SAAS,MAAM,aAAa,CAAC;AAC9C,YAAY,EAAE,SAAS,EAAE,CAAC;AAC1B,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,MAAM,iEAAiE,CAAC;AACrG,OAAO,EAAE,sBAAsB,EAAE,MAAM,oFAAoF,CAAC;AAC5H,YAAY,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,mEAAmE,CAAC;AAC3G,YAAY,EAAE,cAAc,EAAE,MAAM,iDAAiD,CAAC;AACtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,oEAAoE,CAAC;AAC7G,YAAY,EAAE,OAAO,EAAE,MAAM,0CAA0C,CAAC;AACxE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6DAA6D,CAAC;AAC/F,YAAY,EAAE,cAAc,EAAE,MAAM,wEAAwE,CAAC;AAC7G,OAAO,EAAE,uBAAuB,EAAE,MAAM,2FAA2F,CAAC;AACpI,YAAY,EAAE,YAAY,EAAE,MAAM,sEAAsE,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,yFAAyF,CAAC;AAChI,YAAY,EAAE,aAAa,EAAE,MAAM,uEAAuE,CAAC;AAC3G,OAAO,EAAE,sBAAsB,EAAE,MAAM,0FAA0F,CAAC;AAClI,YAAY,EAAE,QAAQ,EAAE,MAAM,+CAA+C,CAAC;AAC9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kEAAkE,CAAC;AACrG,YAAY,EAAE,KAAK,EAAE,MAAM,6CAA6C,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,gEAAgE,CAAC;AAChG,YAAY,EAAE,cAAc,EAAE,MAAM,iEAAiE,CAAC;AACtG,OAAO,EAAE,uBAAuB,EAAE,MAAM,oFAAoF,CAAC;AAC7H,YAAY,EAAE,MAAM,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,iEAAiE,CAAC;AAClG,YAAY,EAAE,SAAS,EAAE,MAAM,uDAAuD,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0EAA0E,CAAC;AAC9G,YAAY,EAAE,MAAM,EAAE,MAAM,sDAAsD,CAAC;AACnF,OAAO,EAAE,eAAe,EAAE,MAAM,yEAAyE,CAAC;AAC1G,YAAY,EAAE,OAAO,EAAE,MAAM,uDAAuD,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAE,MAAM,0EAA0E,CAAC;AAC5G,YAAY,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,8CAA8C,CAAC;AAC/E,YAAY,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAClF,OAAO,EAAE,4BAA4B,EAAE,MAAM,2DAA2D,CAAC;AACzG,YAAY,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oDAAoD,CAAC;AAC3F,YAAY,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,YAAY,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAC1E,OAAO,EAAE,wBAAwB,EAAE,MAAM,uDAAuD,CAAC;AACjG,YAAY,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,2CAA2C,CAAC;AAC5E,YAAY,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AACtF,YAAY,EAAE,SAAS,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qDAAqD,CAAC"}
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.ERC20Mock__factory = exports.
|
|
36
|
+
exports.ERC20Mock__factory = exports.MultisigLib__factory = exports.Events__factory = exports.TokensWhitelist__factory = exports.EscrowSignature__factory = exports.EscrowErrors__factory = exports.EscrowAccessControl__factory = exports.Escrow__factory = exports.IERC165__factory = exports.ERC165__factory = exports.SafeERC20__factory = exports.IERC20__factory = exports.IERC20Metadata__factory = exports.ERC20__factory = exports.IERC1363__factory = exports.IERC721Errors__factory = exports.IERC20Errors__factory = exports.IERC1155Errors__factory = exports.Ownable__factory = exports.IAccessControl__factory = exports.AccessControl__factory = exports.Initializable__factory = exports.factories = void 0;
|
|
37
37
|
exports.factories = __importStar(require("./factories"));
|
|
38
38
|
var Initializable__factory_1 = require("./factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory");
|
|
39
39
|
Object.defineProperty(exports, "Initializable__factory", { enumerable: true, get: function () { return Initializable__factory_1.Initializable__factory; } });
|
|
@@ -51,8 +51,6 @@ var IERC721Errors__factory_1 = require("./factories/@openzeppelin/contracts/inte
|
|
|
51
51
|
Object.defineProperty(exports, "IERC721Errors__factory", { enumerable: true, get: function () { return IERC721Errors__factory_1.IERC721Errors__factory; } });
|
|
52
52
|
var IERC1363__factory_1 = require("./factories/@openzeppelin/contracts/interfaces/IERC1363__factory");
|
|
53
53
|
Object.defineProperty(exports, "IERC1363__factory", { enumerable: true, get: function () { return IERC1363__factory_1.IERC1363__factory; } });
|
|
54
|
-
var IERC5267__factory_1 = require("./factories/@openzeppelin/contracts/interfaces/IERC5267__factory");
|
|
55
|
-
Object.defineProperty(exports, "IERC5267__factory", { enumerable: true, get: function () { return IERC5267__factory_1.IERC5267__factory; } });
|
|
56
54
|
var ERC20__factory_1 = require("./factories/@openzeppelin/contracts/token/ERC20/ERC20__factory");
|
|
57
55
|
Object.defineProperty(exports, "ERC20__factory", { enumerable: true, get: function () { return ERC20__factory_1.ERC20__factory; } });
|
|
58
56
|
var IERC20Metadata__factory_1 = require("./factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory");
|
|
@@ -61,18 +59,10 @@ var IERC20__factory_1 = require("./factories/@openzeppelin/contracts/token/ERC20
|
|
|
61
59
|
Object.defineProperty(exports, "IERC20__factory", { enumerable: true, get: function () { return IERC20__factory_1.IERC20__factory; } });
|
|
62
60
|
var SafeERC20__factory_1 = require("./factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory");
|
|
63
61
|
Object.defineProperty(exports, "SafeERC20__factory", { enumerable: true, get: function () { return SafeERC20__factory_1.SafeERC20__factory; } });
|
|
64
|
-
var EIP712__factory_1 = require("./factories/@openzeppelin/contracts/utils/cryptography/EIP712__factory");
|
|
65
|
-
Object.defineProperty(exports, "EIP712__factory", { enumerable: true, get: function () { return EIP712__factory_1.EIP712__factory; } });
|
|
66
62
|
var ERC165__factory_1 = require("./factories/@openzeppelin/contracts/utils/introspection/ERC165__factory");
|
|
67
63
|
Object.defineProperty(exports, "ERC165__factory", { enumerable: true, get: function () { return ERC165__factory_1.ERC165__factory; } });
|
|
68
64
|
var IERC165__factory_1 = require("./factories/@openzeppelin/contracts/utils/introspection/IERC165__factory");
|
|
69
65
|
Object.defineProperty(exports, "IERC165__factory", { enumerable: true, get: function () { return IERC165__factory_1.IERC165__factory; } });
|
|
70
|
-
var SafeCast__factory_1 = require("./factories/@openzeppelin/contracts/utils/math/SafeCast__factory");
|
|
71
|
-
Object.defineProperty(exports, "SafeCast__factory", { enumerable: true, get: function () { return SafeCast__factory_1.SafeCast__factory; } });
|
|
72
|
-
var ShortStrings__factory_1 = require("./factories/@openzeppelin/contracts/utils/ShortStrings__factory");
|
|
73
|
-
Object.defineProperty(exports, "ShortStrings__factory", { enumerable: true, get: function () { return ShortStrings__factory_1.ShortStrings__factory; } });
|
|
74
|
-
var Strings__factory_1 = require("./factories/@openzeppelin/contracts/utils/Strings__factory");
|
|
75
|
-
Object.defineProperty(exports, "Strings__factory", { enumerable: true, get: function () { return Strings__factory_1.Strings__factory; } });
|
|
76
66
|
var Escrow__factory_1 = require("./factories/contracts/escrow/Escrow__factory");
|
|
77
67
|
Object.defineProperty(exports, "Escrow__factory", { enumerable: true, get: function () { return Escrow__factory_1.Escrow__factory; } });
|
|
78
68
|
var EscrowAccessControl__factory_1 = require("./factories/contracts/escrow/EscrowAccessControl__factory");
|
|
@@ -83,5 +73,9 @@ var EscrowSignature__factory_1 = require("./factories/contracts/escrow/EscrowSig
|
|
|
83
73
|
Object.defineProperty(exports, "EscrowSignature__factory", { enumerable: true, get: function () { return EscrowSignature__factory_1.EscrowSignature__factory; } });
|
|
84
74
|
var TokensWhitelist__factory_1 = require("./factories/contracts/escrow/TokensWhitelist__factory");
|
|
85
75
|
Object.defineProperty(exports, "TokensWhitelist__factory", { enumerable: true, get: function () { return TokensWhitelist__factory_1.TokensWhitelist__factory; } });
|
|
76
|
+
var Events__factory_1 = require("./factories/contracts/lib/Events__factory");
|
|
77
|
+
Object.defineProperty(exports, "Events__factory", { enumerable: true, get: function () { return Events__factory_1.Events__factory; } });
|
|
78
|
+
var MultisigLib__factory_1 = require("./factories/contracts/lib/MultisigLib__factory");
|
|
79
|
+
Object.defineProperty(exports, "MultisigLib__factory", { enumerable: true, get: function () { return MultisigLib__factory_1.MultisigLib__factory; } });
|
|
86
80
|
var ERC20Mock__factory_1 = require("./factories/contracts/mock/erc20/ERC20Mock__factory");
|
|
87
81
|
Object.defineProperty(exports, "ERC20Mock__factory", { enumerable: true, get: function () { return ERC20Mock__factory_1.ERC20Mock__factory; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class AdminOperationThresholds {
|
|
2
|
+
id: number;
|
|
3
|
+
operation_type: number;
|
|
4
|
+
blockchain: string;
|
|
5
|
+
chain_id: string;
|
|
6
|
+
escrow_address: string;
|
|
7
|
+
sigsManager: number;
|
|
8
|
+
sigsExecutive: number;
|
|
9
|
+
created_at: Date;
|
|
10
|
+
updated_at: Date;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AdminOperationThresholds.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminOperationThresholds.d.ts","sourceRoot":"","sources":["../../src/entities/AdminOperationThresholds.ts"],"names":[],"mappings":"AAEA,qBAEa,wBAAwB;IAEjC,EAAE,EAAG,MAAM,CAAC;IAMZ,cAAc,EAAG,MAAM,CAAC;IAGxB,UAAU,EAAG,MAAM,CAAC;IAGpB,QAAQ,EAAG,MAAM,CAAC;IAGlB,cAAc,EAAG,MAAM,CAAC;IAIxB,WAAW,EAAG,MAAM,CAAC;IAGrB,aAAa,EAAG,MAAM,CAAC;IAGvB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CACrB"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AdminOperationThresholds = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let AdminOperationThresholds = class AdminOperationThresholds {
|
|
15
|
+
};
|
|
16
|
+
exports.AdminOperationThresholds = AdminOperationThresholds;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ type: 'bigint' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], AdminOperationThresholds.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], AdminOperationThresholds.prototype, "operation_type", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], AdminOperationThresholds.prototype, "blockchain", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], AdminOperationThresholds.prototype, "chain_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], AdminOperationThresholds.prototype, "escrow_address", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], AdminOperationThresholds.prototype, "sigsManager", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], AdminOperationThresholds.prototype, "sigsExecutive", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
47
|
+
__metadata("design:type", Date)
|
|
48
|
+
], AdminOperationThresholds.prototype, "created_at", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
51
|
+
__metadata("design:type", Date)
|
|
52
|
+
], AdminOperationThresholds.prototype, "updated_at", void 0);
|
|
53
|
+
exports.AdminOperationThresholds = AdminOperationThresholds = __decorate([
|
|
54
|
+
(0, typeorm_1.Entity)({ name: "crypto_admin_operation_thresholds", schema: "" }),
|
|
55
|
+
(0, typeorm_1.Unique)(['blockchain', 'operation_type', 'chain_id', 'escrow_address'])
|
|
56
|
+
], AdminOperationThresholds);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class EscrowRoles {
|
|
2
|
+
id: number;
|
|
3
|
+
user_id: number;
|
|
4
|
+
blockchain: string;
|
|
5
|
+
chain_id: string;
|
|
6
|
+
contract_address: string;
|
|
7
|
+
wallet_address: string;
|
|
8
|
+
role_id: number;
|
|
9
|
+
created_at: Date;
|
|
10
|
+
updated_at: Date;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=EscrowRoles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EscrowRoles.d.ts","sourceRoot":"","sources":["../../src/entities/EscrowRoles.ts"],"names":[],"mappings":"AAEA,qBAGa,WAAW;IAEpB,EAAE,EAAG,MAAM,CAAC;IAGZ,OAAO,EAAG,MAAM,CAAC;IAGjB,UAAU,EAAG,MAAM,CAAC;IAGpB,QAAQ,EAAG,MAAM,CAAC;IAGlB,gBAAgB,EAAG,MAAM,CAAC;IAG1B,cAAc,EAAG,MAAM,CAAC;IAKxB,OAAO,EAAG,MAAM,CAAC;IAIjB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CACrB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EscrowRoles = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let EscrowRoles = class EscrowRoles {
|
|
15
|
+
};
|
|
16
|
+
exports.EscrowRoles = EscrowRoles;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ type: 'bigint' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], EscrowRoles.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], EscrowRoles.prototype, "user_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], EscrowRoles.prototype, "blockchain", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], EscrowRoles.prototype, "chain_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'varchar', nullable: false }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], EscrowRoles.prototype, "contract_address", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], EscrowRoles.prototype, "wallet_address", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'bigint' }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], EscrowRoles.prototype, "role_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
47
|
+
__metadata("design:type", Date)
|
|
48
|
+
], EscrowRoles.prototype, "created_at", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
51
|
+
__metadata("design:type", Date)
|
|
52
|
+
], EscrowRoles.prototype, "updated_at", void 0);
|
|
53
|
+
exports.EscrowRoles = EscrowRoles = __decorate([
|
|
54
|
+
(0, typeorm_1.Entity)({ name: "crypto_escrow_roles", schema: "" }),
|
|
55
|
+
(0, typeorm_1.Unique)(['blockchain', 'chain_id', 'contract_address', 'wallet_address', 'role_id']),
|
|
56
|
+
(0, typeorm_1.Index)(['wallet_address', 'role_id', 'user_id'])
|
|
57
|
+
], EscrowRoles);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class GlobalTimelock {
|
|
2
|
+
id: number;
|
|
3
|
+
operation_type: number;
|
|
4
|
+
blockchain: string;
|
|
5
|
+
chain_id: string;
|
|
6
|
+
escrow_address: string;
|
|
7
|
+
token_address: string;
|
|
8
|
+
thresholdAmount: number;
|
|
9
|
+
durationBelow: number;
|
|
10
|
+
durationAbove: number;
|
|
11
|
+
created_at: Date;
|
|
12
|
+
updated_at: Date;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=GlobalTimelock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlobalTimelock.d.ts","sourceRoot":"","sources":["../../src/entities/GlobalTimelock.ts"],"names":[],"mappings":"AAEA,qBAEa,cAAc;IAGvB,EAAE,EAAG,MAAM,CAAC;IAIZ,cAAc,EAAG,MAAM,CAAC;IAGxB,UAAU,EAAG,MAAM,CAAC;IAGpB,QAAQ,EAAG,MAAM,CAAC;IAGlB,cAAc,EAAG,MAAM,CAAC;IAGxB,aAAa,EAAG,MAAM,CAAC;IAGvB,eAAe,EAAG,MAAM,CAAC;IAGzB,aAAa,EAAG,MAAM,CAAC;IAGvB,aAAa,EAAG,MAAM,CAAC;IAGvB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CAErB"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GlobalTimelock = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let GlobalTimelock = class GlobalTimelock {
|
|
15
|
+
};
|
|
16
|
+
exports.GlobalTimelock = GlobalTimelock;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ type: 'bigint' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], GlobalTimelock.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], GlobalTimelock.prototype, "operation_type", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], GlobalTimelock.prototype, "blockchain", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], GlobalTimelock.prototype, "chain_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], GlobalTimelock.prototype, "escrow_address", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], GlobalTimelock.prototype, "token_address", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'numeric' }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], GlobalTimelock.prototype, "thresholdAmount", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'bigint' }),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], GlobalTimelock.prototype, "durationBelow", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'bigint' }),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], GlobalTimelock.prototype, "durationAbove", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
55
|
+
__metadata("design:type", Date)
|
|
56
|
+
], GlobalTimelock.prototype, "created_at", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
59
|
+
__metadata("design:type", Date)
|
|
60
|
+
], GlobalTimelock.prototype, "updated_at", void 0);
|
|
61
|
+
exports.GlobalTimelock = GlobalTimelock = __decorate([
|
|
62
|
+
(0, typeorm_1.Entity)({ name: "crypto_withdrawal_global_timelock", schema: "" }),
|
|
63
|
+
(0, typeorm_1.Unique)(['blockchain', 'chain_id', 'escrow_address', 'token_address'])
|
|
64
|
+
], GlobalTimelock);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class GranularTimelock {
|
|
2
|
+
id: number;
|
|
3
|
+
operation_type: number;
|
|
4
|
+
blockchain: string;
|
|
5
|
+
chain_id: string;
|
|
6
|
+
escrow_address: string;
|
|
7
|
+
receiver_address: string;
|
|
8
|
+
duration: number;
|
|
9
|
+
created_at: Date;
|
|
10
|
+
updated_at: Date;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=GranularTimelock%20.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GranularTimelock .d.ts","sourceRoot":"","sources":["../../src/entities/GranularTimelock .ts"],"names":[],"mappings":"AAEA,qBAEa,gBAAgB;IAGzB,EAAE,EAAG,MAAM,CAAC;IAIZ,cAAc,EAAG,MAAM,CAAC;IAGxB,UAAU,EAAG,MAAM,CAAC;IAGpB,QAAQ,EAAG,MAAM,CAAC;IAGlB,cAAc,EAAG,MAAM,CAAC;IAGxB,gBAAgB,EAAG,MAAM,CAAC;IAI1B,QAAQ,EAAG,MAAM,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CAErB"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GranularTimelock = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let GranularTimelock = class GranularTimelock {
|
|
15
|
+
};
|
|
16
|
+
exports.GranularTimelock = GranularTimelock;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ type: 'bigint' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], GranularTimelock.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], GranularTimelock.prototype, "operation_type", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], GranularTimelock.prototype, "blockchain", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], GranularTimelock.prototype, "chain_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], GranularTimelock.prototype, "escrow_address", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], GranularTimelock.prototype, "receiver_address", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'bigint' }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], GranularTimelock.prototype, "duration", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
47
|
+
__metadata("design:type", Date)
|
|
48
|
+
], GranularTimelock.prototype, "created_at", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
51
|
+
__metadata("design:type", Date)
|
|
52
|
+
], GranularTimelock.prototype, "updated_at", void 0);
|
|
53
|
+
exports.GranularTimelock = GranularTimelock = __decorate([
|
|
54
|
+
(0, typeorm_1.Entity)({ name: "crypto_withdrawal_granular_timelock", schema: "" }),
|
|
55
|
+
(0, typeorm_1.Unique)(['blockchain', 'chain_id', 'escrow_address', 'receiver_address'])
|
|
56
|
+
], GranularTimelock);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class OperationType {
|
|
2
|
+
blockchain: string;
|
|
3
|
+
operation_id: number;
|
|
4
|
+
operation_name: string;
|
|
5
|
+
created_at: Date;
|
|
6
|
+
updated_at: Date;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
enum OperationType {
|
|
10
|
+
DEPOSIT, // 0
|
|
11
|
+
WITHDRAWAL, // 1
|
|
12
|
+
SETTLE, // 2
|
|
13
|
+
ADMIN_WITHDRAWAL, // 3
|
|
14
|
+
MANAGE_MULTISIG, //4 // Admin conf: Configure Withdrawal and Admin withdrawal thresholds
|
|
15
|
+
CONFIG_TIMELOCK // 5
|
|
16
|
+
}
|
|
17
|
+
*/
|
|
18
|
+
//# sourceMappingURL=OperationType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OperationType.d.ts","sourceRoot":"","sources":["../../src/entities/OperationType.ts"],"names":[],"mappings":"AAEA,qBAEa,aAAa;IAEtB,UAAU,EAAG,MAAM,CAAC;IAIpB,YAAY,EAAG,MAAM,CAAC;IAItB,cAAc,EAAG,MAAM,CAAC;IAGxB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CACrB;AAGD;;;;;;;;;GASG"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.OperationType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let OperationType = class OperationType {
|
|
15
|
+
};
|
|
16
|
+
exports.OperationType = OperationType;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.Column)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], OperationType.prototype, "blockchain", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], OperationType.prototype, "operation_id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], OperationType.prototype, "operation_name", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
31
|
+
__metadata("design:type", Date)
|
|
32
|
+
], OperationType.prototype, "created_at", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
35
|
+
__metadata("design:type", Date)
|
|
36
|
+
], OperationType.prototype, "updated_at", void 0);
|
|
37
|
+
exports.OperationType = OperationType = __decorate([
|
|
38
|
+
(0, typeorm_1.Entity)({ name: "crypto_operation_type", schema: "" }),
|
|
39
|
+
(0, typeorm_1.Unique)(['blockchain', 'operation_id'])
|
|
40
|
+
], OperationType);
|
|
41
|
+
/**
|
|
42
|
+
enum OperationType {
|
|
43
|
+
DEPOSIT, // 0
|
|
44
|
+
WITHDRAWAL, // 1
|
|
45
|
+
SETTLE, // 2
|
|
46
|
+
ADMIN_WITHDRAWAL, // 3
|
|
47
|
+
MANAGE_MULTISIG, //4 // Admin conf: Configure Withdrawal and Admin withdrawal thresholds
|
|
48
|
+
CONFIG_TIMELOCK // 5
|
|
49
|
+
}
|
|
50
|
+
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoleHash.d.ts","sourceRoot":"","sources":["../../src/entities/RoleHash.ts"],"names":[],"mappings":"AAEA,qBAEa,QAAQ;IAEjB,EAAE,EAAG,MAAM,CAAC;IAGZ,UAAU,EAAG,MAAM,CAAC;IAIpB,SAAS,EAAG,MAAM,CAAC;IAInB,UAAU,EAAG,MAAM,CAAC;IAKpB,SAAS,EAAG,MAAM,CAAC;IAGnB,cAAc,EAAG,MAAM,CAAC;IAGxB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CACrB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RoleHash = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
let RoleHash = class RoleHash {
|
|
15
|
+
};
|
|
16
|
+
exports.RoleHash = RoleHash;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, typeorm_1.PrimaryGeneratedColumn)({ type: 'bigint' }),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], RoleHash.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, typeorm_1.Column)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], RoleHash.prototype, "blockchain", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], RoleHash.prototype, "role_name", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], RoleHash.prototype, "role_alias", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'varchar' }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], RoleHash.prototype, "role_hash", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'enum' }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], RoleHash.prototype, "operation_type", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
43
|
+
__metadata("design:type", Date)
|
|
44
|
+
], RoleHash.prototype, "created_at", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'timestamp', default: () => 'CURRENT_TIMESTAMP' }),
|
|
47
|
+
__metadata("design:type", Date)
|
|
48
|
+
], RoleHash.prototype, "updated_at", void 0);
|
|
49
|
+
exports.RoleHash = RoleHash = __decorate([
|
|
50
|
+
(0, typeorm_1.Entity)({ name: "crypto_role_hash", schema: "" }),
|
|
51
|
+
(0, typeorm_1.Unique)(['blockchain', 'role_name', 'role_hash'])
|
|
52
|
+
], RoleHash);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class Signatures {
|
|
2
|
+
id: number;
|
|
3
|
+
operation_type: number;
|
|
4
|
+
commitment_hash: string | null;
|
|
5
|
+
blockchain: string;
|
|
6
|
+
chain_id: string;
|
|
7
|
+
contract_address: string;
|
|
8
|
+
type_data_hash: string | null;
|
|
9
|
+
signer_address: string | null;
|
|
10
|
+
v: number | null;
|
|
11
|
+
r: string | null;
|
|
12
|
+
s: string | null;
|
|
13
|
+
created_at: Date;
|
|
14
|
+
updated_at: Date;
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=Signatures.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Signatures.d.ts","sourceRoot":"","sources":["../../src/entities/Signatures.ts"],"names":[],"mappings":"AAEA,qBAEa,UAAU;IAEnB,EAAE,EAAG,MAAM,CAAC;IAGZ,cAAc,EAAG,MAAM,CAAC;IAGxB,eAAe,EAAG,MAAM,GAAG,IAAI,CAAC;IAGhC,UAAU,EAAG,MAAM,CAAC;IAGpB,QAAQ,EAAG,MAAM,CAAC;IAGlB,gBAAgB,EAAG,MAAM,CAAC;IAG1B,cAAc,EAAG,MAAM,GAAG,IAAI,CAAC;IAG/B,cAAc,EAAG,MAAM,GAAG,IAAI,CAAC;IAG/B,CAAC,EAAG,MAAM,GAAG,IAAI,CAAC;IAGlB,CAAC,EAAG,MAAM,GAAG,IAAI,CAAC;IAGlB,CAAC,EAAG,MAAM,GAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;IAGlB,UAAU,EAAG,IAAI,CAAC;CACrB"}
|