@broxus/js-bridge-essentials
Version:
Bridge JavaScript Essentials library
188 lines (187 loc) • 4.19 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MergeRouterAbi = void 0;
/**
* @see https://github.com/broxus/octusbridge-contracts/blob/master/everscale/build/MergeRouter.abi.json
*/
exports.MergeRouterAbi = {
'ABI version': 2,
data: [
{
key: 1,
name: 'proxy',
type: 'address',
},
{
key: 2,
name: 'token',
type: 'address',
},
],
events: [
{
inputs: [
{
name: 'previousOwner',
type: 'address',
},
{
name: 'newOwner',
type: 'address',
},
],
name: 'OwnershipTransferred',
outputs: [],
},
],
fields: [
{
name: '_pubkey',
type: 'uint256',
},
{
name: '_timestamp',
type: 'uint64',
},
{
name: '_constructorFlag',
type: 'bool',
},
{
name: 'owner',
type: 'address',
},
{
name: 'proxy',
type: 'address',
},
{
name: 'token',
type: 'address',
},
{
name: 'pool',
type: 'address',
},
{
name: 'manager',
type: 'address',
},
],
functions: [
{
inputs: [
{
name: '_owner',
type: 'address',
},
{
name: '_manager',
type: 'address',
},
],
name: 'constructor',
outputs: [],
},
{
inputs: [
{
name: 'pool_',
type: 'address',
},
],
name: 'setPool',
outputs: [],
},
{
inputs: [
{
name: '_manager',
type: 'address',
},
],
name: 'setManager',
outputs: [],
},
{
inputs: [],
name: 'disablePool',
outputs: [],
},
{
inputs: [
{
name: 'answerId',
type: 'uint32',
},
],
name: 'getPool',
outputs: [
{
name: 'value0',
type: 'address',
},
],
},
{
inputs: [
{
name: 'answerId',
type: 'uint32',
},
],
name: 'getDetails',
outputs: [
{
name: '_proxy',
type: 'address',
},
{
name: '_token',
type: 'address',
},
{
name: '_pool',
type: 'address',
},
],
},
{
inputs: [
{
name: 'newOwner',
type: 'address',
},
],
name: 'transferOwnership',
outputs: [],
},
{
inputs: [],
name: 'renounceOwnership',
outputs: [],
},
{
inputs: [],
name: 'owner',
outputs: [
{
name: 'owner',
type: 'address',
},
],
},
{
inputs: [],
name: 'manager',
outputs: [
{
name: 'manager',
type: 'address',
},
],
},
],
header: ['pubkey', 'time', 'expire'],
version: '2.2',
};