Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,113 changes: 4,113 additions & 0 deletions contracts/syndote/app/out.txt

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions contracts/syndote/app/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

use sails_rs::prelude::*;
pub mod services;
use services::game::GameService;
use services::game::{Config, GameService};
pub struct Program(());

#[program]
impl Program {
pub async fn new(dns_id_and_name: Option<(ActorId, String)>) -> Self {
GameService::init(dns_id_and_name).await;
pub async fn new(config: Config, dns_id_and_name: Option<(ActorId, String)>) -> Self {
GameService::init(config, dns_id_and_name).await;
Self(())
}

Expand Down
Loading