Some checks failed
morphit-release / Build + publish release tarball (push) Has been cancelled
90 lines
3.6 KiB
JavaScript
90 lines
3.6 KiB
JavaScript
"use strict";
|
|
/**
|
|
* @file Blurt operation type definitions.
|
|
* @author BeBlurt <https://beblurt.com/@beblurt>
|
|
* @description adaptation of Johan Nordberg <code@johan-nordberg.com> Blurt operation type definitions.
|
|
* @license
|
|
* Copyright (c) 2017 Johan Nordberg. All Rights Reserved.
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without modification,
|
|
* are permitted provided that the following conditions are met:
|
|
*
|
|
* 1. Redistribution of source code must retain the above copyright notice, this
|
|
* list of conditions and the following disclaimer.
|
|
*
|
|
* 2. Redistribution in binary form must reproduce the above copyright notice,
|
|
* this list of conditions and the following disclaimer in the documentation
|
|
* and/or other materials provided with the distribution.
|
|
*
|
|
* 3. Neither the name of the copyright holder nor the names of its contributors
|
|
* may be used to endorse or promote products derived from this software without
|
|
* specific prior written permission.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
|
* IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
|
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
|
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
|
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
|
|
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*
|
|
* You acknowledge that this software is not designed, licensed or intended for use
|
|
* in the design, construction, operation or maintenance of any military facility.
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.VirtualOperationNameRegexp = exports.OperationNameRegexp = void 0;
|
|
exports.OperationNameRegexp = new RegExp('^vote$'
|
|
+ '|^comment$'
|
|
+ '|^transfer$'
|
|
+ '|^transfer_to_vesting$'
|
|
+ '|^withdraw_vesting$'
|
|
+ '|^account_create$'
|
|
+ '|^account_update$'
|
|
+ '|^witness_update$'
|
|
+ '|^account_witness_vote$'
|
|
+ '|^account_witness_proxy$'
|
|
+ '|^custom$'
|
|
+ '|^delete_comment$'
|
|
+ '|^custom_json$'
|
|
+ '|^comment_options$'
|
|
+ '|^set_withdraw_vesting_route$'
|
|
+ '|^claim_account$'
|
|
+ '|^create_claimed_account$'
|
|
+ '|^request_account_recovery$'
|
|
+ '|^recover_account$'
|
|
+ '|^change_recovery_account$'
|
|
+ '|^escrow_transfer$'
|
|
+ '|^escrow_dispute$'
|
|
+ '|^escrow_release$'
|
|
+ '|^escrow_approve$'
|
|
+ '|^transfer_to_savings$'
|
|
+ '|^transfer_from_savings$'
|
|
+ '|^cancel_transfer_from_savings$'
|
|
+ '|^custom_binary$'
|
|
+ '|^decline_voting_rights$'
|
|
+ '|^reset_account$'
|
|
+ '|^set_reset_account$'
|
|
+ '|^claim_reward_balance$'
|
|
+ '|^delegate_vesting_shares$'
|
|
+ '|^witness_set_properties$'
|
|
+ '|^create_proposal$'
|
|
+ '|^update_proposal_votes$'
|
|
+ '|^remove_proposal$');
|
|
exports.VirtualOperationNameRegexp = new RegExp('^author_reward$'
|
|
+ '|^curation_reward$'
|
|
+ '|^comment_reward$'
|
|
+ '|^fill_vesting_withdraw$'
|
|
+ '|^shutdown_witness$'
|
|
+ '|^fill_transfer_from_savings$'
|
|
+ '|^hardfork$'
|
|
+ '|^comment_payout_update$'
|
|
+ '|^return_vesting_delegation$'
|
|
+ '|^comment_benefactor_reward$'
|
|
+ '|^producer_reward$'
|
|
+ '|^clear_null_account_balance$'
|
|
+ '|^proposal_pay$'
|
|
+ '|^sps_fund$'
|
|
+ '|^fee_pay$');
|