MCPcopy Create free account

hub / github.com/Modulus-Labs/RockyBot / functions

Functions224 in github.com/Modulus-Labs/RockyBot

↓ 19 callersMethodconnect
(signerOrProvider: Signer | Provider | string)
front-end/src/typechain-types/@openzeppelin/contracts/access/Ownable.ts:80
↓ 15 callersFunctionget_help_string
(desc, choices=None, default=None)
pytorch-model/opts.py:6
↓ 9 callersMethodcurrentAmountUSDC
(overrides?: CallOverrides)
front-end/src/typechain-types/contracts/RockafellerBotL1.sol/RockafellerBotL1.ts:286
↓ 7 callersMethodbalanceOf
( account: PromiseOrValue<string>, overrides?: CallOverrides )
front-end/src/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts:197
↓ 7 callersFunctionget_flattened_arr
(arr)
ContractStarter/start_contract.py:48
↓ 7 callersMethodget_output_dim
(self)
pytorch-model/datasets.py:324
↓ 5 callersMethodapprove
( spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
front-end/src/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts:191
↓ 5 callersMethodcurrentAmountWEth
(overrides?: CallOverrides)
front-end/src/typechain-types/contracts/RockafellerBotL1.sol/RockafellerBotL1.ts:288
↓ 5 callersMethodget_input_dim
(self)
pytorch-model/datasets.py:321
↓ 5 callersFunctionopenModalWithOptions
(text: string, canDismiss: boolean)
front-end/src/App.tsx:229
↓ 4 callersMethod__init__
(self, dataset_ref, h1_dim=64, h2_dim=64)
pytorch-model/models.py:12
↓ 4 callersMethodaddFunds
( tokenType: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, overrides?: Overr
front-end/src/typechain-types/contracts/RockafellerBotL1.sol/RockafellerBotL1.ts:280
↓ 4 callersFunctionconvertToHumanUnits
(nativeAmount: number, tokenType: DonationToken)
front-end/src/util/utils.ts:26
↓ 3 callersFunctiongetTokensQueryPerDay
(token_address: String, starttime: number, endtime: number)
DataAquisition/scripts/get_token_price.ts:101
↓ 3 callersFunctionget_weights
Gets reweighting for loss function while training multi-class classifier.
pytorch-model/datasets.py:11
↓ 3 callersFunctionpreprocess_data
> Cuts BTC prices in the future from features > Creates new label column (i.e. price from 1 hour later)
pytorch-model/process_dataset.py:60
↓ 3 callersMethodreceiveInstruction
( instruction: PromiseOrValue<BigNumberish>, amount: PromiseOrValue<BigNumberish>, overrides?: Ove
front-end/src/typechain-types/contracts/RockafellerBotL1.sol/RockafellerBotL1.ts:296
↓ 3 callersFunctionroundNumber
(num: number, decimals: number = 2)
front-end/src/util/utils.ts:12
↓ 3 callersFunctiontruncateAddr
(addr: string, length: number = 10)
front-end/src/util/utils.ts:16
↓ 3 callersMethodwithdrawl
( amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> } )
front-end/src/typechain-types/contracts/RockafellerBotL1.sol/RockafellerBotL1.ts:324
↓ 2 callersMethodconnect
(signer: Signer)
front-end/src/typechain-types/factories/contracts/RockafellerBotL1.sol/RockafellerBotL1__factory.ts:372
↓ 2 callersFunctiondecimalRound
(d: number)
front-end/src/sample_data.ts:100
↓ 2 callersMethoddeploy
( _l2ContractAddress: PromiseOrValue<BigNumberish>, _swapRouter: PromiseOrValue<string>, _starknet
front-end/src/typechain-types/factories/contracts/RockafellerBotL1.sol/RockafellerBotL1__factory.ts:335
↓ 2 callersMethoddeployed
()
front-end/src/typechain-types/@openzeppelin/contracts/access/Ownable.ts:82
↓ 2 callersMethodqueryFilter
( event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: s
front-end/src/typechain-types/@openzeppelin/contracts/access/Ownable.ts:86
↓ 2 callersFunctionsave_train_stats
Save train stats
pytorch-model/classification_train.py:159
↓ 2 callersFunctionsave_train_stats
Save train stats
pytorch-model/regression_train.py:157
↓ 1 callersMethodattach
(addressOrName: string)
front-end/src/typechain-types/@openzeppelin/contracts/access/Ownable.ts:81
↓ 1 callersFunctionconnectWallet
()
front-end/src/util/interact.ts:130
↓ 1 callersFunctiondonateToRocky
( tokenType: DonationToken, amount: number, openModalFn: (text: string, canDismiss: boolean) => void)
front-end/src/util/interact.ts:33
↓ 1 callersFunctioneval_model
Evaluates model over validation set.
pytorch-model/classification_train.py:70
↓ 1 callersFunctioneval_model
Evaluates model over validation set.
pytorch-model/regression_eval.py:23
↓ 1 callersFunctioneval_model
Evaluates model over validation set.
pytorch-model/regression_train.py:69
↓ 1 callersFunctioneval_model
Evaluates model over validation set.
pytorch-model/classification_eval.py:38
↓ 1 callersFunctiongetNumDaysSince
(fromDate: Date, toDate: Date)
front-end/src/util/utils.ts:34
↓ 1 callersFunctiongetShortDateRepr
(date: Date)
front-end/src/util/utils.ts:30
↓ 1 callersFunctiongetShorthandTimeIntervalString
( oldTime: Date, negate: boolean )
front-end/src/util/utils.ts:39
↓ 1 callersFunctiongetTokensQuery
(token_name: string, token_address: string, startdate: Date, enddate: Date)
DataAquisition/scripts/get_token_price.ts:121
↓ 1 callersFunctionget_cairo_command
(contract_addr, abi_filepath, fn_name, args=
ContractStarter/start_contract.py:38
↓ 1 callersMethodget_weights
(self)
pytorch-model/datasets.py:318
↓ 1 callersFunctionhandler
()
ContractStarter/run_l1_contract.ts:29
↓ 1 callersFunctionhandler
(event, context)
ContractStarter/start_contract.py:126
↓ 1 callersFunctionhandler
()
ContractStarter/get_contract_data.ts:29
↓ 1 callersFunctionhandler
()
FirebaseScripts/scripts/read_events.ts:44
↓ 1 callersFunctionisSuperArgs
( xs: RockafellerBotL1ConstructorParams )
front-end/src/typechain-types/factories/contracts/RockafellerBotL1.sol/RockafellerBotL1__factory.ts:322
↓ 1 callersMethodl2ContractAddress
(overrides?: CallOverrides)
front-end/src/typechain-types/contracts/RockafellerBotL1.sol/RockafellerBotL1.ts:290
↓ 1 callersFunctionloadActionData
()
front-end/src/App.tsx:135
↓ 1 callersFunctionloadDonationData
()
front-end/src/App.tsx:91
↓ 1 callersFunctionloadNetWorth
()
front-end/src/App.tsx:165
↓ 1 callersFunctionmain
()
L1Contract/scripts/deploy.ts:6
↓ 1 callersFunctionmain
()
L1Contract/scripts/add_funds.ts:11
↓ 1 callersFunctionmain
()
L1Contract/scripts/change_l2_address.ts:8
↓ 1 callersFunctionmain
()
L1Contract/scripts/withdraw.ts:6
↓ 1 callersFunctionmain
()
L1Contract/scripts/make_trade_from_l2instruction.ts:8
↓ 1 callersFunctionmain
()
pytorch-model/classification_train.py:178
↓ 1 callersFunctionmain
()
pytorch-model/regression_eval.py:92
↓ 1 callersFunctionmain
()
pytorch-model/regression_train.py:176
↓ 1 callersFunctionmain
()
pytorch-model/classification_eval.py:105
↓ 1 callersMethodowner
(overrides?: CallOverrides)
front-end/src/typechain-types/@openzeppelin/contracts/access/Ownable.ts:118
↓ 1 callersFunctionprocess_playground_task
Subject to change -- Ryan will mess with this until it works. Previously1: Classification task for {sparse, dense}-loss LSTM Previou
pytorch-model/process_dataset.py:167
↓ 1 callersFunctionprocess_save_data
(train_features, train_labels, val_features,
pytorch-model/process_dataset.py:423
↓ 1 callersFunctionread_data_from_csv
()
pytorch-model/process_dataset.py:9
↓ 1 callersFunctionread_most_recent_data_file
Reads most recent match file (sorts by timestamp). Assumes at least one valid file exists in `jsonPrices/` dir.
ContractStarter/start_contract.py:16
↓ 1 callersFunctionreportWebVitals
(onPerfEntry?: ReportHandler)
front-end/src/reportWebVitals.ts:3
↓ 1 callersFunctiontest_trading_bot_three_layer_nn
x_data_ptr_len : felt, x_data_ptr : felt*, a_num_rows : felt, a_num_cols : felt, a_data_ptr_len : felt, a_data_ptr : felt*,
ContractStarter/start_contract.py:51
↓ 1 callersFunctiontrain
Trains and evaluates model.
pytorch-model/classification_train.py:112
↓ 1 callersFunctiontrain
Trains and evaluates model.
pytorch-model/regression_train.py:110
↓ 1 callersFunctiontrain_one_epoch
(model, train_dataloader, criterion, opt, args)
pytorch-model/classification_train.py:25
↓ 1 callersFunctiontrain_one_epoch
(model, train_dataloader, criterion, opt, args)
pytorch-model/regression_train.py:25
↓ 1 callersMethodtransfer
( to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from
front-end/src/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts:204
↓ 1 callersMethodtransferFrom
( from: PromiseOrValue<string>, to: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>,
front-end/src/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts:210
↓ 1 callersMethodupdateL2Contract
( _l2ContractAddress: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<st
front-end/src/typechain-types/contracts/RockafellerBotL1.sol/RockafellerBotL1.ts:315
↓ 1 callersFunctionupdate_confusion_matrix
Updates the given confusion matrix. Assumes that y_true and y_pred have dimensions (B, C) if RNN, else just (C,) if feedforward model.
pytorch-model/classification_eval.py:21
FunctionActionContributionListItem
({ actionText, dataText, isAction }: ActionContributionListData)
front-end/src/App.tsx:33
FunctionApp
()
front-end/src/App.tsx:46
FunctionModalComponent
()
front-end/src/App.tsx:235
FunctionRenderActionContributionList
(contributionActionListProps: RenderActionContributionListProps)
front-end/src/App.tsx:214
Method__getitem__
(self, idx)
pytorch-model/datasets.py:66
Method__getitem__
(self, idx)
pytorch-model/datasets.py:115
Method__getitem__
(self, idx)
pytorch-model/datasets.py:164
Method__getitem__
(self, idx)
pytorch-model/datasets.py:218
Method__getitem__
(self, idx)
pytorch-model/datasets.py:273
Method__getitem__
(self, idx)
pytorch-model/datasets.py:327
Method__init__
(self, dataset_ref, h1_dim=128, h2_dim=128, h3_dim=128, h4_dim=128)
pytorch-model/models.py:45
Method__init__
(self, dataset_ref, h1_dim=128, h2_dim=64)
pytorch-model/models.py:78
Method__init__
(self, dataset_ref, h1_dim=128, h2_dim=256, h3_dim=256, h4_dim=128)
pytorch-model/models.py:105
Method__init__
(self, dataset_ref, c_dim=256)
pytorch-model/models.py:149
Method__init__
(self, mode)
pytorch-model/datasets.py:28
Method__init__
(self, mode)
pytorch-model/datasets.py:77
Method__init__
(self, mode)
pytorch-model/datasets.py:126
Method__init__
(self, mode)
pytorch-model/datasets.py:175
Method__init__
(self, mode)
pytorch-model/datasets.py:230
Method__init__
(self, mode)
pytorch-model/datasets.py:284
Method__len__
(self)
pytorch-model/datasets.py:69
Method__len__
(self)
pytorch-model/datasets.py:118
Method__len__
(self)
pytorch-model/datasets.py:167
Method__len__
(self)
pytorch-model/datasets.py:221
Method__len__
(self)
pytorch-model/datasets.py:276
Method__len__
(self)
pytorch-model/datasets.py:330
Methodallowance
( owner: PromiseOrValue<string>, spender: PromiseOrValue<string>, overrides?: CallOverrides )
front-end/src/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts:185
next →1–100 of 224, ranked by callers