Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ted dev #1

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Ted dev #1

wants to merge 3 commits into from

Conversation

tlccstudio
Copy link

Create a 2nd branch and I can pull to that.

//code to delete old account
auto idx_Account = accountsTable.get_index<"byrelevant"_n>();
auto itr_Scnd_Account = idx_Account.end();
itr_Scnd_Account--;
Copy link
Author

@tlccstudio tlccstudio Jan 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs testing that it is pulling from the correct end of the sort.

Pretty sure this works conceptually.

@@ -759,3 +815,24 @@ EterniSVM::NftSupplyItr EterniSVM::getNftSupplyItr (const Name &contract) {
Bool EterniSVM::checkTokenContract (Name name) {
return name == EOSIO_TOKEN || name == ETERNITAS_TOKEN || name == "lptkns.swaps"_n;
}

vector<Uint16> EterniSVM::updateThrottle(Uint32 currentSecond, Uint32 lastUpdate, vector<Uint16> throttle, Uint16 maxPerHour) {

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant