Documentation ¶
Index ¶
- Constants
- Variables
- func DecoupleForkRepository(ctx sdk.Context, k msgServer, repositoryId uint64) error
- func DoRemoveDao(ctx sdk.Context, k msgServer, user types.User, dao types.Dao)
- func DoRemoveIssue(ctx sdk.Context, k msgServer, issue types.Issue, repository types.Repository)
- func DoRemovePullRequest(ctx sdk.Context, k msgServer, pullRequest types.PullRequest, ...)
- func DoRemoveRelease(ctx sdk.Context, k msgServer, release types.Release, ...)
- func DoRemoveRepository(ctx sdk.Context, k msgServer, repository types.Repository)
- func DoRemoveUser(ctx sdk.Context, k msgServer, user types.User)
- func ElementExists(s []uint64, val uint64) (int, bool)
- func ExportGenesis(ctx sdk.Context, k Keeper) *types.GenesisState
- func GetBountyAddress(bountyId uint64) sdk.AccAddress
- func GetBountyIDBytes(id uint64) []byte
- func GetBountyIDFromBytes(bz []byte) uint64
- func GetBranchIDBytes(id uint64) []byte
- func GetBranchIDFromBytes(bz []byte) uint64
- func GetCommentIDBytes(id uint64) []byte
- func GetCommentIDFromBytes(bz []byte) uint64
- func GetDaoIDBytes(id uint64) []byte
- func GetDaoIDFromBytes(bz []byte) uint64
- func GetExercisedAmountIDBytes(id uint64) []byte
- func GetExercisedAmountIDFromBytes(bz []byte) uint64
- func GetIssueIDBytes(id uint64) []byte
- func GetIssueIDFromBytes(bz []byte) uint64
- func GetMemberIDBytes(id uint64) []byte
- func GetMemberIDFromBytes(bz []byte) uint64
- func GetPullRequestIDBytes(id uint64) []byte
- func GetPullRequestIDFromBytes(bz []byte) uint64
- func GetReleaseIDBytes(id uint64) []byte
- func GetReleaseIDFromBytes(bz []byte) uint64
- func GetRepositoryIDBytes(id uint64) []byte
- func GetRepositoryIDFromBytes(bz []byte) uint64
- func GetRepositoryKeyBytesFromBaseKey(repositoryId types.BaseRepositoryKey) []byte
- func GetStorageIDBytes(id uint64) []byte
- func GetStorageIDFromBytes(bz []byte) uint64
- func GetTagIDBytes(id uint64) []byte
- func GetTagIDFromBytes(bz []byte) uint64
- func GetTaskIDBytes(id uint64) []byte
- func GetTaskIDFromBytes(bz []byte) uint64
- func GetUserIDBytes(id uint64) []byte
- func GetUserIDFromBytes(bz []byte) uint64
- func GetWhoisIDBytes(id uint64) []byte
- func GetWhoisIDFromBytes(bz []byte) uint64
- func InitGenesis(ctx sdk.Context, k Keeper, genState types.GenesisState)
- func NewDaoAddress(daoId uint64) sdk.AccAddress
- func NewMsgServerImpl(keeper Keeper) types.MsgServer
- func PaginateAllForkRepository(k Keeper, ctx sdk.Context, repository types.Repository, ...) (*query.PageResponse, error)
- func PaginateAllRepositoryIssue(k Keeper, ctx sdk.Context, issues []*types.Issue, ...) (*query.PageResponse, error)
- func PaginateAllRepositoryPullRequest(k Keeper, ctx sdk.Context, pullRequests []*types.PullRequest, ...) (*query.PageResponse, error)
- func PaginateAllRepositoryRelease(k Keeper, ctx sdk.Context, releaseStore ks.KVStore, ...) (*query.PageResponse, error)
- func VestedTeamTokens(startTime, currentTime time.Time) sdk.Coin
- type Keeper
- func (k Keeper) AnyRepository(c context.Context, req *types.QueryGetAnyRepositoryRequest) (*types.QueryGetAnyRepositoryResponse, error)
- func (k Keeper) AnyRepositoryAll(c context.Context, req *types.QueryAllAnyRepositoryRequest) (*types.QueryAllAnyRepositoryResponse, error)
- func (k Keeper) AppendBounty(ctx sdk.Context, bounty types.Bounty) uint64
- func (k Keeper) AppendBranch(ctx sdk.Context, branch types.Branch) uint64
- func (k Keeper) AppendComment(ctx sdk.Context, comment types.Comment) uint64
- func (k Keeper) AppendDao(ctx sdk.Context, dao types.Dao) uint64
- func (k Keeper) AppendExercisedAmount(ctx sdk.Context, exercisedAmount types.ExercisedAmount) uint64
- func (k Keeper) AppendIssue(ctx sdk.Context, issue types.Issue) uint64
- func (k Keeper) AppendMember(ctx sdk.Context, member types.Member) uint64
- func (k Keeper) AppendPullRequest(ctx sdk.Context, pullRequest types.PullRequest) uint64
- func (k Keeper) AppendRelease(ctx sdk.Context, release types.Release) uint64
- func (k Keeper) AppendRepository(ctx sdk.Context, repository types.Repository) uint64
- func (k Keeper) AppendStorage(ctx sdk.Context, storage types.Storage) uint64
- func (k Keeper) AppendTag(ctx sdk.Context, tag types.Tag) uint64
- func (k Keeper) AppendTask(ctx sdk.Context, task types.Task) uint64
- func (k Keeper) AppendUser(ctx sdk.Context, user types.User) uint64
- func (k Keeper) AppendWhois(ctx sdk.Context, whois types.Whois) uint64
- func (k Keeper) AuthorizeProvider(ctx sdk.Context, provider string, user string, expiry *time.Time, ...) error
- func (k Keeper) Bounty(c context.Context, req *types.QueryGetBountyRequest) (*types.QueryGetBountyResponse, error)
- func (k Keeper) BountyAll(c context.Context, req *types.QueryAllBountyRequest) (*types.QueryAllBountyResponse, error)
- func (k Keeper) BranchAll(c context.Context, req *types.QueryAllBranchRequest) (*types.QueryAllBranchResponse, error)
- func (k Keeper) CheckGitServerAuthorization(c context.Context, req *types.QueryCheckGitServerAuthorizationRequest) (*types.QueryCheckGitServerAuthorizationResponse, error)
- func (k Keeper) CheckStorageProviderAuthorization(c context.Context, req *types.QueryCheckStorageProviderAuthorizationRequest) (*types.QueryCheckStorageProviderAuthorizationResponse, error)
- func (k Keeper) CommentAll(c context.Context, req *types.QueryAllCommentRequest) (*types.QueryAllCommentResponse, error)
- func (k Keeper) CreateModuleAccount(ctx sdk.Context, name string, permissions ...string)
- func (k Keeper) Dao(c context.Context, req *types.QueryGetDaoRequest) (*types.QueryGetDaoResponse, error)
- func (k Keeper) DaoAll(c context.Context, req *types.QueryAllDaoRequest) (*types.QueryAllDaoResponse, error)
- func (k Keeper) DaoMember(c context.Context, req *types.QueryGetDaoMemberRequest) (*types.QueryGetDaoMemberResponse, error)
- func (k Keeper) DaoMemberAll(c context.Context, req *types.QueryAllDaoMemberRequest) (*types.QueryAllDaoMemberResponse, error)
- func (k Keeper) ForkAll(c context.Context, req *types.QueryGetAllForkRequest) (*types.QueryGetAllForkResponse, error)
- func (k Keeper) GetAddressRepository(ctx sdk.Context, address string, name string) (val types.Repository, found bool)
- func (k Keeper) GetAllAddressRepository(ctx sdk.Context, address string) (list []types.Repository)
- func (k Keeper) GetAllBaseRepositoryKey(ctx sdk.Context) (list []types.BaseRepositoryKey)
- func (k Keeper) GetAllBounty(ctx sdk.Context) (list []types.Bounty)
- func (k Keeper) GetAllBranch(ctx sdk.Context) (list []types.Branch)
- func (k Keeper) GetAllComment(ctx sdk.Context) (list []types.Comment)
- func (k Keeper) GetAllDao(ctx sdk.Context) (list []types.Dao)
- func (k Keeper) GetAllDaoMember(ctx sdk.Context, daoAddress string) (list []types.Member)
- func (k Keeper) GetAllDaoOwner(ctx sdk.Context, daoAddress string) (list []types.Member)
- func (k Keeper) GetAllExercisedAmount(ctx sdk.Context) (list []types.ExercisedAmount)
- func (k Keeper) GetAllIssue(ctx sdk.Context) (list []types.Issue)
- func (k Keeper) GetAllIssueComment(ctx sdk.Context, repositoryId uint64, issueIid uint64) (list []types.Comment)
- func (k Keeper) GetAllMember(ctx sdk.Context) (list []types.Member)
- func (k Keeper) GetAllPullRequest(ctx sdk.Context) (list []types.PullRequest)
- func (k Keeper) GetAllPullRequestComment(ctx sdk.Context, repositoryId uint64, pullRequestIid uint64) (list []types.Comment)
- func (k Keeper) GetAllRelease(ctx sdk.Context) (list []types.Release)
- func (k Keeper) GetAllRepository(ctx sdk.Context) (list []types.Repository)
- func (k Keeper) GetAllRepositoryBranch(ctx sdk.Context, repositoryId uint64) (list []types.Branch)
- func (k Keeper) GetAllRepositoryIssue(ctx sdk.Context, repositoryId uint64) (list []types.Issue)
- func (k Keeper) GetAllRepositoryPullRequest(ctx sdk.Context, repositoryId uint64) (list []types.PullRequest)
- func (k Keeper) GetAllRepositoryTag(ctx sdk.Context, repositoryId uint64) (list []types.Tag)
- func (k Keeper) GetAllStorage(ctx sdk.Context) (list []types.Storage)
- func (k Keeper) GetAllTag(ctx sdk.Context) (list []types.Tag)
- func (k Keeper) GetAllTask(ctx sdk.Context) (list []types.Task)
- func (k Keeper) GetAllUser(ctx sdk.Context) (list []types.User)
- func (k Keeper) GetAllUserDao(ctx sdk.Context, userAddress string) ([]types.Dao, error)
- func (k Keeper) GetAllUserDaoEntry(ctx sdk.Context) (list []types.UserDao)
- func (k Keeper) GetAllWhois(ctx sdk.Context) (list []types.Whois)
- func (k Keeper) GetAuthority() string
- func (k Keeper) GetBounty(ctx sdk.Context, id uint64) (val types.Bounty, found bool)
- func (k Keeper) GetBountyCount(ctx sdk.Context) uint64
- func (k Keeper) GetBranchCount(ctx sdk.Context) uint64
- func (k Keeper) GetCommentCount(ctx sdk.Context) uint64
- func (k Keeper) GetDao(ctx sdk.Context, address string) (val types.Dao, found bool)
- func (k Keeper) GetDaoCount(ctx sdk.Context) uint64
- func (k Keeper) GetDaoMember(ctx sdk.Context, daoAddress string, memberAddress string) (val types.Member, found bool)
- func (k Keeper) GetExercisedAmount(ctx sdk.Context, address string) (val types.ExercisedAmount, found bool)
- func (k Keeper) GetExercisedAmountCount(ctx sdk.Context) uint64
- func (k Keeper) GetIssueComment(ctx sdk.Context, repositoryId uint64, issueIid uint64, commentIid uint64) (val types.Comment, found bool)
- func (k Keeper) GetIssueCount(ctx sdk.Context) uint64
- func (k Keeper) GetMemberCount(ctx sdk.Context) uint64
- func (k Keeper) GetParams(ctx sdk.Context) (p types.Params)
- func (k Keeper) GetParamsOfType(ctx sdk.Context, p interface{})
- func (k Keeper) GetPullRequestComment(ctx sdk.Context, repositoryId uint64, pullRequestIid uint64, commentIid uint64) (val types.Comment, found bool)
- func (k Keeper) GetPullRequestCount(ctx sdk.Context) uint64
- func (k Keeper) GetRelease(ctx sdk.Context, id uint64) (val types.Release, found bool)
- func (k Keeper) GetReleaseCount(ctx sdk.Context) uint64
- func (k Keeper) GetRepositoryBranch(ctx sdk.Context, repositoryId uint64, branch string) (val types.Branch, found bool)
- func (k Keeper) GetRepositoryById(ctx sdk.Context, repositoryId uint64) (types.Repository, bool)
- func (k Keeper) GetRepositoryCount(ctx sdk.Context) uint64
- func (k Keeper) GetRepositoryFromKey(ctx sdk.Context, repositoryKey []byte) (val types.Repository, found bool)
- func (k Keeper) GetRepositoryIssue(ctx sdk.Context, repositoryId uint64, issueIid uint64) (val types.Issue, found bool)
- func (k Keeper) GetRepositoryKeyBytesFromId(ctx sdk.Context, repositoryId uint64) ([]byte, bool)
- func (k Keeper) GetRepositoryPullRequest(ctx sdk.Context, repositoryId uint64, iid uint64) (val types.PullRequest, found bool)
- func (k Keeper) GetRepositoryStorage(ctx sdk.Context, repositoryId uint64) (val types.Storage, found bool)
- func (k Keeper) GetRepositoryTag(ctx sdk.Context, repositoryId uint64, tag string) (val types.Tag, found bool)
- func (k Keeper) GetStorageCount(ctx sdk.Context) uint64
- func (k Keeper) GetTagCount(ctx sdk.Context) uint64
- func (k Keeper) GetTask(ctx sdk.Context, id uint64) (val types.Task, found bool)
- func (k Keeper) GetTaskCount(ctx sdk.Context) uint64
- func (k Keeper) GetUser(ctx sdk.Context, id string) (val types.User, found bool)
- func (k Keeper) GetUserCount(ctx sdk.Context) uint64
- func (k Keeper) GetVestedProportion(ctx sdk.Context, address string) (sdk.Coin, error)
- func (k Keeper) GetWhois(ctx sdk.Context, username string) (val types.Whois, found bool)
- func (k Keeper) GetWhoisCount(ctx sdk.Context) uint64
- func (k Keeper) HavePermission(ctx sdk.Context, creator string, repository types.Repository, ...) (havePermission bool)
- func (k Keeper) InflationFn(ctx sdk.Context, minter minttypes.Minter, mintParams minttypes.Params, ...) sdk.Dec
- func (k Keeper) IssueAll(c context.Context, req *types.QueryAllIssueRequest) (*types.QueryAllIssueResponse, error)
- func (k Keeper) IssueComment(c context.Context, req *types.QueryGetIssueCommentRequest) (*types.QueryGetIssueCommentResponse, error)
- func (k Keeper) IssueCommentAll(c context.Context, req *types.QueryAllIssueCommentRequest) (*types.QueryAllIssueCommentResponse, error)
- func (k Keeper) Logger(ctx sdk.Context) log.Logger
- func (k Keeper) MemberAll(c context.Context, req *types.QueryAllMemberRequest) (*types.QueryAllMemberResponse, error)
- func (k Keeper) Params(goCtx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
- func (k Keeper) PullRequestAll(c context.Context, req *types.QueryAllPullRequestRequest) (*types.QueryAllPullRequestResponse, error)
- func (k Keeper) PullRequestComment(c context.Context, req *types.QueryGetPullRequestCommentRequest) (*types.QueryGetPullRequestCommentResponse, error)
- func (k Keeper) PullRequestCommentAll(c context.Context, req *types.QueryAllPullRequestCommentRequest) (*types.QueryAllPullRequestCommentResponse, error)
- func (k Keeper) PullRequestMergePermission(c context.Context, req *types.QueryGetPullRequestMergePermissionRequest) (*types.QueryGetPullRequestMergePermissionResponse, error)
- func (k Keeper) Release(c context.Context, req *types.QueryGetReleaseRequest) (*types.QueryGetReleaseResponse, error)
- func (k Keeper) ReleaseAll(c context.Context, req *types.QueryAllReleaseRequest) (*types.QueryAllReleaseResponse, error)
- func (k Keeper) RemoveAddressRepository(ctx sdk.Context, address string, name string)
- func (k Keeper) RemoveBaseRepositoryKey(ctx sdk.Context, repositoryId uint64)
- func (k Keeper) RemoveBounty(ctx sdk.Context, id uint64)
- func (k Keeper) RemoveDao(ctx sdk.Context, address string)
- func (k Keeper) RemoveDaoMember(ctx sdk.Context, daoAddress string, memberAddress string)
- func (k Keeper) RemoveExercised(ctx sdk.Context, address string)
- func (k Keeper) RemoveIssueComment(ctx sdk.Context, repositoryId uint64, issueIid uint64, commentIid uint64)
- func (k Keeper) RemovePullRequestComment(ctx sdk.Context, repositoryId uint64, pullRequestIid uint64, commentIid uint64)
- func (k Keeper) RemoveRelease(ctx sdk.Context, id uint64)
- func (k Keeper) RemoveRepositoryBranch(ctx sdk.Context, repositoryId uint64, branchName string)
- func (k Keeper) RemoveRepositoryIssue(ctx sdk.Context, repositoryId uint64, issueIid uint64)
- func (k Keeper) RemoveRepositoryPullRequest(ctx sdk.Context, repositoryId uint64, iid uint64)
- func (k Keeper) RemoveRepositoryStorage(ctx sdk.Context, repositoryId uint64)
- func (k Keeper) RemoveRepositoryTag(ctx sdk.Context, repositoryId uint64, tag string)
- func (k Keeper) RemoveTask(ctx sdk.Context, id uint64)
- func (k Keeper) RemoveUser(ctx sdk.Context, id string)
- func (k Keeper) RemoveWhois(ctx sdk.Context, username string)
- func (k Keeper) Repository(c context.Context, req *types.QueryGetRepositoryRequest) (*types.QueryGetRepositoryResponse, error)
- func (k Keeper) RepositoryAll(c context.Context, req *types.QueryAllRepositoryRequest) (*types.QueryAllRepositoryResponse, error)
- func (k Keeper) RepositoryBranch(c context.Context, req *types.QueryGetRepositoryBranchRequest) (*types.QueryGetRepositoryBranchResponse, error)
- func (k Keeper) RepositoryBranchAll(c context.Context, req *types.QueryAllRepositoryBranchRequest) (*types.QueryAllRepositoryBranchResponse, error)
- func (k Keeper) RepositoryBranchSha(c context.Context, req *types.QueryGetRepositoryBranchShaRequest) (*types.QueryGetRepositoryBranchShaResponse, error)
- func (k Keeper) RepositoryIssue(c context.Context, req *types.QueryGetRepositoryIssueRequest) (*types.QueryGetRepositoryIssueResponse, error)
- func (k Keeper) RepositoryIssueAll(c context.Context, req *types.QueryAllRepositoryIssueRequest) (*types.QueryAllRepositoryIssueResponse, error)
- func (k Keeper) RepositoryPullRequest(c context.Context, req *types.QueryGetRepositoryPullRequestRequest) (*types.QueryGetRepositoryPullRequestResponse, error)
- func (k Keeper) RepositoryPullRequestAll(c context.Context, req *types.QueryAllRepositoryPullRequestRequest) (*types.QueryAllRepositoryPullRequestResponse, error)
- func (k Keeper) RepositoryRelease(c context.Context, req *types.QueryGetRepositoryReleaseRequest) (*types.QueryGetRepositoryReleaseResponse, error)
- func (k Keeper) RepositoryReleaseAll(c context.Context, req *types.QueryAllRepositoryReleaseRequest) (*types.QueryAllRepositoryReleaseResponse, error)
- func (k Keeper) RepositoryReleaseLatest(c context.Context, req *types.QueryGetLatestRepositoryReleaseRequest) (*types.QueryGetLatestRepositoryReleaseResponse, error)
- func (k Keeper) RepositoryStorage(c context.Context, req *types.QueryGetRepositoryStorageRequest) (*types.QueryGetRepositoryStorageResponse, error)
- func (k Keeper) RepositoryTag(c context.Context, req *types.QueryGetRepositoryTagRequest) (*types.QueryGetRepositoryTagResponse, error)
- func (k Keeper) RepositoryTagAll(c context.Context, req *types.QueryAllRepositoryTagRequest) (*types.QueryAllRepositoryTagResponse, error)
- func (k Keeper) RepositoryTagSha(c context.Context, req *types.QueryGetRepositoryTagShaRequest) (*types.QueryGetRepositoryTagShaResponse, error)
- func (k Keeper) ResolveAddress(ctx sdk.Context, id string) (address *WhoisAddress, err error)
- func (k Keeper) SetBaseRepositoryKey(ctx sdk.Context, repositoryKey types.BaseRepositoryKey)
- func (k Keeper) SetBounty(ctx sdk.Context, bounty types.Bounty)
- func (k Keeper) SetBountyCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetBranchCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetComment(ctx sdk.Context, comment types.Comment)
- func (k Keeper) SetCommentCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetDao(ctx sdk.Context, dao types.Dao)
- func (k Keeper) SetDaoCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetExercisedAmount(ctx sdk.Context, exercisedAmount types.ExercisedAmount)
- func (k Keeper) SetExercisedAmountCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetInflation(ctx sdk.Context, inflation sdk.Dec)
- func (k Keeper) SetIssue(ctx sdk.Context, issue types.Issue)
- func (k Keeper) SetIssueCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetMember(ctx sdk.Context, member types.Member)
- func (k Keeper) SetMemberCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetParams(ctx sdk.Context, p types.Params) error
- func (k Keeper) SetPullRequest(ctx sdk.Context, pullRequest types.PullRequest)
- func (k Keeper) SetPullRequestCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetRelease(ctx sdk.Context, release types.Release)
- func (k Keeper) SetReleaseCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetRepository(ctx sdk.Context, repository types.Repository)
- func (k Keeper) SetRepositoryBranch(ctx sdk.Context, branch types.Branch)
- func (k Keeper) SetRepositoryCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetRepositoryStorage(ctx sdk.Context, storage types.Storage)
- func (k Keeper) SetRepositoryTag(ctx sdk.Context, tag types.Tag)
- func (k Keeper) SetStorageCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetTagCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetTask(ctx sdk.Context, task types.Task)
- func (k Keeper) SetTaskCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetUser(ctx sdk.Context, user types.User)
- func (k Keeper) SetUserCount(ctx sdk.Context, count uint64)
- func (k Keeper) SetUserDao(ctx sdk.Context, userDao types.UserDao)
- func (k Keeper) SetWhois(ctx sdk.Context, whois types.Whois)
- func (k Keeper) SetWhoisCount(ctx sdk.Context, count uint64)
- func (k Keeper) TagAll(c context.Context, req *types.QueryAllTagRequest) (*types.QueryAllTagResponse, error)
- func (k Keeper) Task(c context.Context, req *types.QueryGetTaskRequest) (*types.QueryGetTaskResponse, error)
- func (k Keeper) TaskAll(c context.Context, req *types.QueryAllTaskRequest) (*types.QueryAllTaskResponse, error)
- func (k Keeper) TokenDistribution(ctx sdk.Context)
- func (k Keeper) TransferProportion(ctx sdk.Context, totalCoin sdk.Coin, from string, to string, ...) (sdk.Coins, error)
- func (k Keeper) User(c context.Context, req *types.QueryGetUserRequest) (*types.QueryGetUserResponse, error)
- func (k Keeper) UserAll(c context.Context, req *types.QueryAllUserRequest) (*types.QueryAllUserResponse, error)
- func (k Keeper) UserDaoAll(c context.Context, req *types.QueryAllUserDaoRequest) (*types.QueryAllUserDaoResponse, error)
- func (k Keeper) VestedAmount(c context.Context, req *types.QueryVestedAmountRequest) (*types.QueryVestedAmountResponse, error)
- func (k Keeper) Whois(c context.Context, req *types.QueryGetWhoisRequest) (*types.QueryGetWhoisResponse, error)
- func (k Keeper) WhoisAll(c context.Context, req *types.QueryAllWhoisRequest) (*types.QueryAllWhoisResponse, error)
- type WhoisAddress
Constants ¶
const ( LIQUIDITY_BOOTSTRAPPING_POOL_AMOUNT = 30_000_000_000_000 ECOSYSTEM_INCENTIVES_AMOUNT = 6_500_000_000_000 COMMUNITY_POOL_GENESIS_AMOUNT = 37_500_000_000_000 )
const ( TEAM_VESTING_AMOUNT = 339_118_201_000_000 // max team supply CLIFF_PERIOD = 12 // 1 year cliff VESTING_PERIOD = 120 // 10 years * 12 months )
const DefaultLimit = 100
const MAX_SUPPLY int64 = 1711136433 * 1000000
https://github.com/cosmos/cosmos-sdk/issues/13308 total max supply in ulore
Variables ¶
var GitServerTypeUrls = [4]string{ sdk.MsgTypeURL(&types.MsgForkRepository{}), sdk.MsgTypeURL(&types.MsgForkRepositorySuccess{}), sdk.MsgTypeURL(&types.MsgSetPullRequestState{}), sdk.MsgTypeURL(&types.MsgUpdateTask{}), }
var StorageTypeUrls = [2]string{ sdk.MsgTypeURL(&types.MsgAddRepositoryBackupRef{}), sdk.MsgTypeURL(&types.MsgUpdateRepositoryBackupRef{}), }
Functions ¶
func DecoupleForkRepository ¶
func DoRemoveIssue ¶
func DoRemovePullRequest ¶
func DoRemovePullRequest(ctx sdk.Context, k msgServer, pullRequest types.PullRequest, repository types.Repository)
func DoRemoveRelease ¶
func DoRemoveRepository ¶
func DoRemoveRepository(ctx sdk.Context, k msgServer, repository types.Repository)
func ExportGenesis ¶
func ExportGenesis(ctx sdk.Context, k Keeper) *types.GenesisState
ExportGenesis returns the capability module's exported genesis.
func GetBountyAddress ¶
func GetBountyAddress(bountyId uint64) sdk.AccAddress
GetBountyIDBytes returns the Module address for bounty id
func GetBountyIDBytes ¶
GetBountyIDBytes returns the byte representation of the ID
func GetBountyIDFromBytes ¶
GetBountyIDFromBytes returns ID in uint64 format from a byte array
func GetBranchIDBytes ¶
GetBranchIDBytes returns the byte representation of the ID
func GetBranchIDFromBytes ¶
GetBranchIDFromBytes returns ID in uint64 format from a byte array
func GetCommentIDBytes ¶
GetCommentIDBytes returns the byte representation of the ID
func GetCommentIDFromBytes ¶
GetCommentIDFromBytes returns ID in uint64 format from a byte array
func GetDaoIDBytes ¶
GetDaoIDBytes returns the byte representation of the ID
func GetDaoIDFromBytes ¶
GetDaoIDFromBytes returns ID in uint64 format from a byte array
func GetExercisedAmountIDBytes ¶
GetExercisedAmountIDBytes returns the byte representation of the ID
func GetExercisedAmountIDFromBytes ¶
GetExercisedAmountIDFromBytes returns ID in uint64 format from a byte array
func GetIssueIDBytes ¶
GetIssueIDBytes returns the byte representation of the ID
func GetIssueIDFromBytes ¶
GetIssueIDFromBytes returns ID in uint64 format from a byte array
func GetMemberIDBytes ¶
GetMemberIDBytes returns the byte representation of the ID
func GetMemberIDFromBytes ¶
GetMemberIDFromBytes returns ID in uint64 format from a byte array
func GetPullRequestIDBytes ¶
GetPullRequestIDBytes returns the byte representation of the ID
func GetPullRequestIDFromBytes ¶
GetPullRequestIDFromBytes returns ID in uint64 format from a byte array
func GetReleaseIDBytes ¶
GetReleaseIDBytes returns the byte representation of the ID
func GetReleaseIDFromBytes ¶
GetReleaseIDFromBytes returns ID in uint64 format from a byte array
func GetRepositoryIDBytes ¶
GetRepositoryIDBytes returns the byte representation of the ID
func GetRepositoryIDFromBytes ¶
GetRepositoryIDFromBytes returns ID in uint64 format from a byte array
func GetRepositoryKeyBytesFromBaseKey ¶
func GetRepositoryKeyBytesFromBaseKey(repositoryId types.BaseRepositoryKey) []byte
func GetStorageIDBytes ¶
GetStorageIDBytes returns the byte representation of the ID
func GetStorageIDFromBytes ¶
GetStorageIDFromBytes returns ID in uint64 format from a byte array
func GetTagIDBytes ¶
GetTagIDBytes returns the byte representation of the ID
func GetTagIDFromBytes ¶
GetTagIDFromBytes returns ID in uint64 format from a byte array
func GetTaskIDBytes ¶
GetTaskIDBytes returns the byte representation of the ID
func GetTaskIDFromBytes ¶
GetTaskIDFromBytes returns ID in uint64 format from a byte array
func GetUserIDBytes ¶
GetUserIDBytes returns the byte representation of the ID
func GetUserIDFromBytes ¶
GetUserIDFromBytes returns ID in uint64 format from a byte array
func GetWhoisIDBytes ¶
GetWhoisIDBytes returns the byte representation of the ID
func GetWhoisIDFromBytes ¶
GetWhoisIDFromBytes returns ID in uint64 format from a byte array
func InitGenesis ¶
func InitGenesis(ctx sdk.Context, k Keeper, genState types.GenesisState)
InitGenesis initializes the capability module's state from a provided genesis state.
func NewDaoAddress ¶
func NewDaoAddress(daoId uint64) sdk.AccAddress
func NewMsgServerImpl ¶
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
func PaginateAllForkRepository ¶
func PaginateAllForkRepository( k Keeper, ctx sdk.Context, repository types.Repository, pageRequest *query.PageRequest, onResult func(repository types.RepositoryFork) error, ) (*query.PageResponse, error)
func PaginateAllRepositoryIssue ¶
func PaginateAllRepositoryIssue( k Keeper, ctx sdk.Context, issues []*types.Issue, pageRequest *query.PageRequest, option *types.IssueOptions, onResult func(issue types.Issue) error, ) (*query.PageResponse, error)
PaginateAllRepositoryIssue does pagination of the provided issue list * based on the provided PageRequest.
func PaginateAllRepositoryPullRequest ¶
func PaginateAllRepositoryPullRequest( k Keeper, ctx sdk.Context, pullRequests []*types.PullRequest, pageRequest *query.PageRequest, option *types.PullRequestOptions, onResult func(pullRequest types.PullRequest) error, ) (*query.PageResponse, error)
PaginateAllRepositoryPullRequest does pagination of the provided pullrequest list * based on the provided PageRequest.
func PaginateAllRepositoryRelease ¶
func PaginateAllRepositoryRelease( k Keeper, ctx sdk.Context, releaseStore ks.KVStore, repository types.Repository, pageRequest *query.PageRequest, onResult func(release types.Release) error, ) (*query.PageResponse, error)
Types ¶
type Keeper ¶
type Keeper struct {
// contains filtered or unexported fields
}
func NewKeeper ¶
func NewKeeper( cdc codec.BinaryCodec, storeKey, memKey storetypes.StoreKey, minterAccountName string, feeCollectorAccount string, ak authkeeper.AccountKeeper, authzKeeper *authzkeeper.Keeper, bankKeeper bankKeeper.Keeper, mintKeeper *mintkeeper.Keeper, distrKeeper *distrkeeper.Keeper, authority string, ) *Keeper
func (Keeper) AnyRepository ¶
func (k Keeper) AnyRepository(c context.Context, req *types.QueryGetAnyRepositoryRequest) (*types.QueryGetAnyRepositoryResponse, error)
func (Keeper) AnyRepositoryAll ¶
func (k Keeper) AnyRepositoryAll(c context.Context, req *types.QueryAllAnyRepositoryRequest) (*types.QueryAllAnyRepositoryResponse, error)
func (Keeper) AppendBounty ¶
AppendBounty appends a bounty in the store with a new id and update the count
func (Keeper) AppendBranch ¶
AppendBranch appends a branch in the store with a new id and update the count
func (Keeper) AppendComment ¶
AppendComment appends a comment in the store with a new id and update the count
func (Keeper) AppendExercisedAmount ¶
func (k Keeper) AppendExercisedAmount( ctx sdk.Context, exercisedAmount types.ExercisedAmount, ) uint64
AppendExercisedAmount appends a exercised amount in the store and update the count
func (Keeper) AppendIssue ¶
AppendIssue appends a issue in the store with a new id and update the count
func (Keeper) AppendMember ¶
AppendMember appends a member in the store with a new id and update the count
func (Keeper) AppendPullRequest ¶
AppendPullRequest appends a pullRequest in the store with a new id and update the count
func (Keeper) AppendRelease ¶
AppendRelease appends a release in the store with a new id and update the count
func (Keeper) AppendRepository ¶
AppendRepository appends a repository in the store with a new id and update the count
func (Keeper) AppendStorage ¶
AppendStorage appends a storage in the store with a new id and update the count
func (Keeper) AppendTask ¶
AppendTask appends a task in the store with a new id and update the count
func (Keeper) AppendUser ¶
AppendUser appends a user in the store with a new id and update the count
func (Keeper) AppendWhois ¶
AppendWhois appends a whois in the store with a new id and update the count
func (Keeper) AuthorizeProvider ¶
func (Keeper) Bounty ¶
func (k Keeper) Bounty(c context.Context, req *types.QueryGetBountyRequest) (*types.QueryGetBountyResponse, error)
func (Keeper) BountyAll ¶
func (k Keeper) BountyAll(c context.Context, req *types.QueryAllBountyRequest) (*types.QueryAllBountyResponse, error)
func (Keeper) BranchAll ¶
func (k Keeper) BranchAll(c context.Context, req *types.QueryAllBranchRequest) (*types.QueryAllBranchResponse, error)
func (Keeper) CheckGitServerAuthorization ¶
func (k Keeper) CheckGitServerAuthorization(c context.Context, req *types.QueryCheckGitServerAuthorizationRequest) (*types.QueryCheckGitServerAuthorizationResponse, error)
func (Keeper) CheckStorageProviderAuthorization ¶
func (k Keeper) CheckStorageProviderAuthorization(c context.Context, req *types.QueryCheckStorageProviderAuthorizationRequest) (*types.QueryCheckStorageProviderAuthorizationResponse, error)
func (Keeper) CommentAll ¶
func (k Keeper) CommentAll(c context.Context, req *types.QueryAllCommentRequest) (*types.QueryAllCommentResponse, error)
func (Keeper) CreateModuleAccount ¶
func (Keeper) Dao ¶
func (k Keeper) Dao(c context.Context, req *types.QueryGetDaoRequest) (*types.QueryGetDaoResponse, error)
func (Keeper) DaoAll ¶
func (k Keeper) DaoAll(c context.Context, req *types.QueryAllDaoRequest) (*types.QueryAllDaoResponse, error)
func (Keeper) DaoMember ¶
func (k Keeper) DaoMember(c context.Context, req *types.QueryGetDaoMemberRequest) (*types.QueryGetDaoMemberResponse, error)
func (Keeper) DaoMemberAll ¶
func (k Keeper) DaoMemberAll(c context.Context, req *types.QueryAllDaoMemberRequest) (*types.QueryAllDaoMemberResponse, error)
func (Keeper) ForkAll ¶
func (k Keeper) ForkAll(c context.Context, req *types.QueryGetAllForkRequest) (*types.QueryGetAllForkResponse, error)
func (Keeper) GetAddressRepository ¶
func (k Keeper) GetAddressRepository(ctx sdk.Context, address string, name string) (val types.Repository, found bool)
GetAddressRepository returns a repository by address
func (Keeper) GetAllAddressRepository ¶
GetAllAddressRepository returns all repository for address
func (Keeper) GetAllBaseRepositoryKey ¶
func (k Keeper) GetAllBaseRepositoryKey(ctx sdk.Context) (list []types.BaseRepositoryKey)
GetAllBaseRepositoryKey returns all repository
func (Keeper) GetAllBounty ¶
GetAllBounty returns all bounty
func (Keeper) GetAllBranch ¶
GetAllBranch returns all branch
func (Keeper) GetAllComment ¶
GetAllComment returns all comment
func (Keeper) GetAllDaoMember ¶
GetAllDaoMember returns all dao member
func (Keeper) GetAllDaoOwner ¶
GetDaoOwner returns all dao owner
func (Keeper) GetAllExercisedAmount ¶
func (k Keeper) GetAllExercisedAmount(ctx sdk.Context) (list []types.ExercisedAmount)
GetAllExercisedAmount returns all exercised amount
func (Keeper) GetAllIssue ¶
GetAllIssue returns all issue
func (Keeper) GetAllIssueComment ¶
func (k Keeper) GetAllIssueComment(ctx sdk.Context, repositoryId uint64, issueIid uint64) (list []types.Comment)
GetAllIssueComment returns all issue comment for repository
func (Keeper) GetAllMember ¶
GetAllMember returns all member
func (Keeper) GetAllPullRequest ¶
func (k Keeper) GetAllPullRequest(ctx sdk.Context) (list []types.PullRequest)
GetAllPullRequest returns all pullRequest
func (Keeper) GetAllPullRequestComment ¶
func (k Keeper) GetAllPullRequestComment(ctx sdk.Context, repositoryId uint64, pullRequestIid uint64) (list []types.Comment)
GetAllPullRequestComment returns all issue comment for repository
func (Keeper) GetAllRelease ¶
GetAllRelease returns all release
func (Keeper) GetAllRepository ¶
func (k Keeper) GetAllRepository(ctx sdk.Context) (list []types.Repository)
GetAllRepository returns all repository
func (Keeper) GetAllRepositoryBranch ¶
GetAllRepositoryBranch returns all branch for repository-id
func (Keeper) GetAllRepositoryIssue ¶
GetAllRepositoryIssue returns all repository issue
func (Keeper) GetAllRepositoryPullRequest ¶
func (k Keeper) GetAllRepositoryPullRequest(ctx sdk.Context, repositoryId uint64) (list []types.PullRequest)
GetAllRepositoryPullRequest returns all repository pullRequest
func (Keeper) GetAllRepositoryTag ¶
GetAllRepositoryTag returns all repository tag
func (Keeper) GetAllStorage ¶
GetAllStorage returns all Storage
func (Keeper) GetAllTask ¶
GetAllTask returns all task
func (Keeper) GetAllUser ¶
GetAllUser returns all user
func (Keeper) GetAllUserDao ¶
GetAllUserDao returns all user
func (Keeper) GetAllUserDaoEntry ¶
GetAllUserDaoEntry returns all UserDao
func (Keeper) GetAllWhois ¶
GetAllWhois returns all whois
func (Keeper) GetAuthority ¶
GetAuthority returns the x/gitopia module's authority.
func (Keeper) GetBountyCount ¶
GetBountyCount get the total number of bounty
func (Keeper) GetBranchCount ¶
GetBranchCount get the total number of branch
func (Keeper) GetCommentCount ¶
GetCommentCount get the total number of comment
func (Keeper) GetDaoCount ¶
GetDaoCount get the total number of Dao
func (Keeper) GetDaoMember ¶
func (k Keeper) GetDaoMember(ctx sdk.Context, daoAddress string, memberAddress string) (val types.Member, found bool)
GetDaoMember returns a member from its id
func (Keeper) GetExercisedAmount ¶
func (k Keeper) GetExercisedAmount(ctx sdk.Context, address string) (val types.ExercisedAmount, found bool)
GetExercisedAmount returns the exercised amount information
func (Keeper) GetExercisedAmountCount ¶
GetExercisedAmountCount get the total number of exercised amounts
func (Keeper) GetIssueComment ¶
func (k Keeper) GetIssueComment(ctx sdk.Context, repositoryId uint64, issueIid uint64, commentIid uint64) (val types.Comment, found bool)
GetIssueComment returns a comment from its id
func (Keeper) GetIssueCount ¶
GetIssueCount get the total number of issue
func (Keeper) GetMemberCount ¶
GetMemberCount get the total number of member
func (Keeper) GetParamsOfType ¶
func (Keeper) GetPullRequestComment ¶
func (k Keeper) GetPullRequestComment(ctx sdk.Context, repositoryId uint64, pullRequestIid uint64, commentIid uint64) (val types.Comment, found bool)
GetPullRequestComment returns a comment from its id
func (Keeper) GetPullRequestCount ¶
GetPullRequestCount get the total number of pullRequest
func (Keeper) GetRelease ¶
GetRelease returns a release from its id
func (Keeper) GetReleaseCount ¶
GetReleaseCount get the total number of release
func (Keeper) GetRepositoryBranch ¶
func (k Keeper) GetRepositoryBranch(ctx sdk.Context, repositoryId uint64, branch string) (val types.Branch, found bool)
GetRepositoryBranch returns a branch from its name
func (Keeper) GetRepositoryById ¶
GetRepositoryFromKey returns a repository by key
func (Keeper) GetRepositoryCount ¶
GetRepositoryCount get the total number of repository
func (Keeper) GetRepositoryFromKey ¶
func (k Keeper) GetRepositoryFromKey(ctx sdk.Context, repositoryKey []byte) (val types.Repository, found bool)
GetRepositoryFromKey returns a repository by key
func (Keeper) GetRepositoryIssue ¶
func (k Keeper) GetRepositoryIssue(ctx sdk.Context, repositoryId uint64, issueIid uint64) (val types.Issue, found bool)
GetRepositoryIssue returns a repository issue from its id
func (Keeper) GetRepositoryKeyBytesFromId ¶
func (Keeper) GetRepositoryPullRequest ¶
func (k Keeper) GetRepositoryPullRequest(ctx sdk.Context, repositoryId uint64, iid uint64) (val types.PullRequest, found bool)
GetRepositoryPullRequest returns a pullRequest from its id
func (Keeper) GetRepositoryStorage ¶
func (k Keeper) GetRepositoryStorage(ctx sdk.Context, repositoryId uint64) (val types.Storage, found bool)
GetRepositoryStorage returns a Storage from its repository id
func (Keeper) GetRepositoryTag ¶
func (k Keeper) GetRepositoryTag(ctx sdk.Context, repositoryId uint64, tag string) (val types.Tag, found bool)
GetRepositoryTag returns a tag from its name
func (Keeper) GetStorageCount ¶
GetStorageCount get the total number of storage
func (Keeper) GetTagCount ¶
GetTagCount get the total number of tag
func (Keeper) GetTaskCount ¶
GetTaskCount get the total number of task
func (Keeper) GetUserCount ¶
GetUserCount get the total number of user
func (Keeper) GetVestedProportion ¶
func (Keeper) GetWhoisCount ¶
GetWhoisCount get the total number of whois
func (Keeper) HavePermission ¶
func (k Keeper) HavePermission(ctx sdk.Context, creator string, repository types.Repository, minAllowedPermission types.RepositoryCollaborator_Permission) (havePermission bool)
func (Keeper) InflationFn ¶
func (Keeper) IssueAll ¶
func (k Keeper) IssueAll(c context.Context, req *types.QueryAllIssueRequest) (*types.QueryAllIssueResponse, error)
func (Keeper) IssueComment ¶
func (k Keeper) IssueComment(c context.Context, req *types.QueryGetIssueCommentRequest) (*types.QueryGetIssueCommentResponse, error)
func (Keeper) IssueCommentAll ¶
func (k Keeper) IssueCommentAll(c context.Context, req *types.QueryAllIssueCommentRequest) (*types.QueryAllIssueCommentResponse, error)
func (Keeper) MemberAll ¶
func (k Keeper) MemberAll(c context.Context, req *types.QueryAllMemberRequest) (*types.QueryAllMemberResponse, error)
func (Keeper) Params ¶
func (k Keeper) Params(goCtx context.Context, _ *types.QueryParamsRequest) (*types.QueryParamsResponse, error)
func (Keeper) PullRequestAll ¶
func (k Keeper) PullRequestAll(c context.Context, req *types.QueryAllPullRequestRequest) (*types.QueryAllPullRequestResponse, error)
func (Keeper) PullRequestComment ¶
func (k Keeper) PullRequestComment(c context.Context, req *types.QueryGetPullRequestCommentRequest) (*types.QueryGetPullRequestCommentResponse, error)
func (Keeper) PullRequestCommentAll ¶
func (k Keeper) PullRequestCommentAll(c context.Context, req *types.QueryAllPullRequestCommentRequest) (*types.QueryAllPullRequestCommentResponse, error)
func (Keeper) PullRequestMergePermission ¶
func (k Keeper) PullRequestMergePermission(c context.Context, req *types.QueryGetPullRequestMergePermissionRequest) (*types.QueryGetPullRequestMergePermissionResponse, error)
func (Keeper) Release ¶
func (k Keeper) Release(c context.Context, req *types.QueryGetReleaseRequest) (*types.QueryGetReleaseResponse, error)
func (Keeper) ReleaseAll ¶
func (k Keeper) ReleaseAll(c context.Context, req *types.QueryAllReleaseRequest) (*types.QueryAllReleaseResponse, error)
func (Keeper) RemoveAddressRepository ¶
RemoveAddressRepository removes a repository from the store by address
func (Keeper) RemoveBaseRepositoryKey ¶
func (Keeper) RemoveBounty ¶
RemoveBounty removes a bounty from the store
func (Keeper) RemoveDaoMember ¶
RemoveDaoMember removes a member from the store
func (Keeper) RemoveExercised ¶
RemoveExercisedAmount removes a exercised amount from the store
func (Keeper) RemoveIssueComment ¶
func (k Keeper) RemoveIssueComment(ctx sdk.Context, repositoryId uint64, issueIid uint64, commentIid uint64)
RemoveIssueComment removes a comment from the store
func (Keeper) RemovePullRequestComment ¶
func (k Keeper) RemovePullRequestComment(ctx sdk.Context, repositoryId uint64, pullRequestIid uint64, commentIid uint64)
RemovePullRequestComment removes a comment from the store
func (Keeper) RemoveRelease ¶
RemoveRelease removes a release from the store
func (Keeper) RemoveRepositoryBranch ¶
RemoveBranch removes a branch from the store
func (Keeper) RemoveRepositoryIssue ¶
RemoveRepositoryIssue removes a repository issue from the store
func (Keeper) RemoveRepositoryPullRequest ¶
RemoveRepositoryPullRequest removes a pullRequest from the store
func (Keeper) RemoveRepositoryStorage ¶
RemoveStorage removes a storage from the store
func (Keeper) RemoveRepositoryTag ¶
RemoveRepositoryTag removes a tag from the store
func (Keeper) RemoveTask ¶
RemoveTask removes a task from the store
func (Keeper) RemoveUser ¶
RemoveUser removes a user from the store
func (Keeper) RemoveWhois ¶
RemoveWhois removes a whois from the store
func (Keeper) Repository ¶
func (k Keeper) Repository(c context.Context, req *types.QueryGetRepositoryRequest) (*types.QueryGetRepositoryResponse, error)
func (Keeper) RepositoryAll ¶
func (k Keeper) RepositoryAll(c context.Context, req *types.QueryAllRepositoryRequest) (*types.QueryAllRepositoryResponse, error)
func (Keeper) RepositoryBranch ¶
func (k Keeper) RepositoryBranch(c context.Context, req *types.QueryGetRepositoryBranchRequest) (*types.QueryGetRepositoryBranchResponse, error)
func (Keeper) RepositoryBranchAll ¶
func (k Keeper) RepositoryBranchAll(c context.Context, req *types.QueryAllRepositoryBranchRequest) (*types.QueryAllRepositoryBranchResponse, error)
func (Keeper) RepositoryBranchSha ¶
func (k Keeper) RepositoryBranchSha(c context.Context, req *types.QueryGetRepositoryBranchShaRequest) (*types.QueryGetRepositoryBranchShaResponse, error)
func (Keeper) RepositoryIssue ¶
func (k Keeper) RepositoryIssue(c context.Context, req *types.QueryGetRepositoryIssueRequest) (*types.QueryGetRepositoryIssueResponse, error)
func (Keeper) RepositoryIssueAll ¶
func (k Keeper) RepositoryIssueAll(c context.Context, req *types.QueryAllRepositoryIssueRequest) (*types.QueryAllRepositoryIssueResponse, error)
func (Keeper) RepositoryPullRequest ¶
func (k Keeper) RepositoryPullRequest(c context.Context, req *types.QueryGetRepositoryPullRequestRequest) (*types.QueryGetRepositoryPullRequestResponse, error)
func (Keeper) RepositoryPullRequestAll ¶
func (k Keeper) RepositoryPullRequestAll(c context.Context, req *types.QueryAllRepositoryPullRequestRequest) (*types.QueryAllRepositoryPullRequestResponse, error)
func (Keeper) RepositoryRelease ¶
func (k Keeper) RepositoryRelease(c context.Context, req *types.QueryGetRepositoryReleaseRequest) (*types.QueryGetRepositoryReleaseResponse, error)
func (Keeper) RepositoryReleaseAll ¶
func (k Keeper) RepositoryReleaseAll(c context.Context, req *types.QueryAllRepositoryReleaseRequest) (*types.QueryAllRepositoryReleaseResponse, error)
func (Keeper) RepositoryReleaseLatest ¶
func (k Keeper) RepositoryReleaseLatest(c context.Context, req *types.QueryGetLatestRepositoryReleaseRequest) (*types.QueryGetLatestRepositoryReleaseResponse, error)
func (Keeper) RepositoryStorage ¶
func (k Keeper) RepositoryStorage(c context.Context, req *types.QueryGetRepositoryStorageRequest) (*types.QueryGetRepositoryStorageResponse, error)
func (Keeper) RepositoryTag ¶
func (k Keeper) RepositoryTag(c context.Context, req *types.QueryGetRepositoryTagRequest) (*types.QueryGetRepositoryTagResponse, error)
func (Keeper) RepositoryTagAll ¶
func (k Keeper) RepositoryTagAll(c context.Context, req *types.QueryAllRepositoryTagRequest) (*types.QueryAllRepositoryTagResponse, error)
func (Keeper) RepositoryTagSha ¶
func (k Keeper) RepositoryTagSha(c context.Context, req *types.QueryGetRepositoryTagShaRequest) (*types.QueryGetRepositoryTagShaResponse, error)
func (Keeper) ResolveAddress ¶
Checks if username or address is valid and exists. Also identify its type (USER/DAO).
func (Keeper) SetBaseRepositoryKey ¶
func (k Keeper) SetBaseRepositoryKey( ctx sdk.Context, repositoryKey types.BaseRepositoryKey, )
func (Keeper) SetBountyCount ¶
SetBountyCount set the total number of bounty
func (Keeper) SetBranchCount ¶
SetBranchCount set the total number of branch
func (Keeper) SetComment ¶
SetComment set a specific comment in the store
func (Keeper) SetCommentCount ¶
SetCommentCount set the total number of comment
func (Keeper) SetDaoCount ¶
SetDaoCount set the total number of Dao
func (Keeper) SetExercisedAmount ¶
func (k Keeper) SetExercisedAmount(ctx sdk.Context, exercisedAmount types.ExercisedAmount)
SetExercisedAmount set a specific exercised amount in the store
func (Keeper) SetExercisedAmountCount ¶
SetExercisedAmountCount set the total number of exercised amount
func (Keeper) SetIssueCount ¶
SetIssueCount set the total number of issue
func (Keeper) SetMemberCount ¶
SetMemberCount set the total number of member
func (Keeper) SetPullRequest ¶
func (k Keeper) SetPullRequest(ctx sdk.Context, pullRequest types.PullRequest)
SetPullRequest set a specific pullRequest in the store
func (Keeper) SetPullRequestCount ¶
SetPullRequestCount set the total number of pullRequest
func (Keeper) SetRelease ¶
SetRelease set a specific release in the store
func (Keeper) SetReleaseCount ¶
SetReleaseCount set the total number of release
func (Keeper) SetRepository ¶
func (k Keeper) SetRepository(ctx sdk.Context, repository types.Repository)
SetRepository set a specific repository in the store
func (Keeper) SetRepositoryBranch ¶
SetBranch set a specific branch in the store for repository-id
func (Keeper) SetRepositoryCount ¶
SetRepositoryCount set the total number of repository
func (Keeper) SetRepositoryStorage ¶
SetStorage set a specific storage in the store for repository-id
func (Keeper) SetRepositoryTag ¶
SetTag set a specific tag in the store
func (Keeper) SetStorageCount ¶
SetStorageCount set the total number of storage
func (Keeper) SetTagCount ¶
SetTagCount set the total number of tag
func (Keeper) SetTaskCount ¶
SetTaskCount set the total number of task
func (Keeper) SetUserCount ¶
SetUserCount set the total number of user
func (Keeper) SetWhoisCount ¶
SetWhoisCount set the total number of whois
func (Keeper) TagAll ¶
func (k Keeper) TagAll(c context.Context, req *types.QueryAllTagRequest) (*types.QueryAllTagResponse, error)
func (Keeper) Task ¶
func (k Keeper) Task(c context.Context, req *types.QueryGetTaskRequest) (*types.QueryGetTaskResponse, error)
func (Keeper) TaskAll ¶
func (k Keeper) TaskAll(c context.Context, req *types.QueryAllTaskRequest) (*types.QueryAllTaskResponse, error)
func (Keeper) TokenDistribution ¶
func (Keeper) TransferProportion ¶
func (Keeper) User ¶
func (k Keeper) User(c context.Context, req *types.QueryGetUserRequest) (*types.QueryGetUserResponse, error)
func (Keeper) UserAll ¶
func (k Keeper) UserAll(c context.Context, req *types.QueryAllUserRequest) (*types.QueryAllUserResponse, error)
func (Keeper) UserDaoAll ¶
func (k Keeper) UserDaoAll(c context.Context, req *types.QueryAllUserDaoRequest) (*types.QueryAllUserDaoResponse, error)
func (Keeper) VestedAmount ¶
func (k Keeper) VestedAmount(c context.Context, req *types.QueryVestedAmountRequest) (*types.QueryVestedAmountResponse, error)
func (Keeper) Whois ¶
func (k Keeper) Whois(c context.Context, req *types.QueryGetWhoisRequest) (*types.QueryGetWhoisResponse, error)
func (Keeper) WhoisAll ¶
func (k Keeper) WhoisAll(c context.Context, req *types.QueryAllWhoisRequest) (*types.QueryAllWhoisResponse, error)
type WhoisAddress ¶
Source Files ¶
- abci.go
- accounts_helper.go
- bounty.go
- branch.go
- comment.go
- dao.go
- exercised_amount.go
- genesis.go
- grpc_query.go
- grpc_query_bounty.go
- grpc_query_branch.go
- grpc_query_comment.go
- grpc_query_dao.go
- grpc_query_issue.go
- grpc_query_member.go
- grpc_query_params.go
- grpc_query_provider.go
- grpc_query_pullRequest.go
- grpc_query_release.go
- grpc_query_repository.go
- grpc_query_repository_storage.go
- grpc_query_tag.go
- grpc_query_task.go
- grpc_query_team_vesting.go
- grpc_query_user.go
- grpc_query_whois.go
- inflation.go
- issue.go
- keeper.go
- member.go
- msg_server.go
- msg_server_bounty.go
- msg_server_branch.go
- msg_server_comment.go
- msg_server_dao.go
- msg_server_exercise.go
- msg_server_issue.go
- msg_server_member.go
- msg_server_params.go
- msg_server_platform_incentives.go
- msg_server_provider.go
- msg_server_pullRequest.go
- msg_server_release.go
- msg_server_repository.go
- msg_server_repository_backup.go
- msg_server_tag.go
- msg_server_task.go
- msg_server_user.go
- msg_server_whois.go
- params.go
- permission.go
- pullRequest.go
- release.go
- repository.go
- storage.go
- tag.go
- task.go
- user.go
- util_provider.go
- util_team_vesting.go
- whois.go