Skip to content

@lelantos-org/sdk / chain / MASP_ABI

Variable: MASP_ABI โ€‹

ts
const MASP_ABI: readonly [{
  inputs: readonly [{
     name: "id";
     type: "uint64";
  }];
  name: "asset";
  outputs: readonly [{
     components: readonly [{
        name: "token";
        type: "address";
      }, {
        name: "disabled";
        type: "bool";
      }, {
        name: "scale";
        type: "uint256";
     }];
     type: "tuple";
  }];
  stateMutability: "view";
  type: "function";
}, {
  inputs: readonly [];
  name: "feeBps";
  outputs: readonly [{
     type: "uint16";
  }];
  stateMutability: "view";
  type: "function";
}, {
  inputs: readonly [];
  name: "treasury";
  outputs: readonly [{
     type: "address";
  }];
  stateMutability: "view";
  type: "function";
}, {
  inputs: readonly [];
  name: "cancelDelay";
  outputs: readonly [{
     type: "uint32";
  }];
  stateMutability: "view";
  type: "function";
}, {
  inputs: readonly [];
  name: "nextDepositId";
  outputs: readonly [{
     type: "uint256";
  }];
  stateMutability: "view";
  type: "function";
}, {
  inputs: readonly [{
     name: "id";
     type: "uint256";
  }];
  name: "escrowed";
  outputs: readonly [{
     name: "digest";
     type: "bytes32";
  }];
  stateMutability: "view";
  type: "function";
}, {
  inputs: readonly [{
     components: readonly [{
        name: "chainId";
        type: "uint256";
      }, {
        name: "publicAssetId";
        type: "uint64";
      }, {
        name: "publicIn";
        type: "uint64";
      }, {
        name: "payer";
        type: "address";
      }, {
        name: "recipient";
        type: "address";
      }, {
        name: "outCm";
        type: "bytes32";
      }, {
        name: "cvDep";
        type: "uint256[2]";
      }, {
        name: "rcv";
        type: "uint256";
      }, {
        name: "feeIn";
        type: "uint64";
      }, {
        name: "feeCm";
        type: "bytes32";
      }, {
        name: "feeCvDep";
        type: "uint256[2]";
      }, {
        name: "feeRcv";
        type: "uint256";
     }];
     name: "d";
     type: "tuple";
   }, {
     components: readonly [{
        name: "nonce";
        type: "uint256";
      }, {
        name: "deadline";
        type: "uint256";
      }, {
        name: "maxTotal";
        type: "uint256";
      }, {
        name: "signature";
        type: "bytes";
     }];
     name: "sig";
     type: "tuple";
   }, {
     components: readonly [{
        name: "clueRx";
        type: "uint256";
      }, {
        name: "clueRy";
        type: "uint256";
      }, {
        name: "ephPubX";
        type: "uint256";
      }, {
        name: "ephPubY";
        type: "uint256";
      }, {
        name: "ciphertext";
        type: "bytes";
     }];
     name: "aux";
     type: "tuple";
   }, {
     components: readonly [{
        name: "clueRx";
        type: "uint256";
      }, {
        name: "clueRy";
        type: "uint256";
      }, {
        name: "ephPubX";
        type: "uint256";
      }, {
        name: "ephPubY";
        type: "uint256";
      }, {
        name: "ciphertext";
        type: "bytes";
     }];
     name: "feeAux";
     type: "tuple";
  }];
  name: "deposit";
  outputs: readonly [{
     name: "id";
     type: "uint256";
  }];
  stateMutability: "nonpayable";
  type: "function";
}, {
  inputs: readonly [{
     components: readonly [{
        name: "chainId";
        type: "uint256";
      }, {
        name: "publicAssetId";
        type: "uint64";
      }, {
        name: "publicIn";
        type: "uint64";
      }, {
        name: "payer";
        type: "address";
      }, {
        name: "recipient";
        type: "address";
      }, {
        name: "outCm";
        type: "bytes32";
      }, {
        name: "cvDep";
        type: "uint256[2]";
      }, {
        name: "rcv";
        type: "uint256";
      }, {
        name: "feeIn";
        type: "uint64";
      }, {
        name: "feeCm";
        type: "bytes32";
      }, {
        name: "feeCvDep";
        type: "uint256[2]";
      }, {
        name: "feeRcv";
        type: "uint256";
     }];
     name: "d";
     type: "tuple";
   }, {
     components: readonly [{
        name: "clueRx";
        type: "uint256";
      }, {
        name: "clueRy";
        type: "uint256";
      }, {
        name: "ephPubX";
        type: "uint256";
      }, {
        name: "ephPubY";
        type: "uint256";
      }, {
        name: "ciphertext";
        type: "bytes";
     }];
     name: "aux";
     type: "tuple";
   }, {
     components: readonly [{
        name: "clueRx";
        type: "uint256";
      }, {
        name: "clueRy";
        type: "uint256";
      }, {
        name: "ephPubX";
        type: "uint256";
      }, {
        name: "ephPubY";
        type: "uint256";
      }, {
        name: "ciphertext";
        type: "bytes";
     }];
     name: "feeAux";
     type: "tuple";
  }];
  name: "depositAuthorized";
  outputs: readonly [{
     name: "id";
     type: "uint256";
  }];
  stateMutability: "nonpayable";
  type: "function";
}, {
  inputs: readonly [{
     name: "id";
     type: "uint256";
   }, {
     name: "publicIn";
     type: "uint48";
   }, {
     name: "cm";
     type: "bytes32";
   }, {
     name: "cvDep";
     type: "uint256[2]";
   }, {
     name: "publicAssetId";
     type: "uint64";
   }, {
     name: "fbps";
     type: "uint16";
   }, {
     name: "payer";
     type: "address";
   }, {
     name: "submittedAt";
     type: "uint32";
   }, {
     components: readonly [{
        name: "feeIn";
        type: "uint48";
      }, {
        name: "feeCm";
        type: "bytes32";
      }, {
        name: "feeCvDep";
        type: "uint256[2]";
     }];
     name: "feeNote";
     type: "tuple";
  }];
  name: "cancelDeposit";
  outputs: readonly [];
  stateMutability: "nonpayable";
  type: "function";
}, {
  inputs: readonly [{
     indexed: true;
     name: "id";
     type: "uint256";
   }, {
     indexed: true;
     name: "payer";
     type: "address";
   }, {
     indexed: true;
     name: "recipient";
     type: "address";
   }, {
     name: "publicAssetId";
     type: "uint64";
   }, {
     name: "publicIn";
     type: "uint64";
   }, {
     name: "feeBpsAtSubmit";
     type: "uint16";
   }, {
     name: "cm";
     type: "bytes32";
   }, {
     name: "cvDepX";
     type: "uint256";
   }, {
     name: "cvDepY";
     type: "uint256";
   }, {
     name: "rcv";
     type: "uint256";
   }, {
     name: "clueRx";
     type: "uint256";
   }, {
     name: "clueRy";
     type: "uint256";
   }, {
     name: "ephPubX";
     type: "uint256";
   }, {
     name: "ephPubY";
     type: "uint256";
   }, {
     name: "ciphertext";
     type: "bytes";
   }, {
     name: "feeIn";
     type: "uint64";
   }, {
     name: "feeCm";
     type: "bytes32";
   }, {
     name: "feeCvDepX";
     type: "uint256";
   }, {
     name: "feeCvDepY";
     type: "uint256";
   }, {
     name: "feeRcv";
     type: "uint256";
   }, {
     name: "feeClueRx";
     type: "uint256";
   }, {
     name: "feeClueRy";
     type: "uint256";
   }, {
     name: "feeEphPubX";
     type: "uint256";
   }, {
     name: "feeEphPubY";
     type: "uint256";
   }, {
     name: "feeCiphertext";
     type: "bytes";
  }];
  name: "DepositEscrowed";
  type: "event";
}, {
  inputs: readonly [{
     indexed: true;
     name: "cm";
     type: "bytes32";
   }, {
     name: "clueRx";
     type: "uint256";
   }, {
     name: "clueRy";
     type: "uint256";
   }, {
     name: "ephPubX";
     type: "uint256";
   }, {
     name: "ephPubY";
     type: "uint256";
   }, {
     name: "ciphertext";
     type: "bytes";
   }, {
     name: "cvDepX";
     type: "uint256";
   }, {
     name: "cvDepY";
     type: "uint256";
  }];
  name: "NotePayload";
  type: "event";
}];

Defined in: @lelantos-org/sdk/dist/chain/viem/abi.d.ts:1

Lelantosno cookies ๐Ÿช ยท no tracking ๐Ÿ‘๏ธ ยท no accounts ๐Ÿ‘คwalletexplorer4536080GitHub