text: "use strict";
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
      function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
      return new (P || (P = Promise))(function (resolve, reject) {
          function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
          function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
          function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
          step((generator = generator.apply(thisArg, _arguments || [])).next());
      });
  };
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.rinkebyENSNameSchema = void 0;
  const Web3 = require("web3");
  const ens_1 = require("../../../common/ens");
  const types_1 = require("../../../types");
  exports.rinkebyENSNameSchema = Object.assign(Object.assign({}, ens_1.ENSNameBaseSchema), { version: 1, deploymentBlock: 0, name: 'ENSName', description: 'Rinkeby Ethereum Name Service (EIP 137)', thumbnail: 'https://ens.domains/img/ens.svg', website: 'https://github.com/ethereum/EIPs/blob/master/EIPS/eip-137.md', formatter: (asset) => __awaiter(void 0, void 0, void 0, function* () {
          return {
              thumbnail: 'https://ens.domains/img/ens.svg',
              title: 'ENS Name ' + asset.name,
              description: '(ENS node ' + asset.nodeHash + ')',
              url: 'https://github.com/ethereum/EIPs/blob/master/EIPS/eip-137.md',
              properties: [],
          };
      }), functions: {
          transfer: asset => ({
              type: Web3.AbiType.Function,
              name: 'setOwner',
              payable: false,
              constant: false,
              stateMutability: types_1.StateMutability.Nonpayable,
              target: '0xe7410170f87102df0055eb195163a03b7f2bff4a',
              inputs: [
                  { kind: types_1.FunctionInputKind.Asset, name: 'node', type: 'bytes32', value: asset.nodeHash },
                  { kind: types_1.FunctionInputKind.Replaceable, name: 'owner', type: 'address' },
              ],
              outputs: [],
          }),
          ownerOf: asset => ({
              type: Web3.AbiType.Function,
              name: 'owner',
              payable: false,
              constant: true,
              stateMutability: types_1.StateMutability.View,
              target: '0xe7410170f87102df0055eb195163a03b7f2bff4a',
              inputs: [
                  { kind: types_1.FunctionInputKind.Asset, name: 'node', type: 'bytes32', value: asset.nodeHash },
              ],
              outputs: [
                  { kind: types_1.FunctionOutputKind.Owner, name: '', type: 'address' },
              ],
          }),
          assetsOfOwnerByIndex: [],
      }, events: {
          transfer: [],
      } });
  //# sourceMappingURL=index.js.map