-
Notifications
You must be signed in to change notification settings - Fork 10
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
Showing
16 changed files
with
8,548 additions
and
45 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
syntax = "proto3"; | ||
|
||
package ondo.usdy.blocklist.v1; | ||
|
||
option go_package = "github.com/noble-assets/ondo/x/usdy/types/blocklist"; | ||
|
||
// OwnershipTransferStarted is emitted whenever an ownership transfer is started. | ||
message OwnershipTransferStarted { | ||
// old_owner is the address of the old owner account. | ||
string old_owner = 1; | ||
// new_owner is the address of the new owner account. | ||
string new_owner = 2; | ||
} | ||
|
||
// BlockedAddressesAdded is emitted whenever addresses are added to the blocklist. | ||
message BlockedAddressesAdded { | ||
// accounts is the list of addresses that were added to the blocklist. | ||
repeated string accounts = 1; | ||
} | ||
|
||
// BlockedAddressesRemoved is emitted whenever addresses are removed from the blocklist. | ||
message BlockedAddressesRemoved { | ||
// accounts is the list of addresses that were removed from the blocklist. | ||
repeated string accounts = 1; | ||
} |
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,15 @@ | ||
package mocks | ||
|
||
import ( | ||
"cosmossdk.io/core/address" | ||
"github.com/cosmos/cosmos-sdk/x/auth/codec" | ||
"github.com/noble-assets/ondo/x/usdy/types" | ||
) | ||
|
||
var _ types.AccountKeeper = AccountKeeper{} | ||
|
||
type AccountKeeper struct{} | ||
|
||
func (AccountKeeper) AddressCodec() address.Codec { | ||
return codec.NewBech32Codec("noble") | ||
} |
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
Oops, something went wrong.