@meterio/sumer-js 0.2.68 → 0.2.70

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 (86) hide show
  1. package/dist/browser/sumer.min.js +8 -8
  2. package/dist/nodejs/abi.d.ts +64 -0
  3. package/dist/nodejs/abi.js +889 -48
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/arbitrum.d.ts +4 -0
  6. package/dist/nodejs/constants/arbitrum.js +29 -1
  7. package/dist/nodejs/constants/arbitrum.js.map +1 -1
  8. package/dist/nodejs/constants/ethereum.d.ts +2 -0
  9. package/dist/nodejs/constants/ethereum.js +26 -1
  10. package/dist/nodejs/constants/ethereum.js.map +1 -1
  11. package/dist/nodejs/errorABIs.js +460 -0
  12. package/dist/nodejs/errorABIs.js.map +1 -1
  13. package/dist/nodejs/index.d.ts +64 -0
  14. package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
  15. package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +90 -31
  16. package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +9 -1
  17. package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +68 -1
  18. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/API3Adapter.d.ts +89 -0
  19. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/API3Adapter.js +3 -0
  20. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/API3Adapter.js.map +1 -0
  21. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/IAPI3Proxy.d.ts +41 -0
  22. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/IAPI3Proxy.js +3 -0
  23. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/IAPI3Proxy.js.map +1 -0
  24. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/index.d.ts +2 -0
  25. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/index.js +3 -0
  26. package/dist/nodejs/typechain/contracts/Oracle/API3Adapter.sol/index.js.map +1 -0
  27. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +2 -0
  28. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +37 -1
  29. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +46 -1
  30. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  31. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +37 -1
  32. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +46 -1
  33. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  34. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +36 -0
  35. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +45 -0
  36. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  37. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +37 -1
  38. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +46 -1
  39. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  40. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +47 -1
  41. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +59 -1
  42. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
  43. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +37 -1
  44. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +46 -1
  45. package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
  46. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
  47. package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
  48. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +134 -30
  49. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +168 -35
  50. package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
  51. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +37 -1
  52. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +46 -1
  53. package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
  54. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
  56. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +10 -0
  57. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +13 -0
  58. package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
  59. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +78 -0
  60. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +99 -0
  61. package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
  62. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
  63. package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
  64. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.d.ts +134 -0
  65. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.js +183 -0
  66. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.js.map +1 -0
  67. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/IAPI3Proxy__factory.d.ts +31 -0
  68. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/IAPI3Proxy__factory.js +51 -0
  69. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/IAPI3Proxy__factory.js.map +1 -0
  70. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/index.d.ts +2 -0
  71. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/index.js +11 -0
  72. package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/index.js.map +1 -0
  73. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +1 -0
  74. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +2 -1
  75. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  76. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +37 -1
  77. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +46 -1
  78. package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
  79. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +37 -1
  80. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +46 -1
  81. package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
  82. package/dist/nodejs/typechain/hardhat.d.ts +36 -0
  83. package/dist/nodejs/typechain/index.d.ts +4 -0
  84. package/dist/nodejs/typechain/index.js +6 -2
  85. package/dist/nodejs/typechain/index.js.map +1 -1
  86. package/package.json +1 -1
@@ -318,7 +318,7 @@ const _abi = [
318
318
  type: "function",
319
319
  },
320
320
  ];
321
- const _bytecode = "0x60808060405234601557610932908161001b8239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c9081630f28c97d146104e657508063252dba421461035a57806327e86d6e1461031b578063399542e9146102f857806342cbb15c146102dd5780634d2301cc146102ad57806372425d9d1461029257806386d516e814610277578063a8b0574e1461025c578063bce38bd71461022e578063c3077fa9146100c65763ee82ac5e146100a357600080fd5b346100c15760203660031901126100c1576020604051600435408152f35b600080fd5b346100c15760203660031901126100c15760043567ffffffffffffffff81116100c1576100f790369060040161058f565b805190600061010d6101088461055b565b610535565b9280845261011d601f199161055b565b019060005b82811061020e5750505060005b81518110156101f8576000806001600160a01b0361014d8486610783565b515116602061015c8587610783565b5101519082602083519301915af1906101736107ad565b91156101a9576001916101846104ff565b9083825260208201526101978286610783565b526101a28185610783565b500161012f565b60405162461bcd60e51b815260206004820152602160248201527f4d756c746963616c6c32206167677265676174653a2063616c6c206661696c656044820152601960fa1b6064820152608490fd5b6040518061020a854380409084610767565b0390f35b6020906102196104ff565b83815260608382015282828801015201610122565b346100c15761020a610248610242366106bf565b906107d3565b6040519182916020835260208301906106fb565b346100c15760003660031901126100c1576020604051418152f35b346100c15760003660031901126100c1576020604051458152f35b346100c15760003660031901126100c1576020604051448152f35b346100c15760203660031901126100c1576004356001600160a01b03811681036100c15760209031604051908152f35b346100c15760003660031901126100c1576020604051438152f35b346100c15761020a61030c610242366106bf565b60405191829143404384610767565b346100c15760003660031901126100c15760001943014381116103445760209060405190408152f35b634e487b7160e01b600052601160045260246000fd5b346100c15760203660031901126100c15760043567ffffffffffffffff81116100c15761038b90369060040161058f565b80519061039a6101088361055b565b918083526103aa601f199161055b565b0160005b8181106104d557505060005b8151811015610467576000806001600160a01b036103d88486610783565b51511660206103e78587610783565b5101519082602083519301915af1906103fe6107ad565b9115610423576001916104118286610783565b5261041c8185610783565b50016103ba565b606460405162461bcd60e51b815260206004820152602060248201527f4d756c746963616c6c206167677265676174653a2063616c6c206661696c65646044820152fd5b826040518091604082014383526040602084015281518091526060830190602060608260051b8601019301916000905b8282106104a657505050500390f35b919360019193955060206104c58192605f198a8203018652885161067e565b9601920192018594939192610497565b8060606020809387010152016103ae565b346100c15760003660031901126100c157602090428152f35b604051906040820182811067ffffffffffffffff82111761051f57604052565b634e487b7160e01b600052604160045260246000fd5b6040519190601f01601f1916820167ffffffffffffffff81118382101761051f57604052565b67ffffffffffffffff811161051f5760051b60200190565b67ffffffffffffffff811161051f57601f01601f191660200190565b9080601f830112156100c1578135916105aa6101088461055b565b9260208085838152019160051b830101918383116100c15760208101915b8383106105d757505050505090565b823567ffffffffffffffff81116100c1578201906040828703601f1901126100c1576106016104ff565b9160208101356001600160a01b03811681036100c1578352604081013567ffffffffffffffff81116100c15760209101019086601f830112156100c15781359261064d61010885610573565b84815288602086860101116100c15760006020868197828098018386013783010152838201528152019201916105c8565b919082519283825260005b8481106106aa575050826000602080949584010152601f8019910116010190565b80602080928401015182828601015201610689565b9060406003198301126100c15760043580151581036100c157916024359067ffffffffffffffff82116100c1576106f89160040161058f565b90565b9080602083519182815201916020808360051b8301019401926000915b83831061072757505050505090565b9091929394602080610758600193601f198682030187526040838b518051151584520151918185820152019061067e565b97019301930191939290610718565b6106f893926060928252602082015281604082015201906106fb565b80518210156107975760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b3d156107ce573d906107c161010883610573565b9182523d6000602084013e565b606090565b815192916107e36101088561055b565b938085526107f3601f199161055b565b0160005b8181106108db5750508360005b82518110156108d45783906000806001600160a01b036108248488610783565b51511660206108338589610783565b5101519082602083519301915af16108496107ad565b92610880575b60019261085a6104ff565b9115158252602082015261086e8289610783565b526108798188610783565b5001610804565b8061084f5760405162461bcd60e51b815260206004820152602160248201527f4d756c746963616c6c32206167677265676174653a2063616c6c206661696c656044820152601960fa1b6064820152608490fd5b5093505050565b6020906108e66104ff565b60008152606083820152828289010152016107f756fea26469706673582212200a980500625ff112a928380804fa2a78b0285cd507608a5eb65455a33c42318f64736f6c634300081a0033";
321
+ const _bytecode = "0x60808060405234601557610932908161001b8239f35b600080fdfe608080604052600436101561001357600080fd5b60003560e01c9081630f28c97d146104e657508063252dba421461035a57806327e86d6e1461031b578063399542e9146102f857806342cbb15c146102dd5780634d2301cc146102ad57806372425d9d1461029257806386d516e814610277578063a8b0574e1461025c578063bce38bd71461022e578063c3077fa9146100c65763ee82ac5e146100a357600080fd5b346100c15760203660031901126100c1576020604051600435408152f35b600080fd5b346100c15760203660031901126100c15760043567ffffffffffffffff81116100c1576100f790369060040161058f565b805190600061010d6101088461055b565b610535565b9280845261011d601f199161055b565b019060005b82811061020e5750505060005b81518110156101f8576000806001600160a01b0361014d8486610783565b515116602061015c8587610783565b5101519082602083519301915af1906101736107ad565b91156101a9576001916101846104ff565b9083825260208201526101978286610783565b526101a28185610783565b500161012f565b60405162461bcd60e51b815260206004820152602160248201527f4d756c746963616c6c32206167677265676174653a2063616c6c206661696c656044820152601960fa1b6064820152608490fd5b6040518061020a854380409084610767565b0390f35b6020906102196104ff565b83815260608382015282828801015201610122565b346100c15761020a610248610242366106bf565b906107d3565b6040519182916020835260208301906106fb565b346100c15760003660031901126100c1576020604051418152f35b346100c15760003660031901126100c1576020604051458152f35b346100c15760003660031901126100c1576020604051448152f35b346100c15760203660031901126100c1576004356001600160a01b03811681036100c15760209031604051908152f35b346100c15760003660031901126100c1576020604051438152f35b346100c15761020a61030c610242366106bf565b60405191829143404384610767565b346100c15760003660031901126100c15760001943014381116103445760209060405190408152f35b634e487b7160e01b600052601160045260246000fd5b346100c15760203660031901126100c15760043567ffffffffffffffff81116100c15761038b90369060040161058f565b80519061039a6101088361055b565b918083526103aa601f199161055b565b0160005b8181106104d557505060005b8151811015610467576000806001600160a01b036103d88486610783565b51511660206103e78587610783565b5101519082602083519301915af1906103fe6107ad565b9115610423576001916104118286610783565b5261041c8185610783565b50016103ba565b606460405162461bcd60e51b815260206004820152602060248201527f4d756c746963616c6c206167677265676174653a2063616c6c206661696c65646044820152fd5b826040518091604082014383526040602084015281518091526060830190602060608260051b8601019301916000905b8282106104a657505050500390f35b919360019193955060206104c58192605f198a8203018652885161067e565b9601920192018594939192610497565b8060606020809387010152016103ae565b346100c15760003660031901126100c157602090428152f35b604051906040820182811067ffffffffffffffff82111761051f57604052565b634e487b7160e01b600052604160045260246000fd5b6040519190601f01601f1916820167ffffffffffffffff81118382101761051f57604052565b67ffffffffffffffff811161051f5760051b60200190565b67ffffffffffffffff811161051f57601f01601f191660200190565b9080601f830112156100c1578135916105aa6101088461055b565b9260208085838152019160051b830101918383116100c15760208101915b8383106105d757505050505090565b823567ffffffffffffffff81116100c1578201906040828703601f1901126100c1576106016104ff565b9160208101356001600160a01b03811681036100c1578352604081013567ffffffffffffffff81116100c15760209101019086601f830112156100c15781359261064d61010885610573565b84815288602086860101116100c15760006020868197828098018386013783010152838201528152019201916105c8565b919082519283825260005b8481106106aa575050826000602080949584010152601f8019910116010190565b80602080928401015182828601015201610689565b9060406003198301126100c15760043580151581036100c157916024359067ffffffffffffffff82116100c1576106f89160040161058f565b90565b9080602083519182815201916020808360051b8301019401926000915b83831061072757505050505090565b9091929394602080610758600193601f198682030187526040838b518051151584520151918185820152019061067e565b97019301930191939290610718565b6106f893926060928252602082015281604082015201906106fb565b80518210156107975760209160051b010190565b634e487b7160e01b600052603260045260246000fd5b3d156107ce573d906107c161010883610573565b9182523d6000602084013e565b606090565b815192916107e36101088561055b565b938085526107f3601f199161055b565b0160005b8181106108db5750508360005b82518110156108d45783906000806001600160a01b036108248488610783565b51511660206108338589610783565b5101519082602083519301915af16108496107ad565b92610880575b60019261085a6104ff565b9115158252602082015261086e8289610783565b526108798188610783565b5001610804565b8061084f5760405162461bcd60e51b815260206004820152602160248201527f4d756c746963616c6c32206167677265676174653a2063616c6c206661696c656044820152601960fa1b6064820152608490fd5b5093505050565b6020906108e66104ff565b60008152606083820152828289010152016107f756fea264697066735822122089f9169a35bbbb0885f8b20dcb099366214f2ae179daec73e55264073e3da44e64736f6c634300081a0033";
322
322
  const isSuperArgs = (xs) => xs.length > 1;
323
323
  class Multicall2__factory extends ethers_1.ContractFactory {
324
324
  constructor(...args) {
@@ -0,0 +1,134 @@
1
+ import { ContractFactory, ContractTransactionResponse } from "ethers";
2
+ import type { Signer, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
3
+ import type { NonPayableOverrides } from "../../../../common";
4
+ import type { API3Adapter, API3AdapterInterface } from "../../../../contracts/Oracle/API3Adapter.sol/API3Adapter";
5
+ type API3AdapterConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
6
+ export declare class API3Adapter__factory extends ContractFactory {
7
+ constructor(...args: API3AdapterConstructorParams);
8
+ getDeployTransaction(_correlatedToken: AddressLike, _underlyingToken: AddressLike, overrides?: NonPayableOverrides & {
9
+ from?: string;
10
+ }): Promise<ContractDeployTransaction>;
11
+ deploy(_correlatedToken: AddressLike, _underlyingToken: AddressLike, overrides?: NonPayableOverrides & {
12
+ from?: string;
13
+ }): Promise<API3Adapter & {
14
+ deploymentTransaction(): ContractTransactionResponse;
15
+ }>;
16
+ connect(runner: ContractRunner | null): API3Adapter__factory;
17
+ static readonly bytecode = "0x6080346100f357601f61056c38819003918201601f19168301916001600160401b038311848410176100f85780849260409485528339810103126100f357610052602061004b8361010e565b920161010e565b50600380546001600160a01b0319908116909155600280549182163390811790915560405192916001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3600180546001600160a01b03929092166001600160a01b031992831617905560008054731111111111111111111111111111111111111111921691909117905561044990816101238239f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036100f35756fe608080604052600436101561001357600080fd5b60003560e01c9081633ba0b9a9146102b457508063715018a61461024d57806379ba5097146101815780638da5cb5b14610158578063b95528941461010d578063e30c3978146100e45763f2fde38b1461006c57600080fd5b346100df5760203660031901126100df576004356001600160a01b038116908190036100df5761009a6103bb565b600380546001600160a01b031916821790556002546001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700600080a3005b600080fd5b346100df5760003660031901126100df576003546040516001600160a01b039091168152602090f35b346100df5760203660031901126100df576004356001600160a01b038116908190036100df5761013b6103bb565b6bffffffffffffffffffffffff60a01b6004541617600455600080f35b346100df5760003660031901126100df576002546040516001600160a01b039091168152602090f35b346100df5760003660031901126100df57600354336001600160a01b03909116036101f657600380546001600160a01b0319908116909155600280543392811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608490fd5b346100df5760003660031901126100df576102666103bb565b600380546001600160a01b03199081169091556002805491821690556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100df5760003660031901126100df576004546001600160a01b031680156103aa57816004816040936315f789a960e21b82525afa90811561039e57600091610320575b50601b0b6000811261031057602090604051908152f35b62bfc92160e01b60005260046000fd5b9060403d604011610397575b601f8101601f1916830167ffffffffffffffff81118482101761038357604091849183528101031261037c5781519182601b0b830361037f576020015163ffffffff81160361037c5750816102f9565b80fd5b5080fd5b634e487b7160e01b83526041600452602483fd5b503d61032c565b6040513d6000823e3d90fd5b632e7973df60e21b60005260046000fd5b6002546001600160a01b031633036103cf57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea2646970667358221220b01f1fb48add3f525a832e1d5832773612426dfa7723ac3cb8ee37162dce722764736f6c634300081a0033";
18
+ static readonly abi: readonly [{
19
+ readonly inputs: readonly [{
20
+ readonly internalType: "address";
21
+ readonly name: "_correlatedToken";
22
+ readonly type: "address";
23
+ }, {
24
+ readonly internalType: "address";
25
+ readonly name: "_underlyingToken";
26
+ readonly type: "address";
27
+ }];
28
+ readonly stateMutability: "nonpayable";
29
+ readonly type: "constructor";
30
+ }, {
31
+ readonly inputs: readonly [];
32
+ readonly name: "InvalidPrice";
33
+ readonly type: "error";
34
+ }, {
35
+ readonly inputs: readonly [];
36
+ readonly name: "InvalidProxy";
37
+ readonly type: "error";
38
+ }, {
39
+ readonly anonymous: false;
40
+ readonly inputs: readonly [{
41
+ readonly indexed: true;
42
+ readonly internalType: "address";
43
+ readonly name: "previousOwner";
44
+ readonly type: "address";
45
+ }, {
46
+ readonly indexed: true;
47
+ readonly internalType: "address";
48
+ readonly name: "newOwner";
49
+ readonly type: "address";
50
+ }];
51
+ readonly name: "OwnershipTransferStarted";
52
+ readonly type: "event";
53
+ }, {
54
+ readonly anonymous: false;
55
+ readonly inputs: readonly [{
56
+ readonly indexed: true;
57
+ readonly internalType: "address";
58
+ readonly name: "previousOwner";
59
+ readonly type: "address";
60
+ }, {
61
+ readonly indexed: true;
62
+ readonly internalType: "address";
63
+ readonly name: "newOwner";
64
+ readonly type: "address";
65
+ }];
66
+ readonly name: "OwnershipTransferred";
67
+ readonly type: "event";
68
+ }, {
69
+ readonly inputs: readonly [];
70
+ readonly name: "acceptOwnership";
71
+ readonly outputs: readonly [];
72
+ readonly stateMutability: "nonpayable";
73
+ readonly type: "function";
74
+ }, {
75
+ readonly inputs: readonly [];
76
+ readonly name: "exchangeRate";
77
+ readonly outputs: readonly [{
78
+ readonly internalType: "uint256";
79
+ readonly name: "";
80
+ readonly type: "uint256";
81
+ }];
82
+ readonly stateMutability: "view";
83
+ readonly type: "function";
84
+ }, {
85
+ readonly inputs: readonly [];
86
+ readonly name: "owner";
87
+ readonly outputs: readonly [{
88
+ readonly internalType: "address";
89
+ readonly name: "";
90
+ readonly type: "address";
91
+ }];
92
+ readonly stateMutability: "view";
93
+ readonly type: "function";
94
+ }, {
95
+ readonly inputs: readonly [];
96
+ readonly name: "pendingOwner";
97
+ readonly outputs: readonly [{
98
+ readonly internalType: "address";
99
+ readonly name: "";
100
+ readonly type: "address";
101
+ }];
102
+ readonly stateMutability: "view";
103
+ readonly type: "function";
104
+ }, {
105
+ readonly inputs: readonly [];
106
+ readonly name: "renounceOwnership";
107
+ readonly outputs: readonly [];
108
+ readonly stateMutability: "nonpayable";
109
+ readonly type: "function";
110
+ }, {
111
+ readonly inputs: readonly [{
112
+ readonly internalType: "address";
113
+ readonly name: "_proxy";
114
+ readonly type: "address";
115
+ }];
116
+ readonly name: "setAPI3Proxy";
117
+ readonly outputs: readonly [];
118
+ readonly stateMutability: "nonpayable";
119
+ readonly type: "function";
120
+ }, {
121
+ readonly inputs: readonly [{
122
+ readonly internalType: "address";
123
+ readonly name: "newOwner";
124
+ readonly type: "address";
125
+ }];
126
+ readonly name: "transferOwnership";
127
+ readonly outputs: readonly [];
128
+ readonly stateMutability: "nonpayable";
129
+ readonly type: "function";
130
+ }];
131
+ static createInterface(): API3AdapterInterface;
132
+ static connect(address: string, runner?: ContractRunner | null): API3Adapter;
133
+ }
134
+ export {};
@@ -0,0 +1,183 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.API3Adapter__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "_correlatedToken",
14
+ type: "address",
15
+ },
16
+ {
17
+ internalType: "address",
18
+ name: "_underlyingToken",
19
+ type: "address",
20
+ },
21
+ ],
22
+ stateMutability: "nonpayable",
23
+ type: "constructor",
24
+ },
25
+ {
26
+ inputs: [],
27
+ name: "InvalidPrice",
28
+ type: "error",
29
+ },
30
+ {
31
+ inputs: [],
32
+ name: "InvalidProxy",
33
+ type: "error",
34
+ },
35
+ {
36
+ anonymous: false,
37
+ inputs: [
38
+ {
39
+ indexed: true,
40
+ internalType: "address",
41
+ name: "previousOwner",
42
+ type: "address",
43
+ },
44
+ {
45
+ indexed: true,
46
+ internalType: "address",
47
+ name: "newOwner",
48
+ type: "address",
49
+ },
50
+ ],
51
+ name: "OwnershipTransferStarted",
52
+ type: "event",
53
+ },
54
+ {
55
+ anonymous: false,
56
+ inputs: [
57
+ {
58
+ indexed: true,
59
+ internalType: "address",
60
+ name: "previousOwner",
61
+ type: "address",
62
+ },
63
+ {
64
+ indexed: true,
65
+ internalType: "address",
66
+ name: "newOwner",
67
+ type: "address",
68
+ },
69
+ ],
70
+ name: "OwnershipTransferred",
71
+ type: "event",
72
+ },
73
+ {
74
+ inputs: [],
75
+ name: "acceptOwnership",
76
+ outputs: [],
77
+ stateMutability: "nonpayable",
78
+ type: "function",
79
+ },
80
+ {
81
+ inputs: [],
82
+ name: "exchangeRate",
83
+ outputs: [
84
+ {
85
+ internalType: "uint256",
86
+ name: "",
87
+ type: "uint256",
88
+ },
89
+ ],
90
+ stateMutability: "view",
91
+ type: "function",
92
+ },
93
+ {
94
+ inputs: [],
95
+ name: "owner",
96
+ outputs: [
97
+ {
98
+ internalType: "address",
99
+ name: "",
100
+ type: "address",
101
+ },
102
+ ],
103
+ stateMutability: "view",
104
+ type: "function",
105
+ },
106
+ {
107
+ inputs: [],
108
+ name: "pendingOwner",
109
+ outputs: [
110
+ {
111
+ internalType: "address",
112
+ name: "",
113
+ type: "address",
114
+ },
115
+ ],
116
+ stateMutability: "view",
117
+ type: "function",
118
+ },
119
+ {
120
+ inputs: [],
121
+ name: "renounceOwnership",
122
+ outputs: [],
123
+ stateMutability: "nonpayable",
124
+ type: "function",
125
+ },
126
+ {
127
+ inputs: [
128
+ {
129
+ internalType: "address",
130
+ name: "_proxy",
131
+ type: "address",
132
+ },
133
+ ],
134
+ name: "setAPI3Proxy",
135
+ outputs: [],
136
+ stateMutability: "nonpayable",
137
+ type: "function",
138
+ },
139
+ {
140
+ inputs: [
141
+ {
142
+ internalType: "address",
143
+ name: "newOwner",
144
+ type: "address",
145
+ },
146
+ ],
147
+ name: "transferOwnership",
148
+ outputs: [],
149
+ stateMutability: "nonpayable",
150
+ type: "function",
151
+ },
152
+ ];
153
+ const _bytecode = "0x6080346100f357601f61056c38819003918201601f19168301916001600160401b038311848410176100f85780849260409485528339810103126100f357610052602061004b8361010e565b920161010e565b50600380546001600160a01b0319908116909155600280549182163390811790915560405192916001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3600180546001600160a01b03929092166001600160a01b031992831617905560008054731111111111111111111111111111111111111111921691909117905561044990816101238239f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036100f35756fe608080604052600436101561001357600080fd5b60003560e01c9081633ba0b9a9146102b457508063715018a61461024d57806379ba5097146101815780638da5cb5b14610158578063b95528941461010d578063e30c3978146100e45763f2fde38b1461006c57600080fd5b346100df5760203660031901126100df576004356001600160a01b038116908190036100df5761009a6103bb565b600380546001600160a01b031916821790556002546001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700600080a3005b600080fd5b346100df5760003660031901126100df576003546040516001600160a01b039091168152602090f35b346100df5760203660031901126100df576004356001600160a01b038116908190036100df5761013b6103bb565b6bffffffffffffffffffffffff60a01b6004541617600455600080f35b346100df5760003660031901126100df576002546040516001600160a01b039091168152602090f35b346100df5760003660031901126100df57600354336001600160a01b03909116036101f657600380546001600160a01b0319908116909155600280543392811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3005b60405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608490fd5b346100df5760003660031901126100df576102666103bb565b600380546001600160a01b03199081169091556002805491821690556000906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100df5760003660031901126100df576004546001600160a01b031680156103aa57816004816040936315f789a960e21b82525afa90811561039e57600091610320575b50601b0b6000811261031057602090604051908152f35b62bfc92160e01b60005260046000fd5b9060403d604011610397575b601f8101601f1916830167ffffffffffffffff81118482101761038357604091849183528101031261037c5781519182601b0b830361037f576020015163ffffffff81160361037c5750816102f9565b80fd5b5080fd5b634e487b7160e01b83526041600452602483fd5b503d61032c565b6040513d6000823e3d90fd5b632e7973df60e21b60005260046000fd5b6002546001600160a01b031633036103cf57565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfea2646970667358221220b01f1fb48add3f525a832e1d5832773612426dfa7723ac3cb8ee37162dce722764736f6c634300081a0033";
154
+ const isSuperArgs = (xs) => xs.length > 1;
155
+ class API3Adapter__factory extends ethers_1.ContractFactory {
156
+ constructor(...args) {
157
+ if (isSuperArgs(args)) {
158
+ super(...args);
159
+ }
160
+ else {
161
+ super(_abi, _bytecode, args[0]);
162
+ }
163
+ }
164
+ getDeployTransaction(_correlatedToken, _underlyingToken, overrides) {
165
+ return super.getDeployTransaction(_correlatedToken, _underlyingToken, overrides || {});
166
+ }
167
+ deploy(_correlatedToken, _underlyingToken, overrides) {
168
+ return super.deploy(_correlatedToken, _underlyingToken, overrides || {});
169
+ }
170
+ connect(runner) {
171
+ return super.connect(runner);
172
+ }
173
+ static createInterface() {
174
+ return new ethers_1.Interface(_abi);
175
+ }
176
+ static connect(address, runner) {
177
+ return new ethers_1.Contract(address, _abi, runner);
178
+ }
179
+ }
180
+ exports.API3Adapter__factory = API3Adapter__factory;
181
+ API3Adapter__factory.bytecode = _bytecode;
182
+ API3Adapter__factory.abi = _abi;
183
+ //# sourceMappingURL=API3Adapter__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"API3Adapter__factory.js","sourceRoot":"","sources":["../../../../../../../src/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,31 @@
1
+ import { type ContractRunner } from "ethers";
2
+ import type { IAPI3Proxy, IAPI3ProxyInterface } from "../../../../contracts/Oracle/API3Adapter.sol/IAPI3Proxy";
3
+ export declare class IAPI3Proxy__factory {
4
+ static readonly abi: readonly [{
5
+ readonly inputs: readonly [];
6
+ readonly name: "api3ServerV1";
7
+ readonly outputs: readonly [{
8
+ readonly internalType: "address";
9
+ readonly name: "";
10
+ readonly type: "address";
11
+ }];
12
+ readonly stateMutability: "view";
13
+ readonly type: "function";
14
+ }, {
15
+ readonly inputs: readonly [];
16
+ readonly name: "read";
17
+ readonly outputs: readonly [{
18
+ readonly internalType: "int224";
19
+ readonly name: "value";
20
+ readonly type: "int224";
21
+ }, {
22
+ readonly internalType: "uint32";
23
+ readonly name: "timestamp";
24
+ readonly type: "uint32";
25
+ }];
26
+ readonly stateMutability: "view";
27
+ readonly type: "function";
28
+ }];
29
+ static createInterface(): IAPI3ProxyInterface;
30
+ static connect(address: string, runner?: ContractRunner | null): IAPI3Proxy;
31
+ }
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IAPI3Proxy__factory = void 0;
7
+ const ethers_1 = require("ethers");
8
+ const _abi = [
9
+ {
10
+ inputs: [],
11
+ name: "api3ServerV1",
12
+ outputs: [
13
+ {
14
+ internalType: "address",
15
+ name: "",
16
+ type: "address",
17
+ },
18
+ ],
19
+ stateMutability: "view",
20
+ type: "function",
21
+ },
22
+ {
23
+ inputs: [],
24
+ name: "read",
25
+ outputs: [
26
+ {
27
+ internalType: "int224",
28
+ name: "value",
29
+ type: "int224",
30
+ },
31
+ {
32
+ internalType: "uint32",
33
+ name: "timestamp",
34
+ type: "uint32",
35
+ },
36
+ ],
37
+ stateMutability: "view",
38
+ type: "function",
39
+ },
40
+ ];
41
+ class IAPI3Proxy__factory {
42
+ static createInterface() {
43
+ return new ethers_1.Interface(_abi);
44
+ }
45
+ static connect(address, runner) {
46
+ return new ethers_1.Contract(address, _abi, runner);
47
+ }
48
+ }
49
+ exports.IAPI3Proxy__factory = IAPI3Proxy__factory;
50
+ IAPI3Proxy__factory.abi = _abi;
51
+ //# sourceMappingURL=IAPI3Proxy__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAPI3Proxy__factory.js","sourceRoot":"","sources":["../../../../../../../src/typechain/factories/contracts/Oracle/API3Adapter.sol/IAPI3Proxy__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,MAAM;QACZ,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;aACf;YACD;gBACE,YAAY,EAAE,QAAQ;gBACtB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,QAAQ;aACf;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,mBAAmB;IAE9B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAwB,CAAC;IACpD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA0B,CAAC;IACtE,CAAC;;AAPH,kDAQC;AAPiB,uBAAG,GAAG,IAAI,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { API3Adapter__factory } from "./API3Adapter__factory";
2
+ export { IAPI3Proxy__factory } from "./IAPI3Proxy__factory";
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IAPI3Proxy__factory = exports.API3Adapter__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ var API3Adapter__factory_1 = require("./API3Adapter__factory");
8
+ Object.defineProperty(exports, "API3Adapter__factory", { enumerable: true, get: function () { return API3Adapter__factory_1.API3Adapter__factory; } });
9
+ var IAPI3Proxy__factory_1 = require("./IAPI3Proxy__factory");
10
+ Object.defineProperty(exports, "IAPI3Proxy__factory", { enumerable: true, get: function () { return IAPI3Proxy__factory_1.IAPI3Proxy__factory; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/typechain/factories/contracts/Oracle/API3Adapter.sol/index.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,+DAA8D;AAArD,4HAAA,oBAAoB,OAAA;AAC7B,6DAA4D;AAAnD,0HAAA,mBAAmB,OAAA"}
@@ -1,3 +1,4 @@
1
+ export * as api3AdapterSol from "./API3Adapter.sol";
1
2
  export * as priceOracleSol from "./PriceOracle.sol";
2
3
  export * as wstEthAdapterSol from "./WstETHAdapter.sol";
3
4
  export * as wstMtrgAdapterSol from "./WstMTRGAdapter.sol";
@@ -23,10 +23,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.FeedPriceOracle__factory = exports.wstMtrgOracleSol = exports.stUsdAdapterSol = exports.wstMtrgAdapterSol = exports.wstEthAdapterSol = exports.priceOracleSol = void 0;
26
+ exports.FeedPriceOracle__factory = exports.wstMtrgOracleSol = exports.stUsdAdapterSol = exports.wstMtrgAdapterSol = exports.wstEthAdapterSol = exports.priceOracleSol = exports.api3AdapterSol = void 0;
27
27
  /* Autogenerated file. Do not edit manually. */
28
28
  /* tslint:disable */
29
29
  /* eslint-disable */
30
+ exports.api3AdapterSol = __importStar(require("./API3Adapter.sol"));
30
31
  exports.priceOracleSol = __importStar(require("./PriceOracle.sol"));
31
32
  exports.wstEthAdapterSol = __importStar(require("./WstETHAdapter.sol"));
32
33
  exports.wstMtrgAdapterSol = __importStar(require("./WstMTRGAdapter.sol"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Oracle/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,oEAAoD;AACpD,wEAAwD;AACxD,0EAA0D;AAC1D,sEAAsD;AACtD,wEAAwD;AACxD,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Oracle/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AACpB,oEAAoD;AACpD,oEAAoD;AACpD,wEAAwD;AACxD,0EAA0D;AAC1D,sEAAsD;AACtD,wEAAwD;AACxD,uEAAsE;AAA7D,oIAAA,wBAAwB,OAAA"}
@@ -14,7 +14,7 @@ export declare class SumerErrors__factory extends ContractFactory {
14
14
  deploymentTransaction(): ContractTransactionResponse;
15
15
  }>;
16
16
  connect(runner: ContractRunner | null): SumerErrors__factory;
17
- static readonly bytecode = "0x60808060405234601357603a908160198239f35b600080fdfe600080fdfea2646970667358221220aa7602638162812b6d72f82dfad11f5bfade714a758518b9cb5fcf688c0b7bec64736f6c634300081a0033";
17
+ static readonly bytecode = "0x60808060405234601357603a908160198239f35b600080fdfe600080fdfea2646970667358221220dd3a1f844f88cf95e0b5a591e4536fed73631e85a8974b064720a9fe874260c164736f6c634300081a0033";
18
18
  static readonly abi: readonly [{
19
19
  readonly inputs: readonly [];
20
20
  readonly name: "AddReservesMarketNotFresh";
@@ -51,6 +51,10 @@ export declare class SumerErrors__factory extends ContractFactory {
51
51
  }];
52
52
  readonly name: "BorrowValueMustBeLargerThanThreshold";
53
53
  readonly type: "error";
54
+ }, {
55
+ readonly inputs: readonly [];
56
+ readonly name: "CantEnterPausedMarket";
57
+ readonly type: "error";
54
58
  }, {
55
59
  readonly inputs: readonly [];
56
60
  readonly name: "CantExitMarketWithNonZeroBorrowBalance";
@@ -119,6 +123,10 @@ export declare class SumerErrors__factory extends ContractFactory {
119
123
  readonly inputs: readonly [];
120
124
  readonly name: "InvalidBlockNumber";
121
125
  readonly type: "error";
126
+ }, {
127
+ readonly inputs: readonly [];
128
+ readonly name: "InvalidCToken";
129
+ readonly type: "error";
122
130
  }, {
123
131
  readonly inputs: readonly [];
124
132
  readonly name: "InvalidCloseFactor";
@@ -151,6 +159,10 @@ export declare class SumerErrors__factory extends ContractFactory {
151
159
  readonly inputs: readonly [];
152
160
  readonly name: "InvalidMinSuBorrowValue";
153
161
  readonly type: "error";
162
+ }, {
163
+ readonly inputs: readonly [];
164
+ readonly name: "InvalidRedeem";
165
+ readonly type: "error";
154
166
  }, {
155
167
  readonly inputs: readonly [];
156
168
  readonly name: "InvalidReduceAmount";
@@ -203,14 +215,26 @@ export declare class SumerErrors__factory extends ContractFactory {
203
215
  readonly inputs: readonly [];
204
216
  readonly name: "MarketAlreadyListed";
205
217
  readonly type: "error";
218
+ }, {
219
+ readonly inputs: readonly [];
220
+ readonly name: "MarketAlreadyUnlisted";
221
+ readonly type: "error";
206
222
  }, {
207
223
  readonly inputs: readonly [];
208
224
  readonly name: "MarketCanOnlyInitializeOnce";
209
225
  readonly type: "error";
226
+ }, {
227
+ readonly inputs: readonly [];
228
+ readonly name: "MarketNotEmpty";
229
+ readonly type: "error";
210
230
  }, {
211
231
  readonly inputs: readonly [];
212
232
  readonly name: "MarketNotListed";
213
233
  readonly type: "error";
234
+ }, {
235
+ readonly inputs: readonly [];
236
+ readonly name: "MarketPaused";
237
+ readonly type: "error";
214
238
  }, {
215
239
  readonly inputs: readonly [];
216
240
  readonly name: "MinDelayNotReached";
@@ -259,6 +283,10 @@ export declare class SumerErrors__factory extends ContractFactory {
259
283
  readonly inputs: readonly [];
260
284
  readonly name: "OnlyListedCToken";
261
285
  readonly type: "error";
286
+ }, {
287
+ readonly inputs: readonly [];
288
+ readonly name: "OnlyPausedMarketCanBeUnlisted";
289
+ readonly type: "error";
262
290
  }, {
263
291
  readonly inputs: readonly [];
264
292
  readonly name: "OnlyPendingAdmin";
@@ -347,6 +375,14 @@ export declare class SumerErrors__factory extends ContractFactory {
347
375
  readonly inputs: readonly [];
348
376
  readonly name: "TooMuchRepay";
349
377
  readonly type: "error";
378
+ }, {
379
+ readonly inputs: readonly [];
380
+ readonly name: "TotalBorrowsNotZero";
381
+ readonly type: "error";
382
+ }, {
383
+ readonly inputs: readonly [];
384
+ readonly name: "TotalSupplyNotZero";
385
+ readonly type: "error";
350
386
  }, {
351
387
  readonly inputs: readonly [];
352
388
  readonly name: "TransferNotAllowed";