@soma-finance/core-contracts
Version:
SOMA Finance core contracts
92 lines • 2.61 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IERC20GuardPartition__factory = void 0;
const ethers_1 = require("ethers");
const _erc165InterfaceId = "0xcbb053b0";
const _erc1820InterfaceId = "0xcc72f7b685cae97ce90d945ba199d2e6834b8093c55c0cb264e4a0f6cf4cf16f";
const _abi = [
{
inputs: [
{
internalType: "address",
name: "from",
type: "address",
},
{
internalType: "address",
name: "to",
type: "address",
},
{
internalType: "bytes32",
name: "fromId",
type: "bytes32",
},
{
internalType: "bytes32",
name: "toId",
type: "bytes32",
},
{
internalType: "uint256",
name: "amount",
type: "uint256",
},
],
name: "canTransferFrom",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [
{
internalType: "address",
name: "from",
type: "address",
},
{
internalType: "address",
name: "to",
type: "address",
},
{
internalType: "uint256",
name: "amount",
type: "uint256",
},
],
name: "canTransferFrom",
outputs: [
{
internalType: "bool",
name: "",
type: "bool",
},
],
stateMutability: "view",
type: "function",
},
];
class IERC20GuardPartition__factory {
static createInterface() {
return new ethers_1.utils.Interface(_abi);
}
static connect(address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
}
}
exports.IERC20GuardPartition__factory = IERC20GuardPartition__factory;
IERC20GuardPartition__factory.erc165InterfaceId = _erc165InterfaceId;
IERC20GuardPartition__factory.erc1820InterfaceId = _erc1820InterfaceId;
IERC20GuardPartition__factory.abi = _abi;
//# sourceMappingURL=IERC20GuardPartition__factory.js.map