UNPKG

@astonic-io/astonic-bindings-ts

Version:

Astonic type generation and npm package deployment repo

939 lines (938 loc) 22.2 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IReserve0828__factory = void 0; var ethers_1 = require("ethers"); var _abi = [ { type: "function", name: "addCollateralAsset", inputs: [ { name: "asset", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "addExchangeSpender", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "addOtherReserveAddress", inputs: [ { name: "otherReserveAddress", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "addSpender", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "addToken", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "checkIsCollateralAsset", inputs: [ { name: "collateralAsset", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "collateralAssetLastSpendingDay", inputs: [ { name: "collateralAsset", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "collateralAssetSpendingLimit", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "collateralAssets", inputs: [ { name: "index", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "getAssetAllocationSymbols", inputs: [], outputs: [ { name: "", type: "bytes32[]", internalType: "bytes32[]", }, ], stateMutability: "view", }, { type: "function", name: "getAssetAllocationWeights", inputs: [], outputs: [ { name: "", type: "uint256[]", internalType: "uint256[]", }, ], stateMutability: "view", }, { type: "function", name: "getDailySpendingRatio", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getDailySpendingRatioForCollateralAsset", inputs: [ { name: "collateralAsset", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getExchangeSpenders", inputs: [], outputs: [ { name: "", type: "address[]", internalType: "address[]", }, ], stateMutability: "view", }, { type: "function", name: "getOrComputeTobinTax", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "nonpayable", }, { type: "function", name: "getOtherReserveAddresses", inputs: [], outputs: [ { name: "", type: "address[]", internalType: "address[]", }, ], stateMutability: "view", }, { type: "function", name: "getReservePlanqBalance", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getReserveRatio", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getTokens", inputs: [], outputs: [ { name: "", type: "address[]", internalType: "address[]", }, ], stateMutability: "view", }, { type: "function", name: "getUnfrozenBalance", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "getUnfrozenReservePlanqBalance", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "initialize", inputs: [ { name: "registryAddress", type: "address", internalType: "address", }, { name: "_tobinTaxStalenessThreshold", type: "uint256", internalType: "uint256", }, { name: "_spendingRatioForPlanq", type: "uint256", internalType: "uint256", }, { name: "_frozenPlanq", type: "uint256", internalType: "uint256", }, { name: "_frozenDays", type: "uint256", internalType: "uint256", }, { name: "_assetAllocationSymbols", type: "bytes32[]", internalType: "bytes32[]", }, { name: "_assetAllocationWeights", type: "uint256[]", internalType: "uint256[]", }, { name: "_tobinTax", type: "uint256", internalType: "uint256", }, { name: "_tobinTaxReserveRatio", type: "uint256", internalType: "uint256", }, { name: "_collateralAssets", type: "address[]", internalType: "address[]", }, { name: "_collateralAssetDailySpendingRatios", type: "uint256[]", internalType: "uint256[]", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "isCollateralAsset", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "isExchangeSpender", inputs: [ { name: "exchange", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "isOtherReserveAddress", inputs: [ { name: "otherReserveAddress", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "isSpender", inputs: [ { name: "spender", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "isStableAsset", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "isToken", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "view", }, { type: "function", name: "owner", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "registry", inputs: [], outputs: [ { name: "", type: "address", internalType: "address", }, ], stateMutability: "view", }, { type: "function", name: "removeCollateralAsset", inputs: [ { name: "collateralAsset", type: "address", internalType: "address", }, { name: "index", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "removeExchangeSpender", inputs: [ { name: "", type: "address", internalType: "address", }, { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "removeOtherReserveAddress", inputs: [ { name: "otherReserveAddress", type: "address", internalType: "address", }, { name: "index", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "removeSpender", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "removeToken", inputs: [ { name: "", type: "address", internalType: "address", }, { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "renounceOwnership", inputs: [], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setAssetAllocations", inputs: [ { name: "symbols", type: "bytes32[]", internalType: "bytes32[]", }, { name: "weights", type: "uint256[]", internalType: "uint256[]", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setDailySpendingRatio", inputs: [ { name: "spendingRatio", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setDailySpendingRatioForCollateralAssets", inputs: [ { name: "_collateralAssets", type: "address[]", internalType: "address[]", }, { name: "collateralAssetDailySpendingRatios", type: "uint256[]", internalType: "uint256[]", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setFrozenPlanq", inputs: [ { name: "frozenPlanq", type: "uint256", internalType: "uint256", }, { name: "frozenDays", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setRegistry", inputs: [ { name: "", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setTobinTax", inputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setTobinTaxReserveRatio", inputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "setTobinTaxStalenessThreshold", inputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "tobinTax", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "tobinTaxReserveRatio", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "tobinTaxStalenessThreshold", inputs: [], outputs: [ { name: "", type: "uint256", internalType: "uint256", }, ], stateMutability: "view", }, { type: "function", name: "transferCollateralAsset", inputs: [ { name: "collateralAsset", type: "address", internalType: "address", }, { name: "to", type: "address", internalType: "address payable", }, { name: "value", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "transferExchangeCollateralAsset", inputs: [ { name: "collateralAsset", type: "address", internalType: "address", }, { name: "to", type: "address", internalType: "address payable", }, { name: "value", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "transferExchangePlanq", inputs: [ { name: "", type: "address", internalType: "address payable", }, { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, { type: "function", name: "transferOwnership", inputs: [ { name: "newOwner", type: "address", internalType: "address", }, ], outputs: [], stateMutability: "nonpayable", }, { type: "function", name: "transferPlanq", inputs: [ { name: "", type: "address", internalType: "address payable", }, { name: "", type: "uint256", internalType: "uint256", }, ], outputs: [ { name: "", type: "bool", internalType: "bool", }, ], stateMutability: "nonpayable", }, ]; var IReserve0828__factory = /** @class */ (function () { function IReserve0828__factory() { } IReserve0828__factory.createInterface = function () { return new ethers_1.utils.Interface(_abi); }; IReserve0828__factory.connect = function (address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); }; IReserve0828__factory.abi = _abi; return IReserve0828__factory; }()); exports.IReserve0828__factory = IReserve0828__factory;