@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.
Files changed (101) hide show
  1. package/build/chains/networks_prod-dz.json +7 -7
  2. package/build/chains/networks_prod-sh.json +41 -5
  3. package/build/chains/networks_prod-yb.json +42 -6
  4. package/build/chains/networks_stg-yb.json +1 -1
  5. package/build/contracts/artifacts/Escrow.json +1831 -342
  6. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +0 -1
  7. package/build/contracts/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
  8. package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts +0 -6
  9. package/build/contracts/typechain-types/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
  10. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts +761 -76
  11. package/build/contracts/typechain-types/contracts/escrow/Escrow.d.ts.map +1 -1
  12. package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts +65 -17
  13. package/build/contracts/typechain-types/contracts/escrow/EscrowAccessControl.d.ts.map +1 -1
  14. package/build/contracts/typechain-types/contracts/index.d.ts +2 -0
  15. package/build/contracts/typechain-types/contracts/index.d.ts.map +1 -1
  16. package/build/contracts/typechain-types/contracts/lib/Events.d.ts +386 -0
  17. package/build/contracts/typechain-types/contracts/lib/Events.d.ts.map +1 -0
  18. package/build/contracts/typechain-types/contracts/lib/Events.js +2 -0
  19. package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts +21 -0
  20. package/build/contracts/typechain-types/contracts/lib/MultisigLib.d.ts.map +1 -0
  21. package/build/contracts/typechain-types/contracts/lib/MultisigLib.js +2 -0
  22. package/build/contracts/typechain-types/contracts/lib/index.d.ts +3 -0
  23. package/build/contracts/typechain-types/contracts/lib/index.d.ts.map +1 -0
  24. package/build/contracts/typechain-types/contracts/lib/index.js +2 -0
  25. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +0 -1
  26. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts.map +1 -1
  27. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/interfaces/index.js +1 -3
  28. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
  29. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts.map +1 -1
  30. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.js +1 -1
  31. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +0 -4
  32. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts.map +1 -1
  33. package/build/contracts/typechain-types/factories/@openzeppelin/contracts/utils/index.js +1 -7
  34. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts +286 -12
  35. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.d.ts.map +1 -1
  36. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowAccessControl__factory.js +374 -12
  37. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts +137 -1
  38. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.d.ts.map +1 -1
  39. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowErrors__factory.js +182 -1
  40. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts +1 -1
  41. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.d.ts.map +1 -1
  42. package/build/contracts/typechain-types/factories/contracts/escrow/EscrowSignature__factory.js +1 -1
  43. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts +1247 -98
  44. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.d.ts.map +1 -1
  45. package/build/contracts/typechain-types/factories/contracts/escrow/Escrow__factory.js +1736 -247
  46. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts +1 -1
  47. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.d.ts.map +1 -1
  48. package/build/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.js +1 -1
  49. package/build/contracts/typechain-types/factories/contracts/index.d.ts +1 -0
  50. package/build/contracts/typechain-types/factories/contracts/index.d.ts.map +1 -1
  51. package/build/contracts/typechain-types/factories/contracts/index.js +2 -1
  52. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts +373 -0
  53. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.d.ts.map +1 -0
  54. package/build/contracts/typechain-types/factories/contracts/lib/Events__factory.js +473 -0
  55. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts +55 -0
  56. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.d.ts.map +1 -0
  57. package/build/contracts/typechain-types/factories/contracts/lib/MultisigLib__factory.js +82 -0
  58. package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts +3 -0
  59. package/build/contracts/typechain-types/factories/contracts/lib/index.d.ts.map +1 -0
  60. package/build/contracts/typechain-types/factories/contracts/lib/index.js +10 -0
  61. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts +1 -1
  62. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.d.ts.map +1 -1
  63. package/build/contracts/typechain-types/factories/contracts/mock/erc20/ERC20Mock__factory.js +1 -1
  64. package/build/contracts/typechain-types/index.d.ts +4 -10
  65. package/build/contracts/typechain-types/index.d.ts.map +1 -1
  66. package/build/contracts/typechain-types/index.js +5 -11
  67. package/build/entities/AdminOperationThresholds.d.ts +12 -0
  68. package/build/entities/AdminOperationThresholds.d.ts.map +1 -0
  69. package/build/entities/AdminOperationThresholds.js +56 -0
  70. package/build/entities/EscrowRoles.d.ts +12 -0
  71. package/build/entities/EscrowRoles.d.ts.map +1 -0
  72. package/build/entities/EscrowRoles.js +57 -0
  73. package/build/entities/GlobalTimelock.d.ts +14 -0
  74. package/build/entities/GlobalTimelock.d.ts.map +1 -0
  75. package/build/entities/GlobalTimelock.js +64 -0
  76. package/build/entities/GranularTimelock .d.ts +12 -0
  77. package/build/entities/GranularTimelock .d.ts.map +1 -0
  78. package/build/entities/GranularTimelock .js +56 -0
  79. package/build/entities/OperationType.d.ts +18 -0
  80. package/build/entities/OperationType.d.ts.map +1 -0
  81. package/build/entities/OperationType.js +50 -0
  82. package/build/entities/RoleHash.d.ts +11 -0
  83. package/build/entities/RoleHash.d.ts.map +1 -0
  84. package/build/entities/RoleHash.js +52 -0
  85. package/build/entities/Signatures.d.ts +16 -0
  86. package/build/entities/Signatures.d.ts.map +1 -0
  87. package/build/entities/Signatures.js +72 -0
  88. package/build/entities/TokenExecutionThresholds.d.ts +16 -0
  89. package/build/entities/TokenExecutionThresholds.d.ts.map +1 -0
  90. package/build/entities/TokenExecutionThresholds.js +72 -0
  91. package/build/index.d.ts +1 -0
  92. package/build/index.d.ts.map +1 -1
  93. package/build/index.js +4 -2
  94. package/build/services/ChainManager.d.ts.map +1 -1
  95. package/build/services/SweepJobService.d.ts +3 -3
  96. package/build/services/SweepJobService.d.ts.map +1 -1
  97. package/build/services/SweepJobService.js +12 -7
  98. package/build/services/db/roles/ContractRoles.d.ts +54 -0
  99. package/build/services/db/roles/ContractRoles.d.ts.map +1 -0
  100. package/build/services/db/roles/ContractRoles.js +81 -0
  101. package/package.json +1 -1
@@ -14,7 +14,7 @@ export declare class TokensWhitelist__factory extends ContractFactory {
14
14
  deploymentTransaction(): ContractTransactionResponse;
15
15
  }>;
16
16
  connect(runner: ContractRunner | null): TokensWhitelist__factory;
17
- static readonly bytecode = "0x6080604052348015600e575f5ffd5b5061038f8061001c5f395ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c80633af32abf146100435780639b19251a14610082578063e20c103c146100a4575b5f5ffd5b61006e610051366004610246565b6001600160a01b03165f9081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b61006e610090366004610246565b5f6020819052908152604090205460ff1681565b6100b76100b236600461027a565b6100b9565b005b6100c16100cd565b6100ca8161011d565b50565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661011b57604051631afcd79f60e31b815260040160405180910390fd5b565b5f5b8151811015610227575f5f83838151811061013c5761013c610345565b6020908102919091018101516001600160a01b031682528101919091526040015f9081205460ff161515900361021f5760015f5f84848151811061018257610182610345565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a81548160ff0219169083151502179055507f784c8f4dbf0ffedd6e72c76501c545a70f8b203b30a26ce542bf92ba87c248a48282815181106101f2576101f2610345565b602002602001015160405161021691906001600160a01b0391909116815260200190565b60405180910390a15b60010161011f565b5050565b80356001600160a01b0381168114610241575f5ffd5b919050565b5f60208284031215610256575f5ffd5b61025f8261022b565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f6020828403121561028a575f5ffd5b813567ffffffffffffffff8111156102a0575f5ffd5b8201601f810184136102b0575f5ffd5b803567ffffffffffffffff8111156102ca576102ca610266565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156102f7576102f7610266565b604052918252602081840181019290810187841115610314575f5ffd5b6020850194505b8385101561033a5761032c8561022b565b81526020948501940161031b565b509695505050505050565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220978d27cd4f7e363771fed2abe591d0130d24908ee584264bb3f97221c54bf04b64736f6c634300081c0033";
17
+ static readonly bytecode = "0x608080604052346015576102cb908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c9081633af32abf1461021f575080639b19251a146101e35763e20c103c1461003d575f80fd5b346101cb5760203660031901126101cb5760043567ffffffffffffffff81116101cb57366023820112156101cb5780600401359067ffffffffffffffff82116101cf578160051b9060405192601f19603f840116840184811067ffffffffffffffff8211176101cf57604052835260246020840192820101903682116101cb57602401915b8183106101ab578360ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460401c161561019c575f5b815181101561019a576001906001600160a01b03610117828561026d565b51165f525f60205260ff60405f20541615610133575b016100f9565b818060a01b03610143828561026d565b51165f525f60205260405f208260ff198254161790557f784c8f4dbf0ffedd6e72c76501c545a70f8b203b30a26ce542bf92ba87c248a46020838060a01b0361018c848761026d565b5116604051908152a161012d565b005b631afcd79f60e31b5f5260045ffd5b82356001600160a01b03811681036101cb578152602092830192016100c2565b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b346101cb5760203660031901126101cb576001600160a01b03610204610257565b165f525f602052602060ff60405f2054166040519015158152f35b346101cb5760203660031901126101cb576020906001600160a01b03610243610257565b165f525f825260ff60405f20541615158152f35b600435906001600160a01b03821682036101cb57565b80518210156102815760209160051b010190565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212205dc686ee592fbd3f687d2ac703e65ffd05ba78e262bfa355b3dba9f363cdc2fe64736f6c634300081c0033";
18
18
  static readonly abi: readonly [{
19
19
  readonly inputs: readonly [];
20
20
  readonly name: "InvalidInitialization";
@@ -1 +1 @@
1
- {"version":3,"file":"TokensWhitelist__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,MAAM,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EACV,eAAe,EACf,wBAAwB,EACzB,MAAM,2CAA2C,CAAC;AA4GnD,KAAK,gCAAgC,GACjC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,wBAAyB,SAAQ,eAAe;gBAC/C,GAAG,IAAI,EAAE,gCAAgC;IAQ5C,oBAAoB,CAC3B,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAClD,OAAO,CAAC,yBAAyB,CAAC;IAG5B,MAAM,CAAC,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACzB,OAAO,CAC7C,eAAe,GAAG;QAChB,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,wBAAwB;IAIzE,MAAM,CAAC,QAAQ,CAAC,QAAQ,81DAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,wBAAwB;IAGlD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,eAAe;CAGnB"}
1
+ {"version":3,"file":"TokensWhitelist__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/escrow/TokensWhitelist__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,MAAM,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EACV,eAAe,EACf,wBAAwB,EACzB,MAAM,2CAA2C,CAAC;AA4GnD,KAAK,gCAAgC,GACjC,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,wBAAyB,SAAQ,eAAe;gBAC/C,GAAG,IAAI,EAAE,gCAAgC;IAQ5C,oBAAoB,CAC3B,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAClD,OAAO,CAAC,yBAAyB,CAAC;IAG5B,MAAM,CAAC,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACzB,OAAO,CAC7C,eAAe,GAAG;QAChB,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,wBAAwB;IAIzE,MAAM,CAAC,QAAQ,CAAC,QAAQ,k9CAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,wBAAwB;IAGlD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAC7B,eAAe;CAGnB"}
@@ -107,7 +107,7 @@ const _abi = [
107
107
  type: "function",
108
108
  },
109
109
  ];
110
- const _bytecode = "0x6080604052348015600e575f5ffd5b5061038f8061001c5f395ff3fe608060405234801561000f575f5ffd5b506004361061003f575f3560e01c80633af32abf146100435780639b19251a14610082578063e20c103c146100a4575b5f5ffd5b61006e610051366004610246565b6001600160a01b03165f9081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b61006e610090366004610246565b5f6020819052908152604090205460ff1681565b6100b76100b236600461027a565b6100b9565b005b6100c16100cd565b6100ca8161011d565b50565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005468010000000000000000900460ff1661011b57604051631afcd79f60e31b815260040160405180910390fd5b565b5f5b8151811015610227575f5f83838151811061013c5761013c610345565b6020908102919091018101516001600160a01b031682528101919091526040015f9081205460ff161515900361021f5760015f5f84848151811061018257610182610345565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020015f205f6101000a81548160ff0219169083151502179055507f784c8f4dbf0ffedd6e72c76501c545a70f8b203b30a26ce542bf92ba87c248a48282815181106101f2576101f2610345565b602002602001015160405161021691906001600160a01b0391909116815260200190565b60405180910390a15b60010161011f565b5050565b80356001600160a01b0381168114610241575f5ffd5b919050565b5f60208284031215610256575f5ffd5b61025f8261022b565b9392505050565b634e487b7160e01b5f52604160045260245ffd5b5f6020828403121561028a575f5ffd5b813567ffffffffffffffff8111156102a0575f5ffd5b8201601f810184136102b0575f5ffd5b803567ffffffffffffffff8111156102ca576102ca610266565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156102f7576102f7610266565b604052918252602081840181019290810187841115610314575f5ffd5b6020850194505b8385101561033a5761032c8561022b565b81526020948501940161031b565b509695505050505050565b634e487b7160e01b5f52603260045260245ffdfea2646970667358221220978d27cd4f7e363771fed2abe591d0130d24908ee584264bb3f97221c54bf04b64736f6c634300081c0033";
110
+ const _bytecode = "0x608080604052346015576102cb908161001a8239f35b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c9081633af32abf1461021f575080639b19251a146101e35763e20c103c1461003d575f80fd5b346101cb5760203660031901126101cb5760043567ffffffffffffffff81116101cb57366023820112156101cb5780600401359067ffffffffffffffff82116101cf578160051b9060405192601f19603f840116840184811067ffffffffffffffff8211176101cf57604052835260246020840192820101903682116101cb57602401915b8183106101ab578360ff7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a005460401c161561019c575f5b815181101561019a576001906001600160a01b03610117828561026d565b51165f525f60205260ff60405f20541615610133575b016100f9565b818060a01b03610143828561026d565b51165f525f60205260405f208260ff198254161790557f784c8f4dbf0ffedd6e72c76501c545a70f8b203b30a26ce542bf92ba87c248a46020838060a01b0361018c848761026d565b5116604051908152a161012d565b005b631afcd79f60e31b5f5260045ffd5b82356001600160a01b03811681036101cb578152602092830192016100c2565b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b346101cb5760203660031901126101cb576001600160a01b03610204610257565b165f525f602052602060ff60405f2054166040519015158152f35b346101cb5760203660031901126101cb576020906001600160a01b03610243610257565b165f525f825260ff60405f20541615158152f35b600435906001600160a01b03821682036101cb57565b80518210156102815760209160051b010190565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212205dc686ee592fbd3f687d2ac703e65ffd05ba78e262bfa355b3dba9f363cdc2fe64736f6c634300081c0033";
111
111
  const isSuperArgs = (xs) => xs.length > 1;
112
112
  class TokensWhitelist__factory extends ethers_1.ContractFactory {
113
113
  constructor(...args) {
@@ -1,3 +1,4 @@
1
1
  export * as escrow from "./escrow";
2
+ export * as lib from "./lib";
2
3
  export * as mock from "./mock";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/contracts/typechain-types/factories/contracts/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/contracts/typechain-types/factories/contracts/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAC"}
@@ -33,9 +33,10 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.mock = exports.escrow = void 0;
36
+ exports.mock = exports.lib = exports.escrow = void 0;
37
37
  /* Autogenerated file. Do not edit manually. */
38
38
  /* tslint:disable */
39
39
  /* eslint-disable */
40
40
  exports.escrow = __importStar(require("./escrow"));
41
+ exports.lib = __importStar(require("./lib"));
41
42
  exports.mock = __importStar(require("./mock"));
@@ -0,0 +1,373 @@
1
+ import { ContractFactory, ContractTransactionResponse } from "ethers";
2
+ import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
3
+ import type { NonPayableOverrides } from "../../../common";
4
+ import type { Events, EventsInterface } from "../../../contracts/lib/Events";
5
+ type EventsConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class Events__factory extends ContractFactory {
7
+ constructor(...args: EventsConstructorParams);
8
+ getDeployTransaction(overrides?: NonPayableOverrides & {
9
+ from?: string;
10
+ }): Promise<ContractDeployTransaction>;
11
+ deploy(overrides?: NonPayableOverrides & {
12
+ from?: string;
13
+ }): Promise<Events & {
14
+ deploymentTransaction(): ContractTransactionResponse;
15
+ }>;
16
+ connect(runner: ContractRunner | null): Events__factory;
17
+ static readonly bytecode = "0x6080806040523460175760399081601c823930815050f35b5f80fdfe5f80fdfea26469706673582212205525341a3846998876f0cb033d92efad1daa5ad8c9ad113b74d96cf108c3c37264736f6c634300081c0033";
18
+ static readonly abi: readonly [{
19
+ readonly anonymous: false;
20
+ readonly inputs: readonly [{
21
+ readonly indexed: false;
22
+ readonly internalType: "address";
23
+ readonly name: "caller";
24
+ readonly type: "address";
25
+ }, {
26
+ readonly indexed: false;
27
+ readonly internalType: "address";
28
+ readonly name: "receiver";
29
+ readonly type: "address";
30
+ }, {
31
+ readonly indexed: false;
32
+ readonly internalType: "uint256";
33
+ readonly name: "amount";
34
+ readonly type: "uint256";
35
+ }, {
36
+ readonly indexed: false;
37
+ readonly internalType: "address";
38
+ readonly name: "tokenAddress";
39
+ readonly type: "address";
40
+ }, {
41
+ readonly indexed: false;
42
+ readonly internalType: "uint256";
43
+ readonly name: "requestId";
44
+ readonly type: "uint256";
45
+ }];
46
+ readonly name: "AdminWithdraw";
47
+ readonly type: "event";
48
+ }, {
49
+ readonly anonymous: false;
50
+ readonly inputs: readonly [{
51
+ readonly indexed: false;
52
+ readonly internalType: "enum Types.OperationType";
53
+ readonly name: "opType";
54
+ readonly type: "uint8";
55
+ }, {
56
+ readonly indexed: false;
57
+ readonly internalType: "uint256";
58
+ readonly name: "sigsManagerRequired";
59
+ readonly type: "uint256";
60
+ }, {
61
+ readonly indexed: false;
62
+ readonly internalType: "uint256";
63
+ readonly name: "sigsExecutiveRequired";
64
+ readonly type: "uint256";
65
+ }];
66
+ readonly name: "ConfigureAdminMultisig";
67
+ readonly type: "event";
68
+ }, {
69
+ readonly anonymous: false;
70
+ readonly inputs: readonly [{
71
+ readonly indexed: false;
72
+ readonly internalType: "enum Types.OperationType";
73
+ readonly name: "opType";
74
+ readonly type: "uint8";
75
+ }, {
76
+ readonly indexed: true;
77
+ readonly internalType: "address";
78
+ readonly name: "tokenAddress";
79
+ readonly type: "address";
80
+ }, {
81
+ readonly indexed: false;
82
+ readonly internalType: "uint256";
83
+ readonly name: "thresholdAmount";
84
+ readonly type: "uint256";
85
+ }, {
86
+ readonly indexed: false;
87
+ readonly internalType: "uint8";
88
+ readonly name: "sigsExecutiveBelow";
89
+ readonly type: "uint8";
90
+ }, {
91
+ readonly indexed: false;
92
+ readonly internalType: "uint8";
93
+ readonly name: "sigsExecutiveAbove";
94
+ readonly type: "uint8";
95
+ }, {
96
+ readonly indexed: false;
97
+ readonly internalType: "uint8";
98
+ readonly name: "sigsManagerBelow";
99
+ readonly type: "uint8";
100
+ }, {
101
+ readonly indexed: false;
102
+ readonly internalType: "uint8";
103
+ readonly name: "sigsManagerAbove";
104
+ readonly type: "uint8";
105
+ }];
106
+ readonly name: "ConfigureTokenMultisig";
107
+ readonly type: "event";
108
+ }, {
109
+ readonly anonymous: false;
110
+ readonly inputs: readonly [{
111
+ readonly indexed: false;
112
+ readonly internalType: "address";
113
+ readonly name: "payer";
114
+ readonly type: "address";
115
+ }, {
116
+ readonly indexed: false;
117
+ readonly internalType: "address";
118
+ readonly name: "tokenAddress";
119
+ readonly type: "address";
120
+ }, {
121
+ readonly indexed: false;
122
+ readonly internalType: "uint256";
123
+ readonly name: "amount";
124
+ readonly type: "uint256";
125
+ }, {
126
+ readonly indexed: false;
127
+ readonly internalType: "string";
128
+ readonly name: "bonusCode";
129
+ readonly type: "string";
130
+ }];
131
+ readonly name: "Deposit";
132
+ readonly type: "event";
133
+ }, {
134
+ readonly anonymous: false;
135
+ readonly inputs: readonly [];
136
+ readonly name: "FundWallets";
137
+ readonly type: "event";
138
+ }, {
139
+ readonly anonymous: false;
140
+ readonly inputs: readonly [{
141
+ readonly indexed: false;
142
+ readonly internalType: "address";
143
+ readonly name: "funder";
144
+ readonly type: "address";
145
+ }, {
146
+ readonly indexed: false;
147
+ readonly internalType: "address";
148
+ readonly name: "token";
149
+ readonly type: "address";
150
+ }, {
151
+ readonly indexed: false;
152
+ readonly internalType: "uint256";
153
+ readonly name: "amount";
154
+ readonly type: "uint256";
155
+ }];
156
+ readonly name: "FundedContract";
157
+ readonly type: "event";
158
+ }, {
159
+ readonly anonymous: false;
160
+ readonly inputs: readonly [{
161
+ readonly indexed: false;
162
+ readonly internalType: "address";
163
+ readonly name: "user";
164
+ readonly type: "address";
165
+ }, {
166
+ readonly indexed: false;
167
+ readonly internalType: "address";
168
+ readonly name: "requestedToken";
169
+ readonly type: "address";
170
+ }, {
171
+ readonly indexed: false;
172
+ readonly internalType: "uint256";
173
+ readonly name: "amountRequested";
174
+ readonly type: "uint256";
175
+ }, {
176
+ readonly indexed: false;
177
+ readonly internalType: "uint256";
178
+ readonly name: "availableReserves";
179
+ readonly type: "uint256";
180
+ }];
181
+ readonly name: "LowReserves";
182
+ readonly type: "event";
183
+ }, {
184
+ readonly anonymous: false;
185
+ readonly inputs: readonly [{
186
+ readonly indexed: true;
187
+ readonly internalType: "address";
188
+ readonly name: "receiverAddress";
189
+ readonly type: "address";
190
+ }, {
191
+ readonly indexed: false;
192
+ readonly internalType: "uint256";
193
+ readonly name: "duration";
194
+ readonly type: "uint256";
195
+ }];
196
+ readonly name: "SetTimelockGranular";
197
+ readonly type: "event";
198
+ }, {
199
+ readonly anonymous: false;
200
+ readonly inputs: readonly [{
201
+ readonly indexed: true;
202
+ readonly internalType: "address";
203
+ readonly name: "tokenAddress";
204
+ readonly type: "address";
205
+ }, {
206
+ readonly indexed: false;
207
+ readonly internalType: "uint256";
208
+ readonly name: "thresholdAmount";
209
+ readonly type: "uint256";
210
+ }, {
211
+ readonly indexed: false;
212
+ readonly internalType: "uint256";
213
+ readonly name: "durationBelow";
214
+ readonly type: "uint256";
215
+ }, {
216
+ readonly indexed: false;
217
+ readonly internalType: "uint256";
218
+ readonly name: "durationAbove";
219
+ readonly type: "uint256";
220
+ }];
221
+ readonly name: "SetTokenTimelock";
222
+ readonly type: "event";
223
+ }, {
224
+ readonly anonymous: false;
225
+ readonly inputs: readonly [{
226
+ readonly indexed: false;
227
+ readonly internalType: "address";
228
+ readonly name: "caller";
229
+ readonly type: "address";
230
+ }, {
231
+ readonly indexed: false;
232
+ readonly internalType: "address";
233
+ readonly name: "from";
234
+ readonly type: "address";
235
+ }, {
236
+ readonly indexed: false;
237
+ readonly internalType: "address";
238
+ readonly name: "to";
239
+ readonly type: "address";
240
+ }, {
241
+ readonly indexed: false;
242
+ readonly internalType: "address";
243
+ readonly name: "token";
244
+ readonly type: "address";
245
+ }, {
246
+ readonly indexed: false;
247
+ readonly internalType: "uint256";
248
+ readonly name: "amount";
249
+ readonly type: "uint256";
250
+ }];
251
+ readonly name: "SweepTokens";
252
+ readonly type: "event";
253
+ }, {
254
+ readonly anonymous: false;
255
+ readonly inputs: readonly [{
256
+ readonly indexed: false;
257
+ readonly internalType: "uint256";
258
+ readonly name: "amount";
259
+ readonly type: "uint256";
260
+ }, {
261
+ readonly indexed: false;
262
+ readonly internalType: "uint256";
263
+ readonly name: "blockNumber";
264
+ readonly type: "uint256";
265
+ }];
266
+ readonly name: "TransactionCount";
267
+ readonly type: "event";
268
+ }, {
269
+ readonly anonymous: false;
270
+ readonly inputs: readonly [{
271
+ readonly indexed: false;
272
+ readonly internalType: "address";
273
+ readonly name: "payer";
274
+ readonly type: "address";
275
+ }, {
276
+ readonly indexed: false;
277
+ readonly internalType: "address";
278
+ readonly name: "receiver";
279
+ readonly type: "address";
280
+ }, {
281
+ readonly indexed: false;
282
+ readonly internalType: "address";
283
+ readonly name: "tokenAddress";
284
+ readonly type: "address";
285
+ }, {
286
+ readonly indexed: false;
287
+ readonly internalType: "uint256";
288
+ readonly name: "amount";
289
+ readonly type: "uint256";
290
+ }, {
291
+ readonly indexed: false;
292
+ readonly internalType: "uint256";
293
+ readonly name: "requestId";
294
+ readonly type: "uint256";
295
+ }, {
296
+ readonly indexed: false;
297
+ readonly internalType: "uint32";
298
+ readonly name: "batchSize";
299
+ readonly type: "uint32";
300
+ }];
301
+ readonly name: "Withdrawal";
302
+ readonly type: "event";
303
+ }, {
304
+ readonly anonymous: false;
305
+ readonly inputs: readonly [{
306
+ readonly indexed: true;
307
+ readonly internalType: "bytes32";
308
+ readonly name: "commitmentHash";
309
+ readonly type: "bytes32";
310
+ }, {
311
+ readonly indexed: true;
312
+ readonly internalType: "uint256";
313
+ readonly name: "requestId";
314
+ readonly type: "uint256";
315
+ }];
316
+ readonly name: "WithdrawalCancelled";
317
+ readonly type: "event";
318
+ }, {
319
+ readonly anonymous: false;
320
+ readonly inputs: readonly [{
321
+ readonly indexed: true;
322
+ readonly internalType: "bytes32";
323
+ readonly name: "commitmentHash";
324
+ readonly type: "bytes32";
325
+ }, {
326
+ readonly indexed: true;
327
+ readonly internalType: "uint256";
328
+ readonly name: "requestId";
329
+ readonly type: "uint256";
330
+ }];
331
+ readonly name: "WithdrawalExecuted";
332
+ readonly type: "event";
333
+ }, {
334
+ readonly anonymous: false;
335
+ readonly inputs: readonly [{
336
+ readonly indexed: true;
337
+ readonly internalType: "bytes32";
338
+ readonly name: "commitmentHash";
339
+ readonly type: "bytes32";
340
+ }, {
341
+ readonly indexed: true;
342
+ readonly internalType: "uint256";
343
+ readonly name: "requestId";
344
+ readonly type: "uint256";
345
+ }, {
346
+ readonly indexed: false;
347
+ readonly internalType: "uint256";
348
+ readonly name: "amount";
349
+ readonly type: "uint256";
350
+ }, {
351
+ readonly indexed: false;
352
+ readonly internalType: "address";
353
+ readonly name: "tokenAddress";
354
+ readonly type: "address";
355
+ }, {
356
+ readonly indexed: false;
357
+ readonly internalType: "address";
358
+ readonly name: "receiverAddress";
359
+ readonly type: "address";
360
+ }, {
361
+ readonly indexed: false;
362
+ readonly internalType: "uint256";
363
+ readonly name: "executeAt";
364
+ readonly type: "uint256";
365
+ }];
366
+ readonly name: "WithdrawalScheduled";
367
+ readonly type: "event";
368
+ }];
369
+ static createInterface(): EventsInterface;
370
+ static connect(address: string, runner?: ContractRunner | null): Events;
371
+ }
372
+ export {};
373
+ //# sourceMappingURL=Events__factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Events__factory.d.ts","sourceRoot":"","sources":["../../../../../../src/contracts/typechain-types/factories/contracts/lib/Events__factory.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,eAAe,EACf,2BAA2B,EAE5B,MAAM,QAAQ,CAAC;AAChB,OAAO,KAAK,EAAE,MAAM,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AA0b7E,KAAK,uBAAuB,GACxB,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,GACjB,qBAAqB,CAAC,OAAO,eAAe,CAAC,CAAC;AAMlD,qBAAa,eAAgB,SAAQ,eAAe;gBACtC,GAAG,IAAI,EAAE,uBAAuB;IAQnC,oBAAoB,CAC3B,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GAClD,OAAO,CAAC,yBAAyB,CAAC;IAG5B,MAAM,CAAC,SAAS,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,GACzB,OAAO,CAC7C,MAAM,GAAG;QACP,qBAAqB,IAAI,2BAA2B,CAAC;KACtD,CACF;IAEM,OAAO,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,GAAG,eAAe;IAIhE,MAAM,CAAC,QAAQ,CAAC,QAAQ,kLAAa;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,eAAe;IAGzC,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,cAAc,GAAG,IAAI,GAAG,MAAM;CAGxE"}