|
41 | 41 | - [MsgIBCSend](#cosmwasm.wasm.v1.MsgIBCSend)
|
42 | 42 | - [MsgIBCSendResponse](#cosmwasm.wasm.v1.MsgIBCSendResponse)
|
43 | 43 |
|
44 |
| -- [cosmwasm/wasm/v1/proposal.proto](#cosmwasm/wasm/v1/proposal.proto) |
45 |
| - - [AccessConfigUpdate](#cosmwasm.wasm.v1.AccessConfigUpdate) |
46 |
| - - [ClearAdminProposal](#cosmwasm.wasm.v1.ClearAdminProposal) |
47 |
| - - [ExecuteContractProposal](#cosmwasm.wasm.v1.ExecuteContractProposal) |
48 |
| - - [InstantiateContract2Proposal](#cosmwasm.wasm.v1.InstantiateContract2Proposal) |
49 |
| - - [InstantiateContractProposal](#cosmwasm.wasm.v1.InstantiateContractProposal) |
50 |
| - - [MigrateContractProposal](#cosmwasm.wasm.v1.MigrateContractProposal) |
51 |
| - - [PinCodesProposal](#cosmwasm.wasm.v1.PinCodesProposal) |
52 |
| - - [StoreAndInstantiateContractProposal](#cosmwasm.wasm.v1.StoreAndInstantiateContractProposal) |
53 |
| - - [StoreCodeProposal](#cosmwasm.wasm.v1.StoreCodeProposal) |
54 |
| - - [SudoContractProposal](#cosmwasm.wasm.v1.SudoContractProposal) |
55 |
| - - [UnpinCodesProposal](#cosmwasm.wasm.v1.UnpinCodesProposal) |
56 |
| - - [UpdateAdminProposal](#cosmwasm.wasm.v1.UpdateAdminProposal) |
57 |
| - - [UpdateInstantiateConfigProposal](#cosmwasm.wasm.v1.UpdateInstantiateConfigProposal) |
58 |
| - |
59 | 44 | - [cosmwasm/wasm/v1/query.proto](#cosmwasm/wasm/v1/query.proto)
|
60 | 45 | - [CodeInfoResponse](#cosmwasm.wasm.v1.CodeInfoResponse)
|
61 | 46 | - [QueryAllContractStateRequest](#cosmwasm.wasm.v1.QueryAllContractStateRequest)
|
|
84 | 69 | - [Query](#cosmwasm.wasm.v1.Query)
|
85 | 70 |
|
86 | 71 | - [cosmwasm/wasm/v1/tx.proto](#cosmwasm/wasm/v1/tx.proto)
|
| 72 | + - [AccessConfigUpdate](#cosmwasm.wasm.v1.AccessConfigUpdate) |
87 | 73 | - [MsgAddCodeUploadParamsAddresses](#cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses)
|
88 | 74 | - [MsgAddCodeUploadParamsAddressesResponse](#cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddressesResponse)
|
89 | 75 | - [MsgClearAdmin](#cosmwasm.wasm.v1.MsgClearAdmin)
|
@@ -639,316 +625,6 @@ MsgIBCSendResponse
|
639 | 625 |
|
640 | 626 |
|
641 | 627 |
|
642 |
| - <!-- end messages --> |
643 |
| - |
644 |
| - <!-- end enums --> |
645 |
| - |
646 |
| - <!-- end HasExtensions --> |
647 |
| - |
648 |
| - <!-- end services --> |
649 |
| - |
650 |
| - |
651 |
| - |
652 |
| -<a name="cosmwasm/wasm/v1/proposal.proto"></a> |
653 |
| -<p align="right"><a href="#top">Top</a></p> |
654 |
| - |
655 |
| -## cosmwasm/wasm/v1/proposal.proto |
656 |
| - |
657 |
| - |
658 |
| - |
659 |
| -<a name="cosmwasm.wasm.v1.AccessConfigUpdate"></a> |
660 |
| - |
661 |
| -### AccessConfigUpdate |
662 |
| -AccessConfigUpdate contains the code id and the access config to be |
663 |
| -applied. |
664 |
| - |
665 |
| - |
666 |
| -| Field | Type | Label | Description | |
667 |
| -| ----- | ---- | ----- | ----------- | |
668 |
| -| `code_id` | [uint64](#uint64) | | CodeID is the reference to the stored WASM code to be updated | |
669 |
| -| `instantiate_permission` | [AccessConfig](#cosmwasm.wasm.v1.AccessConfig) | | InstantiatePermission to apply to the set of code ids | |
670 |
| - |
671 |
| - |
672 |
| - |
673 |
| - |
674 |
| - |
675 |
| - |
676 |
| -<a name="cosmwasm.wasm.v1.ClearAdminProposal"></a> |
677 |
| - |
678 |
| -### ClearAdminProposal |
679 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
680 |
| -an explicit ClearAdminProposal. To clear the admin of a contract, |
681 |
| -a simple MsgClearAdmin can be invoked from the x/gov module via |
682 |
| -a v1 governance proposal. |
683 |
| - |
684 |
| - |
685 |
| -| Field | Type | Label | Description | |
686 |
| -| ----- | ---- | ----- | ----------- | |
687 |
| -| `title` | [string](#string) | | Title is a short summary | |
688 |
| -| `description` | [string](#string) | | Description is a human readable text | |
689 |
| -| `contract` | [string](#string) | | Contract is the address of the smart contract | |
690 |
| - |
691 |
| - |
692 |
| - |
693 |
| - |
694 |
| - |
695 |
| - |
696 |
| -<a name="cosmwasm.wasm.v1.ExecuteContractProposal"></a> |
697 |
| - |
698 |
| -### ExecuteContractProposal |
699 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
700 |
| -an explicit ExecuteContractProposal. To call execute on a contract, |
701 |
| -a simple MsgExecuteContract can be invoked from the x/gov module via |
702 |
| -a v1 governance proposal. |
703 |
| - |
704 |
| - |
705 |
| -| Field | Type | Label | Description | |
706 |
| -| ----- | ---- | ----- | ----------- | |
707 |
| -| `title` | [string](#string) | | Title is a short summary | |
708 |
| -| `description` | [string](#string) | | Description is a human readable text | |
709 |
| -| `run_as` | [string](#string) | | RunAs is the address that is passed to the contract's environment as sender | |
710 |
| -| `contract` | [string](#string) | | Contract is the address of the smart contract | |
711 |
| -| `msg` | [bytes](#bytes) | | Msg json encoded message to be passed to the contract as execute | |
712 |
| -| `funds` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | Funds coins that are transferred to the contract on instantiation | |
713 |
| - |
714 |
| - |
715 |
| - |
716 |
| - |
717 |
| - |
718 |
| - |
719 |
| -<a name="cosmwasm.wasm.v1.InstantiateContract2Proposal"></a> |
720 |
| - |
721 |
| -### InstantiateContract2Proposal |
722 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
723 |
| -an explicit InstantiateContract2Proposal. To instantiate contract 2, |
724 |
| -a simple MsgInstantiateContract2 can be invoked from the x/gov module via |
725 |
| -a v1 governance proposal. |
726 |
| - |
727 |
| - |
728 |
| -| Field | Type | Label | Description | |
729 |
| -| ----- | ---- | ----- | ----------- | |
730 |
| -| `title` | [string](#string) | | Title is a short summary | |
731 |
| -| `description` | [string](#string) | | Description is a human readable text | |
732 |
| -| `run_as` | [string](#string) | | RunAs is the address that is passed to the contract's enviroment as sender | |
733 |
| -| `admin` | [string](#string) | | Admin is an optional address that can execute migrations | |
734 |
| -| `code_id` | [uint64](#uint64) | | CodeID is the reference to the stored WASM code | |
735 |
| -| `label` | [string](#string) | | Label is optional metadata to be stored with a constract instance. | |
736 |
| -| `msg` | [bytes](#bytes) | | Msg json encode message to be passed to the contract on instantiation | |
737 |
| -| `funds` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | Funds coins that are transferred to the contract on instantiation | |
738 |
| -| `salt` | [bytes](#bytes) | | Salt is an arbitrary value provided by the sender. Size can be 1 to 64. | |
739 |
| -| `fix_msg` | [bool](#bool) | | FixMsg include the msg value into the hash for the predictable address. Default is false | |
740 |
| - |
741 |
| - |
742 |
| - |
743 |
| - |
744 |
| - |
745 |
| - |
746 |
| -<a name="cosmwasm.wasm.v1.InstantiateContractProposal"></a> |
747 |
| - |
748 |
| -### InstantiateContractProposal |
749 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
750 |
| -an explicit InstantiateContractProposal. To instantiate a contract, |
751 |
| -a simple MsgInstantiateContract can be invoked from the x/gov module via |
752 |
| -a v1 governance proposal. |
753 |
| - |
754 |
| - |
755 |
| -| Field | Type | Label | Description | |
756 |
| -| ----- | ---- | ----- | ----------- | |
757 |
| -| `title` | [string](#string) | | Title is a short summary | |
758 |
| -| `description` | [string](#string) | | Description is a human readable text | |
759 |
| -| `run_as` | [string](#string) | | RunAs is the address that is passed to the contract's environment as sender | |
760 |
| -| `admin` | [string](#string) | | Admin is an optional address that can execute migrations | |
761 |
| -| `code_id` | [uint64](#uint64) | | CodeID is the reference to the stored WASM code | |
762 |
| -| `label` | [string](#string) | | Label is optional metadata to be stored with a constract instance. | |
763 |
| -| `msg` | [bytes](#bytes) | | Msg json encoded message to be passed to the contract on instantiation | |
764 |
| -| `funds` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | Funds coins that are transferred to the contract on instantiation | |
765 |
| - |
766 |
| - |
767 |
| - |
768 |
| - |
769 |
| - |
770 |
| - |
771 |
| -<a name="cosmwasm.wasm.v1.MigrateContractProposal"></a> |
772 |
| - |
773 |
| -### MigrateContractProposal |
774 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
775 |
| -an explicit MigrateContractProposal. To migrate a contract, |
776 |
| -a simple MsgMigrateContract can be invoked from the x/gov module via |
777 |
| -a v1 governance proposal. |
778 |
| - |
779 |
| - |
780 |
| -| Field | Type | Label | Description | |
781 |
| -| ----- | ---- | ----- | ----------- | |
782 |
| -| `title` | [string](#string) | | Title is a short summary | |
783 |
| -| `description` | [string](#string) | | Description is a human readable text |
784 |
| - |
785 |
| -Note: skipping 3 as this was previously used for unneeded run_as | |
786 |
| -| `contract` | [string](#string) | | Contract is the address of the smart contract | |
787 |
| -| `code_id` | [uint64](#uint64) | | CodeID references the new WASM code | |
788 |
| -| `msg` | [bytes](#bytes) | | Msg json encoded message to be passed to the contract on migration | |
789 |
| - |
790 |
| - |
791 |
| - |
792 |
| - |
793 |
| - |
794 |
| - |
795 |
| -<a name="cosmwasm.wasm.v1.PinCodesProposal"></a> |
796 |
| - |
797 |
| -### PinCodesProposal |
798 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
799 |
| -an explicit PinCodesProposal. To pin a set of code ids in the wasmvm |
800 |
| -cache, a simple MsgPinCodes can be invoked from the x/gov module via |
801 |
| -a v1 governance proposal. |
802 |
| - |
803 |
| - |
804 |
| -| Field | Type | Label | Description | |
805 |
| -| ----- | ---- | ----- | ----------- | |
806 |
| -| `title` | [string](#string) | | Title is a short summary | |
807 |
| -| `description` | [string](#string) | | Description is a human readable text | |
808 |
| -| `code_ids` | [uint64](#uint64) | repeated | CodeIDs references the new WASM codes | |
809 |
| - |
810 |
| - |
811 |
| - |
812 |
| - |
813 |
| - |
814 |
| - |
815 |
| -<a name="cosmwasm.wasm.v1.StoreAndInstantiateContractProposal"></a> |
816 |
| - |
817 |
| -### StoreAndInstantiateContractProposal |
818 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
819 |
| -an explicit StoreAndInstantiateContractProposal. To store and instantiate |
820 |
| -the contract, a simple MsgStoreAndInstantiateContract can be invoked from |
821 |
| -the x/gov module via a v1 governance proposal. |
822 |
| - |
823 |
| - |
824 |
| -| Field | Type | Label | Description | |
825 |
| -| ----- | ---- | ----- | ----------- | |
826 |
| -| `title` | [string](#string) | | Title is a short summary | |
827 |
| -| `description` | [string](#string) | | Description is a human readable text | |
828 |
| -| `run_as` | [string](#string) | | RunAs is the address that is passed to the contract's environment as sender | |
829 |
| -| `wasm_byte_code` | [bytes](#bytes) | | WASMByteCode can be raw or gzip compressed | |
830 |
| -| `instantiate_permission` | [AccessConfig](#cosmwasm.wasm.v1.AccessConfig) | | InstantiatePermission to apply on contract creation, optional | |
831 |
| -| `unpin_code` | [bool](#bool) | | UnpinCode code on upload, optional | |
832 |
| -| `admin` | [string](#string) | | Admin is an optional address that can execute migrations | |
833 |
| -| `label` | [string](#string) | | Label is optional metadata to be stored with a constract instance. | |
834 |
| -| `msg` | [bytes](#bytes) | | Msg json encoded message to be passed to the contract on instantiation | |
835 |
| -| `funds` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | Funds coins that are transferred to the contract on instantiation | |
836 |
| -| `source` | [string](#string) | | Source is the URL where the code is hosted | |
837 |
| -| `builder` | [string](#string) | | Builder is the docker image used to build the code deterministically, used for smart contract verification | |
838 |
| -| `code_hash` | [bytes](#bytes) | | CodeHash is the SHA256 sum of the code outputted by builder, used for smart contract verification | |
839 |
| - |
840 |
| - |
841 |
| - |
842 |
| - |
843 |
| - |
844 |
| - |
845 |
| -<a name="cosmwasm.wasm.v1.StoreCodeProposal"></a> |
846 |
| - |
847 |
| -### StoreCodeProposal |
848 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
849 |
| -an explicit StoreCodeProposal. To submit WASM code to the system, |
850 |
| -a simple MsgStoreCode can be invoked from the x/gov module via |
851 |
| -a v1 governance proposal. |
852 |
| - |
853 |
| - |
854 |
| -| Field | Type | Label | Description | |
855 |
| -| ----- | ---- | ----- | ----------- | |
856 |
| -| `title` | [string](#string) | | Title is a short summary | |
857 |
| -| `description` | [string](#string) | | Description is a human readable text | |
858 |
| -| `run_as` | [string](#string) | | RunAs is the address that is passed to the contract's environment as sender | |
859 |
| -| `wasm_byte_code` | [bytes](#bytes) | | WASMByteCode can be raw or gzip compressed | |
860 |
| -| `instantiate_permission` | [AccessConfig](#cosmwasm.wasm.v1.AccessConfig) | | InstantiatePermission to apply on contract creation, optional | |
861 |
| -| `unpin_code` | [bool](#bool) | | UnpinCode code on upload, optional | |
862 |
| -| `source` | [string](#string) | | Source is the URL where the code is hosted | |
863 |
| -| `builder` | [string](#string) | | Builder is the docker image used to build the code deterministically, used for smart contract verification | |
864 |
| -| `code_hash` | [bytes](#bytes) | | CodeHash is the SHA256 sum of the code outputted by builder, used for smart contract verification | |
865 |
| - |
866 |
| - |
867 |
| - |
868 |
| - |
869 |
| - |
870 |
| - |
871 |
| -<a name="cosmwasm.wasm.v1.SudoContractProposal"></a> |
872 |
| - |
873 |
| -### SudoContractProposal |
874 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
875 |
| -an explicit SudoContractProposal. To call sudo on a contract, |
876 |
| -a simple MsgSudoContract can be invoked from the x/gov module via |
877 |
| -a v1 governance proposal. |
878 |
| - |
879 |
| - |
880 |
| -| Field | Type | Label | Description | |
881 |
| -| ----- | ---- | ----- | ----------- | |
882 |
| -| `title` | [string](#string) | | Title is a short summary | |
883 |
| -| `description` | [string](#string) | | Description is a human readable text | |
884 |
| -| `contract` | [string](#string) | | Contract is the address of the smart contract | |
885 |
| -| `msg` | [bytes](#bytes) | | Msg json encoded message to be passed to the contract as sudo | |
886 |
| - |
887 |
| - |
888 |
| - |
889 |
| - |
890 |
| - |
891 |
| - |
892 |
| -<a name="cosmwasm.wasm.v1.UnpinCodesProposal"></a> |
893 |
| - |
894 |
| -### UnpinCodesProposal |
895 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
896 |
| -an explicit UnpinCodesProposal. To unpin a set of code ids in the wasmvm |
897 |
| -cache, a simple MsgUnpinCodes can be invoked from the x/gov module via |
898 |
| -a v1 governance proposal. |
899 |
| - |
900 |
| - |
901 |
| -| Field | Type | Label | Description | |
902 |
| -| ----- | ---- | ----- | ----------- | |
903 |
| -| `title` | [string](#string) | | Title is a short summary | |
904 |
| -| `description` | [string](#string) | | Description is a human readable text | |
905 |
| -| `code_ids` | [uint64](#uint64) | repeated | CodeIDs references the WASM codes | |
906 |
| - |
907 |
| - |
908 |
| - |
909 |
| - |
910 |
| - |
911 |
| - |
912 |
| -<a name="cosmwasm.wasm.v1.UpdateAdminProposal"></a> |
913 |
| - |
914 |
| -### UpdateAdminProposal |
915 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
916 |
| -an explicit UpdateAdminProposal. To set an admin for a contract, |
917 |
| -a simple MsgUpdateAdmin can be invoked from the x/gov module via |
918 |
| -a v1 governance proposal. |
919 |
| - |
920 |
| - |
921 |
| -| Field | Type | Label | Description | |
922 |
| -| ----- | ---- | ----- | ----------- | |
923 |
| -| `title` | [string](#string) | | Title is a short summary | |
924 |
| -| `description` | [string](#string) | | Description is a human readable text | |
925 |
| -| `new_admin` | [string](#string) | | NewAdmin address to be set | |
926 |
| -| `contract` | [string](#string) | | Contract is the address of the smart contract | |
927 |
| - |
928 |
| - |
929 |
| - |
930 |
| - |
931 |
| - |
932 |
| - |
933 |
| -<a name="cosmwasm.wasm.v1.UpdateInstantiateConfigProposal"></a> |
934 |
| - |
935 |
| -### UpdateInstantiateConfigProposal |
936 |
| -Deprecated: Do not use. Since wasmd v0.40, there is no longer a need for |
937 |
| -an explicit UpdateInstantiateConfigProposal. To update instantiate config |
938 |
| -to a set of code ids, a simple MsgUpdateInstantiateConfig can be invoked from |
939 |
| -the x/gov module via a v1 governance proposal. |
940 |
| - |
941 |
| - |
942 |
| -| Field | Type | Label | Description | |
943 |
| -| ----- | ---- | ----- | ----------- | |
944 |
| -| `title` | [string](#string) | | Title is a short summary | |
945 |
| -| `description` | [string](#string) | | Description is a human readable text | |
946 |
| -| `access_config_updates` | [AccessConfigUpdate](#cosmwasm.wasm.v1.AccessConfigUpdate) | repeated | AccessConfigUpdate contains the list of code ids and the access config to be applied. | |
947 |
| - |
948 |
| - |
949 |
| - |
950 |
| - |
951 |
| - |
952 | 628 | <!-- end messages -->
|
953 | 629 |
|
954 | 630 | <!-- end enums -->
|
@@ -1375,6 +1051,23 @@ Query provides defines the gRPC querier service
|
1375 | 1051 |
|
1376 | 1052 |
|
1377 | 1053 |
|
| 1054 | +<a name="cosmwasm.wasm.v1.AccessConfigUpdate"></a> |
| 1055 | + |
| 1056 | +### AccessConfigUpdate |
| 1057 | +AccessConfigUpdate contains the code id and the access config to be |
| 1058 | +applied. |
| 1059 | + |
| 1060 | + |
| 1061 | +| Field | Type | Label | Description | |
| 1062 | +| ----- | ---- | ----- | ----------- | |
| 1063 | +| `code_id` | [uint64](#uint64) | | CodeID is the reference to the stored WASM code to be updated | |
| 1064 | +| `instantiate_permission` | [AccessConfig](#cosmwasm.wasm.v1.AccessConfig) | | InstantiatePermission to apply to the set of code ids | |
| 1065 | + |
| 1066 | + |
| 1067 | + |
| 1068 | + |
| 1069 | + |
| 1070 | + |
1378 | 1071 | <a name="cosmwasm.wasm.v1.MsgAddCodeUploadParamsAddresses"></a>
|
1379 | 1072 |
|
1380 | 1073 | ### MsgAddCodeUploadParamsAddresses
|
|
0 commit comments