UNPKG

@augmentedfinance/protocol-v1

Version:

Augmented Protocol smart contracts

135 lines 3.54 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IRoamingTokenFactory = void 0; const ethers_1 = require("ethers"); class IRoamingTokenFactory { static connect(address, signerOrProvider) { return new ethers_1.Contract(address, _abi, signerOrProvider); } } exports.IRoamingTokenFactory = IRoamingTokenFactory; const _abi = [ { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "sender", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, { indexed: true, internalType: "uint256", name: "toNetworkId", type: "uint256", }, { indexed: false, internalType: "bytes", name: "roamingData", type: "bytes", }, ], name: "BurnedToRoaming", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "receiver", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, { indexed: true, internalType: "uint256", name: "fromNetworkId", type: "uint256", }, { indexed: false, internalType: "bytes", name: "roamingData", type: "bytes", }, ], name: "MintedFromRoaming", type: "event", }, { inputs: [ { internalType: "address", name: "sender", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "uint256", name: "toNetworkId", type: "uint256", }, ], name: "burnToRoaming", outputs: [ { internalType: "bytes", name: "roamingData", type: "bytes", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "receiver", type: "address", }, { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "uint256", name: "fromNetworkId", type: "uint256", }, { internalType: "bytes", name: "roamingData", type: "bytes", }, ], name: "mintFromRoaming", outputs: [], stateMutability: "nonpayable", type: "function", }, ]; //# sourceMappingURL=IRoamingTokenFactory.js.map