-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5da81a
commit 3491df2
Showing
19 changed files
with
5,533 additions
and
2,331 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
syntax = "proto3"; | ||
package terra.taxexemption.v1beta1; | ||
|
||
import "gogoproto/gogo.proto"; | ||
import "cosmos/base/v1beta1/coin.proto"; | ||
|
||
option go_package = "github.com/classic-terra/core/v2/x/taxexemption/types"; | ||
|
||
// Msg defines the taxexemption Msg service. | ||
service Msg { | ||
rpc AddTaxExemptionZone(MsgAddTaxExemptionZone) returns (MsgAddTaxExemptionZoneResponse); | ||
rpc RemoveTaxExemptionZone(MsgRemoveTaxExemptionZone) returns (MsgRemoveTaxExemptionZoneResponse); | ||
rpc ModifyTaxExemptionZone(MsgModifyTaxExemptionZone) returns (MsgModifyTaxExemptionZoneResponse); | ||
rpc AddTaxExemptionAddress(MsgAddTaxExemptionAddress) returns (MsgAddTaxExemptionAddressResponse); | ||
rpc RemoveTaxExemptionAddress(MsgRemoveTaxExemptionAddress) returns (MsgRemoveTaxExemptionAddressResponse); | ||
} | ||
|
||
// MsgAddTaxExemptionZone defines a message for adding a tax exemption zone. | ||
message MsgAddTaxExemptionZone { | ||
option (gogoproto.equal) = true; | ||
option (gogoproto.goproto_getters) = false; | ||
option (gogoproto.goproto_stringer) = false; | ||
|
||
string zone = 1 [(gogoproto.moretags) = "yaml:\"zone\""]; | ||
bool outgoing = 2 [(gogoproto.moretags) = "yaml:\"outgoing\""]; | ||
bool incoming = 3 [(gogoproto.moretags) = "yaml:\"incoming\""]; | ||
bool cross_zone = 4 [(gogoproto.moretags) = "yaml:\"cross_zone\""]; | ||
repeated string addresses = 5 [(gogoproto.moretags) = "yaml:\"addresses\""]; | ||
string authority = 6 [(gogoproto.moretags) = "yaml:\"authority\""]; | ||
} | ||
|
||
message MsgAddTaxExemptionZoneResponse {} | ||
|
||
// MsgRemoveTaxExemptionZone defines a message for removing a tax exemption zone. | ||
message MsgRemoveTaxExemptionZone { | ||
option (gogoproto.equal) = true; | ||
option (gogoproto.goproto_getters) = false; | ||
option (gogoproto.goproto_stringer) = false; | ||
|
||
string zone = 1 [(gogoproto.moretags) = "yaml:\"zone\""]; | ||
string authority = 2 [(gogoproto.moretags) = "yaml:\"authority\""]; | ||
} | ||
|
||
message MsgRemoveTaxExemptionZoneResponse {} | ||
|
||
// MsgModifyTaxExemptionZone defines a message for modifying a tax exemption zone. | ||
message MsgModifyTaxExemptionZone { | ||
option (gogoproto.equal) = true; | ||
option (gogoproto.goproto_getters) = false; | ||
option (gogoproto.goproto_stringer) = false; | ||
|
||
string zone = 1 [(gogoproto.moretags) = "yaml:\"zone\""]; | ||
bool outgoing = 2 [(gogoproto.moretags) = "yaml:\"outgoing\""]; | ||
bool incoming = 3 [(gogoproto.moretags) = "yaml:\"incoming\""]; | ||
bool cross_zone = 4 [(gogoproto.moretags) = "yaml:\"cross_zone\""]; | ||
string authority = 5 [(gogoproto.moretags) = "yaml:\"authority\""]; | ||
} | ||
|
||
message MsgModifyTaxExemptionZoneResponse {} | ||
|
||
// MsgAddTaxExemptionAddress defines a message for adding tax exemption addresses. | ||
message MsgAddTaxExemptionAddress { | ||
option (gogoproto.equal) = true; | ||
option (gogoproto.goproto_getters) = false; | ||
option (gogoproto.goproto_stringer) = false; | ||
|
||
string zone = 1 [(gogoproto.moretags) = "yaml:\"zone\""]; | ||
repeated string addresses = 2 [(gogoproto.moretags) = "yaml:\"addresses\""]; | ||
string authority = 3 [(gogoproto.moretags) = "yaml:\"authority\""]; | ||
} | ||
|
||
message MsgAddTaxExemptionAddressResponse {} | ||
|
||
// MsgRemoveTaxExemptionAddress defines a message for removing tax exemption addresses. | ||
message MsgRemoveTaxExemptionAddress { | ||
option (gogoproto.equal) = true; | ||
option (gogoproto.goproto_getters) = false; | ||
option (gogoproto.goproto_stringer) = false; | ||
|
||
string zone = 1 [(gogoproto.moretags) = "yaml:\"zone\""]; | ||
repeated string addresses = 2 [(gogoproto.moretags) = "yaml:\"addresses\""]; | ||
string authority = 3 [(gogoproto.moretags) = "yaml:\"authority\""]; | ||
} | ||
|
||
message MsgRemoveTaxExemptionAddressResponse {} |
Oops, something went wrong.