All files / src/contracts atomicassets.ts

99.79% Statements 485/486
83.33% Branches 10/12
80% Functions 4/5
99.66% Lines 296/297

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 11232233x                                                                     1x   1x 1x     1x 1x   9x                     22x                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 1x                                                       1x                                                   1x   1x   1x     1x   1x   1x   1x     1x   1x     1x   1x     1x   1x   1x     1x   1x   1x     1x   1x   1x     1x   1x     1x   1x   1x     1x   1x   1x   1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x     1x   1x   1x   1x   1x     1x   1x   1x     1x   1x   1x     1x   1x     1x   1x   1x   1x   1x   1x   1x   1x     1x   1x   1x     1x   1x   1x   1x   1x   1x     1x   1x   1x   1x     1x   1x       1x     1x   1x   1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x     1x   1x   1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x   1x   1x   1x   1x     1x   1x     1x   1x   1x   1x     1x   1x   1x   1x   1x     1x   1x     1x   1x   1x   1x   1x     1x   1x   1x   1x     1x   1x   1x   1x   1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x   1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x     1x   1x   1x   1x   1x     1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x   1x   1x   1x   1x     1x   1x   1x   1x   1x   1x   1x   1x     1x   1x   1x     1x   1x   1x   1x   1x     1x   1x     1x   1x   1x     1x   1x   1x     1x   1x   1x     1x   1x   1x     1x   1x   1x   1x   1x     1x   1x   1x     1x   1x   1x     1x   1x   1x     1x   1x   1x     1x   1x   1x   1x   1x     1x   1x   1x   1x   1x     1x   1x     1x   1x   1x   1x     1x   1x   1x   1x   1x   1x   1x   1x     1x   1x   1x     1x   1x   1x   1x   1x     1x   1x   1x     1x                       1x                                  
/* eslint-disable @typescript-eslint/no-empty-object-type */
import type {
    Action,
    AssetType,
    BytesType,
    Float32Type,
    Float64Type,
    Int16Type,
    Int32Type,
    Int64Type,
    Int8Type,
    NameType,
    UInt16Type,
    UInt32Type,
    UInt64Type,
    UInt8Type,
} from '@wharfkit/antelope'
import {
    ABI,
    Asset,
    Blob,
    Bytes,
    Float32,
    Float64,
    Int16,
    Int32,
    Int64,
    Int8,
    Name,
    Struct,
    UInt16,
    UInt32,
    UInt64,
    UInt8,
    Variant,
} from '@wharfkit/antelope'
import type {ActionOptions, ContractArgs, PartialBy, Table} from '@wharfkit/contract'
import {Contract as BaseContract} from '@wharfkit/contract'
export const abiBlob = Blob.from(
    'DmVvc2lvOjphYmkvMS4yDRBBVE9NSUNfQVRUUklCVVRFwgF2YXJpYW50X2ludDhfaW50MTZfaW50MzJfaW50NjRfdWludDhfdWludDE2X3VpbnQzMl91aW50NjRfZmxvYXQzMl9mbG9hdDY0X3N0cmluZ19JTlQ4X1ZFQ19JTlQxNl9WRUNfSU5UMzJfVkVDX0lOVDY0X1ZFQ19VSU5UOF9WRUNfVUlOVDE2X1ZFQ19VSU5UMzJfVkVDX1VJTlQ2NF9WRUNfRkxPQVRfVkVDX0RPVUJMRV9WRUNfU1RSSU5HX1ZFQw1BVFRSSUJVVEVfTUFQHnBhaXJfc3Rya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<ContractArgs, 'abi' | 'account'>) {
        super({
            client: args.client,
            abi: abi,
            account: args.account || Name.from('atomicassets'),
        })
    }
    action<T extends ActionNames>(
        name: T,
        data: ActionNameParams[T],
        options?: ActionOptions
    ): Action {
        return super.action(name, data, options)
    }
    table<T extends TableNames>(name: T, scope?: NameType): Table<RowType<T>> {
        return super.table(name, scope, TableMap[name])
    }
}
export interface ActionNameParams {
    acceptauswap: ActionParams.acceptauswap
    acceptoffer: ActionParams.acceptoffer
    addcolauth: ActionParams.addcolauth
    addconftoken: ActionParams.addconftoken
    addnotifyacc: ActionParams.addnotifyacc
    admincoledit: ActionParams.admincoledit
    announcedepo: ActionParams.announcedepo
    backasset: ActionParams.backasset
    burnasset: ActionParams.burnasset
    canceloffer: ActionParams.canceloffer
    createauswap: ActionParams.createauswap
    createcol: ActionParams.createcol
    createoffer: ActionParams.createoffer
    createschema: ActionParams.createschema
    createtempl: ActionParams.createtempl
    createtempl2: ActionParams.createtempl2
    declineoffer: ActionParams.declineoffer
    deltemplate: ActionParams.deltemplate
    extendschema: ActionParams.extendschema
    forbidnotify: ActionParams.forbidnotify
    init: ActionParams.init
    locktemplate: ActionParams.locktemplate
    logbackasset: ActionParams.logbackasset
    logburnasset: ActionParams.logburnasset
    logmint: ActionParams.logmint
    lognewoffer: ActionParams.lognewoffer
    lognewtempl: ActionParams.lognewtempl
    logrampayer: ActionParams.logrampayer
    logsetdata: ActionParams.logsetdata
    logsetdatatl: ActionParams.logsetdatatl
    logtransfer: ActionParams.logtransfer
    mintasset: ActionParams.mintasset
    payofferram: ActionParams.payofferram
    redtemplmax: ActionParams.redtemplmax
    rejectauswap: ActionParams.rejectauswap
    remcolauth: ActionParams.remcolauth
    remnotifyacc: ActionParams.remnotifyacc
    setassetdata: ActionParams.setassetdata
    setcoldata: ActionParams.setcoldata
    setlastpayer: ActionParams.setlastpayer
    setmarketfee: ActionParams.setmarketfee
    setrampayer: ActionParams.setrampayer
    setschematyp: ActionParams.setschematyp
    settempldata: ActionParams.settempldata
    setversion: ActionParams.setversion
    transfer: ActionParams.transfer
    withdraw: ActionParams.withdraw
}
export namespace ActionParams {
    export namespace Type {
        export interface FORMAT {
            name: string
            type: string
        }
        export interface pair_string_ATOMIC_ATTRIBUTE {
            key: string
            value: Type.variant_int8_int16_int32_int64_uint8_uint16_uint32_uint64_float32_float64_string_INT8_VEC_INT16_VEC_INT32_VEC_INT64_VEC_UINT8_VEC_UINT16_VEC_UINT32_VEC_UINT64_VEC_FLOAT_VEC_DOUBLE_VEC_STRING_VEC
        }
        export type variant_int8_int16_int32_int64_uint8_uint16_uint32_uint64_float32_float64_string_INT8_VEC_INT16_VEC_INT32_VEC_INT64_VEC_UINT8_VEC_UINT16_VEC_UINT32_VEC_UINT64_VEC_FLOAT_VEC_DOUBLE_VEC_STRING_VEC =
            | Int8Type
            | Int16Type
            | Int32Type
            | Int64Type
            | UInt8Type
            | UInt16Type
            | UInt32Type
            | UInt64Type
            | Float32Type
            | Float64Type
            | string
            | BytesType
            | Int16Type[]
            | Int32Type[]
            | Int64Type[]
            | UInt8Type[]
            | UInt16Type[]
            | UInt32Type[]
            | UInt64Type[]
            | Float32Type[]
            | Float64Type[]
            | string[]
            | Types.variant_int8_int16_int32_int64_uint8_uint16_uint32_uint64_float32_float64_string_INT8_VEC_INT16_VEC_INT32_VEC_INT64_VEC_UINT8_VEC_UINT16_VEC_UINT32_VEC_UINT64_VEC_FLOAT_VEC_DOUBLE_VEC_STRING_VEC
        export interface FORMAT_TYPE {
            name: string
            mediatype: string
            info: string
        }
    }
    export interface acceptauswap {
        collection_name: NameType
    }
    export interface acceptoffer {
        offer_id: UInt64Type
    }
    export interface addcolauth {
        collection_name: NameType
        account_to_add: NameType
    }
    export interface addconftoken {
        token_contract: NameType
        token_symbol: Asset.SymbolType
    }
    export interface addnotifyacc {
        collection_name: NameType
        account_to_add: NameType
    }
    export interface admincoledit {
        collection_format_extension: Type.FORMAT[]
    }
    export interface announcedepo {
        owner: NameType
        symbol_to_announce: Asset.SymbolType
    }
    export interface backasset {
        payer: NameType
        asset_owner: NameType
        asset_id: UInt64Type
        token_to_back: AssetType
    }
    export interface burnasset {
        asset_owner: NameType
        asset_id: UInt64Type
    }
    export interface canceloffer {
        offer_id: UInt64Type
    }
    export interface createauswap {
        collection_name: NameType
        new_author: NameType
        owner: boolean
    }
    export interface createcol {
        author: NameType
        collection_name: NameType
        allow_notify: boolean
        authorized_accounts: NameType[]
        notify_accounts: NameType[]
        market_fee: Float64Type
        data: Type.pair_string_ATOMIC_ATTRIBUTE[]
    }
    export interface createoffer {
        sender: NameType
        recipient: NameType
        sender_asset_ids: UInt64Type[]
        recipient_asset_ids: UInt64Type[]
        memo: string
    }
    export interface createschema {
        authorized_creator: NameType
        collection_name: NameType
        schema_name: NameType
        schema_format: Type.FORMAT[]
    }
    export interface createtempl {
        authorized_creator: NameType
        collection_name: NameType
        schema_name: NameType
        transferable: boolean
        burnable: boolean
        max_supply: UInt32Type
        immutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
    }
    export interface createtempl2 {
        authorized_creator: NameType
        collection_name: NameType
        schema_name: NameType
        transferable: boolean
        burnable: boolean
        max_supply: UInt32Type
        immutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
        mutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
    }
    export interface declineoffer {
        offer_id: UInt64Type
    }
    export interface deltemplate {
        authorized_editor: NameType
        collection_name: NameType
        template_id: Int32Type
    }
    export interface extendschema {
        authorized_editor: NameType
        collection_name: NameType
        schema_name: NameType
        schema_format_extension: Type.FORMAT[]
    }
    export interface forbidnotify {
        collection_name: NameType
    }
    export interface init {}
    export interface locktemplate {
        authorized_editor: NameType
        collection_name: NameType
        template_id: Int32Type
    }
    export interface logbackasset {
        asset_owner: NameType
        asset_id: UInt64Type
        backed_token: AssetType
    }
    export interface logburnasset {
        asset_owner: NameType
        asset_id: UInt64Type
        collection_name: NameType
        schema_name: NameType
        template_id: Int32Type
        backed_tokens: AssetType[]
        old_immutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
        old_mutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
        asset_ram_payer: NameType
    }
    export interface logmint {
        asset_id: UInt64Type
        authorized_minter: NameType
        collection_name: NameType
        schema_name: NameType
        template_id: Int32Type
        new_asset_owner: NameType
        immutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
        mutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
        backed_tokens: AssetType[]
        immutable_template_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
    }
    export interface lognewoffer {
        offer_id: UInt64Type
        sender: NameType
        recipient: NameType
        sender_asset_ids: UInt64Type[]
        recipient_asset_ids: UInt64Type[]
        memo: string
    }
    export interface lognewtempl {
        template_id: Int32Type
        authorized_creator: NameType
        collection_name: NameType
        schema_name: NameType
        transferable: boolean
        burnable: boolean
        max_supply: UInt32Type
        immutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
    }
    export interface logrampayer {
        asset_owner: NameType
        asset_id: UInt64Type
        old_ram_payer: NameType
        new_ram_payer: NameType
    }
    export interface logsetdata {
        asset_owner: NameType
        asset_id: UInt64Type
        old_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
        new_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
    }
    export interface logsetdatatl {
        collection_name: NameType
        schema_name: NameType
        template_id: Int32Type
        old_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
        new_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
    }
    export interface logtransfer {
        collection_name: NameType
        from: NameType
        to: NameType
        asset_ids: UInt64Type[]
        memo: string
    }
    export interface mintasset {
        authorized_minter: NameType
        collection_name: NameType
        schema_name: NameType
        template_id: Int32Type
        new_asset_owner: NameType
        immutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
        mutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
        tokens_to_back: AssetType[]
    }
    export interface payofferram {
        payer: NameType
        offer_id: UInt64Type
    }
    export interface redtemplmax {
        authorized_editor: NameType
        collection_name: NameType
        template_id: Int32Type
        new_max_supply: UInt32Type
    }
    export interface rejectauswap {
        collection_name: NameType
    }
    export interface remcolauth {
        collection_name: NameType
        account_to_remove: NameType
    }
    export interface remnotifyacc {
        collection_name: NameType
        account_to_remove: NameType
    }
    export interface setassetdata {
        authorized_editor: NameType
        asset_owner: NameType
        asset_id: UInt64Type
        new_mutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
    }
    export interface setcoldata {
        collection_name: NameType
        data: Type.pair_string_ATOMIC_ATTRIBUTE[]
    }
    export interface setlastpayer {
        owner: NameType
        collection_name: NameType
    }
    export interface setmarketfee {
        collection_name: NameType
        market_fee: Float64Type
    }
    export interface setrampayer {
        new_payer: NameType
        asset_id: UInt64Type
    }
    export interface setschematyp {
        authorized_editor: NameType
        collection_name: NameType
        schema_name: NameType
        schema_format_type: Type.FORMAT_TYPE[]
    }
    export interface settempldata {
        authorized_editor: NameType
        collection_name: NameType
        template_id: Int32Type
        new_mutable_data: Type.pair_string_ATOMIC_ATTRIBUTE[]
    }
    export interface setversion {
        new_version: string
    }
    export interface transfer {
        from: NameType
        to: NameType
        asset_ids: UInt64Type[]
        memo: string
    }
    export interface withdraw {
        owner: NameType
        token_to_withdraw: AssetType
    }
}
export namespace Types {
    @Variant.type(
        'variant_int8_int16_int32_int64_uint8_uint16_uint32_uint64_float32_float64_string_INT8_VEC_INT16_VEC_INT32_VEC_INT64_VEC_UINT8_VEC_UINT16_VEC_UINT32_VEC_UINT64_VEC_FLOAT_VEC_DOUBLE_VEC_STRING_VEC',
        [
            Int8,
            Int16,
            Int32,
            Int64,
            UInt8,
            UInt16,
            UInt32,
            UInt64,
            Float32,
            Float64,
            'string',
            Bytes,
            {type: Int16, array: true},
            {type: Int32, array: true},
            {type: Int64, array: true},
            {type: UInt8, array: true},
            {type: UInt16, array: true},
            {type: UInt32, array: true},
            {type: UInt64, array: true},
            {type: Float32, array: true},
            {type: Float64, array: true},
            'string[]',
        ]
    )
    export class variant_int8_int16_int32_int64_uint8_uint16_uint32_uint64_float32_float64_string_INT8_VEC_INT16_VEC_INT32_VEC_INT64_VEC_UINT8_VEC_UINT16_VEC_UINT32_VEC_UINT64_VEC_FLOAT_VEC_DOUBLE_VEC_STRING_VEC extends Variant {
        declare value:
            | Int8
            | Int16
            | Int32
            | Int64
            | UInt8
            | UInt16
            | UInt32
            | UInt64
            | Float32
            | Float64
            | string
            | Bytes
            | Int16[]
            | Int32[]
            | Int64[]
            | UInt8[]
            | UInt16[]
            | UInt32[]
            | UInt64[]
            | Float32[]
            | Float64[]
            | string[]
    }
    @Struct.type('FORMAT')
    export class FORMAT extends Struct {
        @Struct.field('string')
        name!: string
        @Struct.field('string')
        type!: string
    }
    @Struct.type('FORMAT_TYPE')
    export class FORMAT_TYPE extends Struct {
        @Struct.field('string')
        name!: string
        @Struct.field('string')
        mediatype!: string
        @Struct.field('string')
        info!: string
    }
    @Struct.type('acceptauswap')
    export class acceptauswap extends Struct {
        @Struct.field(Name)
        collection_name!: Name
    }
    @Struct.type('acceptoffer')
    export class acceptoffer extends Struct {
        @Struct.field(UInt64)
        offer_id!: UInt64
    }
    @Struct.type('addcolauth')
    export class addcolauth extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        account_to_add!: Name
    }
    @Struct.type('addconftoken')
    export class addconftoken extends Struct {
        @Struct.field(Name)
        token_contract!: Name
        @Struct.field(Asset.Symbol)
        token_symbol!: Asset.Symbol
    }
    @Struct.type('addnotifyacc')
    export class addnotifyacc extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        account_to_add!: Name
    }
    @Struct.type('admincoledit')
    export class admincoledit extends Struct {
        @Struct.field(FORMAT, {array: true})
        collection_format_extension!: FORMAT[]
    }
    @Struct.type('announcedepo')
    export class announcedepo extends Struct {
        @Struct.field(Name)
        owner!: Name
        @Struct.field(Asset.Symbol)
        symbol_to_announce!: Asset.Symbol
    }
    @Struct.type('assets_s')
    export class assets_s extends Struct {
        @Struct.field(UInt64)
        asset_id!: UInt64
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(Int32)
        template_id!: Int32
        @Struct.field(Name)
        ram_payer!: Name
        @Struct.field(Asset, {array: true})
        backed_tokens!: Asset[]
        @Struct.field(UInt8, {array: true})
        immutable_serialized_data!: UInt8[]
        @Struct.field(UInt8, {array: true})
        mutable_serialized_data!: UInt8[]
    }
    @Struct.type('author_swaps_s')
    export class author_swaps_s extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        current_author!: Name
        @Struct.field(Name)
        new_author!: Name
        @Struct.field(UInt32)
        acceptance_date!: UInt32
    }
    @Struct.type('backasset')
    export class backasset extends Struct {
        @Struct.field(Name)
        payer!: Name
        @Struct.field(Name)
        asset_owner!: Name
        @Struct.field(UInt64)
        asset_id!: UInt64
        @Struct.field(Asset)
        token_to_back!: Asset
    }
    @Struct.type('balances_s')
    export class balances_s extends Struct {
        @Struct.field(Name)
        owner!: Name
        @Struct.field(Asset, {array: true})
        quantities!: Asset[]
    }
    @Struct.type('burnasset')
    export class burnasset extends Struct {
        @Struct.field(Name)
        asset_owner!: Name
        @Struct.field(UInt64)
        asset_id!: UInt64
    }
    @Struct.type('canceloffer')
    export class canceloffer extends Struct {
        @Struct.field(UInt64)
        offer_id!: UInt64
    }
    @Struct.type('collections_s')
    export class collections_s extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        author!: Name
        @Struct.field('bool')
        allow_notify!: boolean
        @Struct.field(Name, {array: true})
        authorized_accounts!: Name[]
        @Struct.field(Name, {array: true})
        notify_accounts!: Name[]
        @Struct.field(Float64)
        market_fee!: Float64
        @Struct.field(UInt8, {array: true})
        serialized_data!: UInt8[]
    }
    @Struct.type('extended_symbol')
    export class extended_symbol extends Struct {
        @Struct.field(Asset.Symbol)
        sym!: Asset.Symbol
        @Struct.field(Name)
        contract!: Name
    }
    @Struct.type('config_s')
    export class config_s extends Struct {
        @Struct.field(UInt64)
        asset_counter!: UInt64
        @Struct.field(Int32)
        template_counter!: Int32
        @Struct.field(UInt64)
        offer_counter!: UInt64
        @Struct.field(FORMAT, {array: true})
        collection_format!: FORMAT[]
        @Struct.field(extended_symbol, {array: true})
        supported_tokens!: extended_symbol[]
    }
    @Struct.type('createauswap')
    export class createauswap extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        new_author!: Name
        @Struct.field('bool')
        owner!: boolean
    }
    @Struct.type('pair_string_ATOMIC_ATTRIBUTE')
    export class pair_string_ATOMIC_ATTRIBUTE extends Struct {
        @Struct.field('string')
        key!: string
        @Struct.field(
            variant_int8_int16_int32_int64_uint8_uint16_uint32_uint64_float32_float64_string_INT8_VEC_INT16_VEC_INT32_VEC_INT64_VEC_UINT8_VEC_UINT16_VEC_UINT32_VEC_UINT64_VEC_FLOAT_VEC_DOUBLE_VEC_STRING_VEC
        )
        value!: variant_int8_int16_int32_int64_uint8_uint16_uint32_uint64_float32_float64_string_INT8_VEC_INT16_VEC_INT32_VEC_INT64_VEC_UINT8_VEC_UINT16_VEC_UINT32_VEC_UINT64_VEC_FLOAT_VEC_DOUBLE_VEC_STRING_VEC
    }
    @Struct.type('createcol')
    export class createcol extends Struct {
        @Struct.field(Name)
        author!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field('bool')
        allow_notify!: boolean
        @Struct.field(Name, {array: true})
        authorized_accounts!: Name[]
        @Struct.field(Name, {array: true})
        notify_accounts!: Name[]
        @Struct.field(Float64)
        market_fee!: Float64
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        data!: pair_string_ATOMIC_ATTRIBUTE[]
    }
    @Struct.type('createoffer')
    export class createoffer extends Struct {
        @Struct.field(Name)
        sender!: Name
        @Struct.field(Name)
        recipient!: Name
        @Struct.field(UInt64, {array: true})
        sender_asset_ids!: UInt64[]
        @Struct.field(UInt64, {array: true})
        recipient_asset_ids!: UInt64[]
        @Struct.field('string')
        memo!: string
    }
    @Struct.type('createschema')
    export class createschema extends Struct {
        @Struct.field(Name)
        authorized_creator!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(FORMAT, {array: true})
        schema_format!: FORMAT[]
    }
    @Struct.type('createtempl')
    export class createtempl extends Struct {
        @Struct.field(Name)
        authorized_creator!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field('bool')
        transferable!: boolean
        @Struct.field('bool')
        burnable!: boolean
        @Struct.field(UInt32)
        max_supply!: UInt32
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        immutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
    }
    @Struct.type('createtempl2')
    export class createtempl2 extends Struct {
        @Struct.field(Name)
        authorized_creator!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field('bool')
        transferable!: boolean
        @Struct.field('bool')
        burnable!: boolean
        @Struct.field(UInt32)
        max_supply!: UInt32
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        immutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        mutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
    }
    @Struct.type('declineoffer')
    export class declineoffer extends Struct {
        @Struct.field(UInt64)
        offer_id!: UInt64
    }
    @Struct.type('deltemplate')
    export class deltemplate extends Struct {
        @Struct.field(Name)
        authorized_editor!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Int32)
        template_id!: Int32
    }
    @Struct.type('extendschema')
    export class extendschema extends Struct {
        @Struct.field(Name)
        authorized_editor!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(FORMAT, {array: true})
        schema_format_extension!: FORMAT[]
    }
    @Struct.type('forbidnotify')
    export class forbidnotify extends Struct {
        @Struct.field(Name)
        collection_name!: Name
    }
    @Struct.type('init')
    export class init extends Struct {}
    @Struct.type('locktemplate')
    export class locktemplate extends Struct {
        @Struct.field(Name)
        authorized_editor!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Int32)
        template_id!: Int32
    }
    @Struct.type('logbackasset')
    export class logbackasset extends Struct {
        @Struct.field(Name)
        asset_owner!: Name
        @Struct.field(UInt64)
        asset_id!: UInt64
        @Struct.field(Asset)
        backed_token!: Asset
    }
    @Struct.type('logburnasset')
    export class logburnasset extends Struct {
        @Struct.field(Name)
        asset_owner!: Name
        @Struct.field(UInt64)
        asset_id!: UInt64
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(Int32)
        template_id!: Int32
        @Struct.field(Asset, {array: true})
        backed_tokens!: Asset[]
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        old_immutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        old_mutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
        @Struct.field(Name)
        asset_ram_payer!: Name
    }
    @Struct.type('logmint')
    export class logmint extends Struct {
        @Struct.field(UInt64)
        asset_id!: UInt64
        @Struct.field(Name)
        authorized_minter!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(Int32)
        template_id!: Int32
        @Struct.field(Name)
        new_asset_owner!: Name
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        immutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        mutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
        @Struct.field(Asset, {array: true})
        backed_tokens!: Asset[]
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        immutable_template_data!: pair_string_ATOMIC_ATTRIBUTE[]
    }
    @Struct.type('lognewoffer')
    export class lognewoffer extends Struct {
        @Struct.field(UInt64)
        offer_id!: UInt64
        @Struct.field(Name)
        sender!: Name
        @Struct.field(Name)
        recipient!: Name
        @Struct.field(UInt64, {array: true})
        sender_asset_ids!: UInt64[]
        @Struct.field(UInt64, {array: true})
        recipient_asset_ids!: UInt64[]
        @Struct.field('string')
        memo!: string
    }
    @Struct.type('lognewtempl')
    export class lognewtempl extends Struct {
        @Struct.field(Int32)
        template_id!: Int32
        @Struct.field(Name)
        authorized_creator!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field('bool')
        transferable!: boolean
        @Struct.field('bool')
        burnable!: boolean
        @Struct.field(UInt32)
        max_supply!: UInt32
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        immutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
    }
    @Struct.type('logrampayer')
    export class logrampayer extends Struct {
        @Struct.field(Name)
        asset_owner!: Name
        @Struct.field(UInt64)
        asset_id!: UInt64
        @Struct.field(Name)
        old_ram_payer!: Name
        @Struct.field(Name)
        new_ram_payer!: Name
    }
    @Struct.type('logsetdata')
    export class logsetdata extends Struct {
        @Struct.field(Name)
        asset_owner!: Name
        @Struct.field(UInt64)
        asset_id!: UInt64
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        old_data!: pair_string_ATOMIC_ATTRIBUTE[]
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        new_data!: pair_string_ATOMIC_ATTRIBUTE[]
    }
    @Struct.type('logsetdatatl')
    export class logsetdatatl extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(Int32)
        template_id!: Int32
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        old_data!: pair_string_ATOMIC_ATTRIBUTE[]
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        new_data!: pair_string_ATOMIC_ATTRIBUTE[]
    }
    @Struct.type('logtransfer')
    export class logtransfer extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        from!: Name
        @Struct.field(Name)
        to!: Name
        @Struct.field(UInt64, {array: true})
        asset_ids!: UInt64[]
        @Struct.field('string')
        memo!: string
    }
    @Struct.type('mintasset')
    export class mintasset extends Struct {
        @Struct.field(Name)
        authorized_minter!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(Int32)
        template_id!: Int32
        @Struct.field(Name)
        new_asset_owner!: Name
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        immutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        mutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
        @Struct.field(Asset, {array: true})
        tokens_to_back!: Asset[]
    }
    @Struct.type('offers_s')
    export class offers_s extends Struct {
        @Struct.field(UInt64)
        offer_id!: UInt64
        @Struct.field(Name)
        sender!: Name
        @Struct.field(Name)
        recipient!: Name
        @Struct.field(UInt64, {array: true})
        sender_asset_ids!: UInt64[]
        @Struct.field(UInt64, {array: true})
        recipient_asset_ids!: UInt64[]
        @Struct.field('string')
        memo!: string
        @Struct.field(Name)
        ram_payer!: Name
    }
    @Struct.type('payofferram')
    export class payofferram extends Struct {
        @Struct.field(Name)
        payer!: Name
        @Struct.field(UInt64)
        offer_id!: UInt64
    }
    @Struct.type('redtemplmax')
    export class redtemplmax extends Struct {
        @Struct.field(Name)
        authorized_editor!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Int32)
        template_id!: Int32
        @Struct.field(UInt32)
        new_max_supply!: UInt32
    }
    @Struct.type('rejectauswap')
    export class rejectauswap extends Struct {
        @Struct.field(Name)
        collection_name!: Name
    }
    @Struct.type('remcolauth')
    export class remcolauth extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        account_to_remove!: Name
    }
    @Struct.type('remnotifyacc')
    export class remnotifyacc extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        account_to_remove!: Name
    }
    @Struct.type('schema_types_s')
    export class schema_types_s extends Struct {
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(FORMAT_TYPE, {array: true})
        format_type!: FORMAT_TYPE[]
    }
    @Struct.type('schemas_s')
    export class schemas_s extends Struct {
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(FORMAT, {array: true})
        format!: FORMAT[]
    }
    @Struct.type('setassetdata')
    export class setassetdata extends Struct {
        @Struct.field(Name)
        authorized_editor!: Name
        @Struct.field(Name)
        asset_owner!: Name
        @Struct.field(UInt64)
        asset_id!: UInt64
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        new_mutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
    }
    @Struct.type('setcoldata')
    export class setcoldata extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        data!: pair_string_ATOMIC_ATTRIBUTE[]
    }
    @Struct.type('setlastpayer')
    export class setlastpayer extends Struct {
        @Struct.field(Name)
        owner!: Name
        @Struct.field(Name)
        collection_name!: Name
    }
    @Struct.type('setmarketfee')
    export class setmarketfee extends Struct {
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Float64)
        market_fee!: Float64
    }
    @Struct.type('setrampayer')
    export class setrampayer extends Struct {
        @Struct.field(Name)
        new_payer!: Name
        @Struct.field(UInt64)
        asset_id!: UInt64
    }
    @Struct.type('setschematyp')
    export class setschematyp extends Struct {
        @Struct.field(Name)
        authorized_editor!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(FORMAT_TYPE, {array: true})
        schema_format_type!: FORMAT_TYPE[]
    }
    @Struct.type('settempldata')
    export class settempldata extends Struct {
        @Struct.field(Name)
        authorized_editor!: Name
        @Struct.field(Name)
        collection_name!: Name
        @Struct.field(Int32)
        template_id!: Int32
        @Struct.field(pair_string_ATOMIC_ATTRIBUTE, {array: true})
        new_mutable_data!: pair_string_ATOMIC_ATTRIBUTE[]
    }
    @Struct.type('setversion')
    export class setversion extends Struct {
        @Struct.field('string')
        new_version!: string
    }
    @Struct.type('template_mutables_s')
    export class template_mutables_s extends Struct {
        @Struct.field(Int32)
        template_id!: Int32
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field(UInt8, {array: true})
        mutable_serialized_data!: UInt8[]
    }
    @Struct.type('templates_s')
    export class templates_s extends Struct {
        @Struct.field(Int32)
        template_id!: Int32
        @Struct.field(Name)
        schema_name!: Name
        @Struct.field('bool')
        transferable!: boolean
        @Struct.field('bool')
        burnable!: boolean
        @Struct.field(UInt32)
        max_supply!: UInt32
        @Struct.field(UInt32)
        issued_supply!: UInt32
        @Struct.field(UInt8, {array: true})
        immutable_serialized_data!: UInt8[]
    }
    @Struct.type('tokenconfigs_s')
    export class tokenconfigs_s extends Struct {
        @Struct.field(Name)
        standard!: Name
        @Struct.field('string')
        version!: string
    }
    @Struct.type('transfer')
    export class transfer extends Struct {
        @Struct.field(Name)
        from!: Name
        @Struct.field(Name)
        to!: Name
        @Struct.field(UInt64, {array: true})
        asset_ids!: UInt64[]
        @Struct.field('string')
        memo!: string
    }
    @Struct.type('withdraw')
    export class withdraw extends Struct {
        @Struct.field(Name)
        owner!: Name
        @Struct.field(Asset)
        token_to_withdraw!: Asset
    }
}
export const TableMap = {
    assets: Types.assets_s,
    authorswaps: Types.author_swaps_s,
    balances: Types.balances_s,
    collections: Types.collections_s,
    config: Types.config_s,
    offers: Types.offers_s,
    schemas: Types.schemas_s,
    schematypes: Types.schema_types_s,
    templates: Types.templates_s,
    templates2: Types.template_mutables_s,
    tokenconfigs: Types.tokenconfigs_s,
}
export interface TableTypes {
    assets: Types.assets_s
    authorswaps: Types.author_swaps_s
    balances: Types.balances_s
    collections: Types.collections_s
    config: Types.config_s
    offers: Types.offers_s
    schemas: Types.schemas_s
    schematypes: Types.schema_types_s
    templates: Types.templates_s
    templates2: Types.template_mutables_s
    tokenconfigs: Types.tokenconfigs_s
}
export type RowType<T> = T extends keyof TableTypes ? TableTypes[T] : any
export type ActionNames = keyof ActionNameParams
export type TableNames = keyof TableTypes